The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 27 posts ] 
Author Message
PostPosted: Wed Nov 25, 2009 7:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Mon Aug 03, 2009 7:36 pm
Posts: 25
I just installed Ozio 2.2 and it appears to have installed just fine. The problem is that I don't see any photos. I created a directory /oziogallery2 user the media folder off of root. I created a menu item and published it. The Ozio control shows up but none of the jpgs in that folder.

I am running on a local host. Would that make a difference?


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 7:37 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
same problem here - I did notice that adding the www. before the domain name makes a difference.

example www.domain.com works while domain.com doesn't. Unfortuately it seems to vary.

Did you get it figured out?

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 7:48 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Feb 18, 2006 8:19 am
Posts: 247
Location: Santa Monica, CA
let's see a link, maybe we can identify the problem, I am sure it is something simple, Ozio is pretty simple, try changing the type.

_________________
Mike Hamanaka
Community Site Showcase Moderator
http://www.vertualize.com Extension Management Consulting
http://www.rochen.com Support Technician at Rochen Host
San Diego, California, USA


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 8:10 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
Glad you liked the site for the forum. Much thanks for the fast approval. Unfortuneately, this is the site where I'm having the ozio issue. Check it out

http://www.cristinascarborough.com or http://cristinascarborough.com

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 8:13 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
What do you mean by type?

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 8:18 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Feb 18, 2006 8:19 am
Posts: 247
Location: Santa Monica, CA
I'm sorry, the images show up for me.

Be more speciifc on what the issue is.

I am responding to creativesights, not tlaw the original thread author.

_________________
Mike Hamanaka
Community Site Showcase Moderator
http://www.vertualize.com Extension Management Consulting
http://www.rochen.com Support Technician at Rochen Host
San Diego, California, USA


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 2:17 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
I guess that's a good thing, but for me they show up when I go to http://www.cristinascarborough.com - no problem.

Problem comes when I go to the alternate address (without the www) http://cristinascarborough.com i get a gallery with empty grey boxes.

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 7:17 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
Alright so I have a band-aid fix in place.

when you write or reset the xml file for the menu item, it assigns absolute paths in the xml file to each image in the appropriate image folder. So to fix it for now, in the com_oziogallery2/skin/flashgallery/xml folder edit the flashgallery_Gallery file and change the absolute paths to relative paths.

To further illustrate: change http://www.domain.com/images/oziogallery/picture001.jpg to /images/oziogallery/picture001.jpg.

Now the next step is to figure out what's writing the xml file that way and fix it. Help still welcome here.

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 9:10 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Feb 18, 2006 8:19 am
Posts: 247
Location: Santa Monica, CA
yes that is a good fix, also will keep things running fast.

Otherwise I was going to say, maybe you built the website too fast. I have also had that in the first day that I have built and published websites.

Yes that would be good to know what writes the XML code and tell it to write everything but the domain url.

On this website though, will you really be changing pictures or making change too often?

I would suggest that you spend 30 minutes to an hour and see if you can have the same or similar visual appearance without using flash (sorry Adobe) either with a different extension, or just with some fancy scripting.

_________________
Mike Hamanaka
Community Site Showcase Moderator
http://www.vertualize.com Extension Management Consulting
http://www.rochen.com Support Technician at Rochen Host
San Diego, California, USA


Top
 Profile  
 
PostPosted: Thu Dec 31, 2009 9:37 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
The big feature here for the client is the ability for her to add pictures herself as she wants to each time she finishes a project. I think we'll move eventually project menu where each project has it's own gallery.

Your suggestion isn't a bad idea. I'd have to brush up on my scripting skills, but it could pay off.

Thanks again!

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Wed Jan 06, 2010 5:15 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 06, 2010 5:02 pm
Posts: 5
Location: Duesseldorf, Germany
I've had the same problem and was able to fix it. I did it only with flashgallery, but it should work for all the other types as well. You just have to replace the folder's name (instead of flashgallery):

1) go from root into /components/com_oziogallery2/views/02flashgallery
2) there is the file view.html.php which writes the .xml file with the absolute paths that causes our problem
3) transfer this to your hard disk and edit it the following way:
4) in lines 120-122 you have to delete the absolute path variable $VAMBpathAssoluto, so that it looks like this:

$path = $folder . '/';
$dir_images = $folder . '/';
$dir_files = 'images/oziogallery2' . '/';

[It could look slightly different and the line numbers could differ for other gallery types]

5) Save your view.html.php and upload it again to your webspace (to be safe: rename the old file to "view.html_old.php")
6) Reset xml file(s) in the backend for your galleries
7) check whether the folder /components/com_oziogallery2/skin/flashgallery/xml does not contain any .xml file
8 ) log in into the frontend and go to your gallery
9) now everything is fine, with "www" or without it
10) for fun, check the new .xml file in the folder above: you will see that all the pictures are now listed with relative paths

I hope this saved some of you some time ;)

P.S.: Please let me know if those changed lines could cause new trouble, for example when adding new subfolders for more galleries. I haven't checked that yet...


Top
 Profile  
 
PostPosted: Mon Jan 11, 2010 7:30 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
Much appreciated - I've been on vacation so I'll check that out today.

Curious - why do you think the authors would be so specific with an absolute path setting like that?

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Mon Jan 11, 2010 7:55 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 06, 2010 5:02 pm
Posts: 5
Location: Duesseldorf, Germany
This is indeed a good question...
Anyhow, I've just uploaded some pictures into a new folder and created a new gallery to test whether my changes affect this in any way. Since the view.html.php file creates a separate .xml file for each gallery (you should have separate subfolders in /images/oziogallery2 as well) the relative paths to the image files don't seem to cause any problems.


Top
 Profile  
 
PostPosted: Mon Jan 18, 2010 6:17 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
worked perfectly for me. Much thanks!

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Mon Jan 18, 2010 6:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 06, 2010 5:02 pm
Posts: 5
Location: Duesseldorf, Germany
You're welcome! Without the other pieces of information I found here I wouldn't have been able to fix it anyhow...


Top
 Profile  
 
PostPosted: Tue Feb 02, 2010 12:23 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Feb 02, 2010 12:05 am
Posts: 2
I have a similar problem in which the photos all show up but the scrolling thumbnails at the bottom of the viewer don't show the picture in the preview. By thumbnails I don't mean the _thumg.jpg images in each subfolder that are used as the picture for each gallery, I mean the small photos at the bottom during the slideshow. All that shows is a number for each photo in ascending order and a blue box.

I tried changing some of the preferences in the xml file but nothing seems to fix it... Please advise! Thanks!


Top
 Profile  
 
PostPosted: Tue Feb 02, 2010 6:00 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 06, 2010 5:02 pm
Posts: 5
Location: Duesseldorf, Germany
I haven't heard of that problem yet. Just a few questions: Have you tried to delete the gallery you have created and then create it again? Have you resetted the .xml? Have you deleted/emptied the cache (of component and browser)? Do you use the Flickr method? If so, try it with the other method first.


Top
 Profile  
 
PostPosted: Tue Feb 02, 2010 8:16 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Feb 02, 2010 12:05 am
Posts: 2
I have tried deleting and recreating the gallery and resetting the xml with no success. I don't use the Flickr method because I am using the Imagin skin.

I just recently got a reply from the author of the module and they said that I need to ensure that I have given chmod777 to all the folders so I will try that.


Top
 Profile  
 
PostPosted: Tue Feb 02, 2010 9:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 06, 2010 5:02 pm
Posts: 5
Location: Duesseldorf, Germany
CHMOD 777 for all the folders? I wouldn't feel so comfortable with that, since from what I have read about 777 I guess it could cause security issues (hacks) if you applied it to all your Joomla folders-> cf. http://forum.joomla.org/viewtopic.php?f=267&t=25853


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 7:02 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 20, 2009 11:19 pm
Posts: 47
My current view.html.php file looks like this:

-------------------
if( $flickr == 0 ) :
jimport('joomla.filesystem.file');
// creazione file xml al volo
$VAMBpathAssoluto = str_replace("\\", "/" , $VAMBpathAssoluto);

$path = $VAMBpathAssoluto .'/'. $folder . '/';
$dir_images = rtrim(JURI::root() . $folder . '/') ;
$dir_files = rtrim(JURI::root() . 'images/oziogallery2') . '/';
----------------

So I changed it to the following based on previous suggestion but am getting syntax errors when displaying the gallery:

------------------
if( $flickr == 0 ) :
jimport('joomla.filesystem.file');
// creazione file xml al volo
$VAMBpathAssoluto = str_replace("\\", "/" , $VAMBpathAssoluto);
$path = $folder . '/';
$dir_images = $folder . '/') ;
$dir_files = 'images/oziogallery2' . '/';

----------------------------------

I also tried the following and still got syntax error:

----------------------------
if( $flickr == 0 ) :
jimport('joomla.filesystem.file');
// creazione file xml al volo
$path = $folder . '/';
$dir_images = $folder . '/') ;
$dir_files = 'images/oziogallery2' . '/';
-----------------------------------------

Please help me get the correct syntax figured out.


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 7:31 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
In the time since I used on this I've worked with several different SEO teams on different projects and now as a general practice, set the canonical to reflect either www or not.

more about this in an article here: http://www.mattfarina.com/2007/07/24/ww ... o-question

Short version add the following code to your htaccess file.

RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.example\.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]

This should remove the variation between the two sets in the front end of the website.

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 7:58 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Oct 20, 2009 11:19 pm
Posts: 47
Awesome - I went the no-WWW route and it works perfectly. Great solution and only 1 place to change.

Thank you.


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 10:57 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Tue Jan 13, 2009 11:50 pm
Posts: 501
Location: San Diego, California, USA
Glad to help!

_________________
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
http://www.creativesights.com


Top
 Profile  
 
PostPosted: Fri Apr 29, 2011 12:46 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Apr 29, 2011 12:41 pm
Posts: 2
Wondeful set of directions Matt5. This solution fixed a domain that had parked domains that were erroring out (grayed out blank images) within the oziogallery frontend when accessed thru a the parked domain .
After editing the file you mentioned I then went to the main ozio gallery component interface and reset the global xml doc.

Done. :)

thanks again.


Top
 Profile  
 
PostPosted: Fri Feb 17, 2012 11:15 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Nov 20, 2007 11:05 am
Posts: 129
Location: Greece
Hello dear friends,
We developed a website with four oziogallery - cooliris albumes like one here: http://www.jerotech.eu/laminate/laminate-floors-premium

The problem is that when we RESET XML, everything is working fine, but after few minutes, the images are not displaying. What solution do you suggest?

Should I follow mattfive's post?

Thank you

_________________
My love is music :-)
Free server monitor at:
http://www.serverdesk.eu


Top
 Profile  
 
PostPosted: Wed Feb 22, 2012 10:43 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Nov 20, 2007 11:05 am
Posts: 129
Location: Greece
We finally fixed that by setting the code in .htaccess in order to work fine both in jerotech.eu and www.jerotech.eu

Thanks ;)

_________________
My love is music :-)
Free server monitor at:
http://www.serverdesk.eu


Top
 Profile  
 
PostPosted: Thu Mar 08, 2012 11:32 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Nov 20, 2007 11:05 am
Posts: 129
Location: Greece
Yes it is working fine right now. Thank you for your support.

_________________
My love is music :-)
Free server monitor at:
http://www.serverdesk.eu


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 27 posts ] 



Who is online

Users browsing this forum: Exabot [Bot], Joshhype and 27 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group