Ozio not displaying photos

This forum is for general questions about extensions for Joomla! version 1.5.x.

Moderator: General Support Moderators

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.
Locked
tlawson84005
Joomla! Apprentice
Joomla! Apprentice
Posts: 25
Joined: Mon Aug 03, 2009 7:36 pm

Ozio not displaying photos

Post by tlawson84005 » Wed Nov 25, 2009 7:45 pm

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?

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Thu Dec 31, 2009 7:37 am

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
https://www.creativesights.com

User avatar
hamanaka
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 249
Joined: Sat Feb 18, 2006 8:19 am
Location: Santa Monica, CA
Contact:

Re: Ozio not displaying photos

Post by hamanaka » Thu Dec 31, 2009 7:48 am

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
http://www.vertualize.com Joomla! Management Consulting
San Diego, California, USA

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Thu Dec 31, 2009 8:10 am

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
https://www.creativesights.com

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Thu Dec 31, 2009 8:13 am

What do you mean by type?
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
https://www.creativesights.com

User avatar
hamanaka
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 249
Joined: Sat Feb 18, 2006 8:19 am
Location: Santa Monica, CA
Contact:

Re: Ozio not displaying photos

Post by hamanaka » Thu Dec 31, 2009 8:18 am

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
http://www.vertualize.com Joomla! Management Consulting
San Diego, California, USA

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Thu Dec 31, 2009 2:17 pm

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
https://www.creativesights.com

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Thu Dec 31, 2009 7:17 pm

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
https://www.creativesights.com

User avatar
hamanaka
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 249
Joined: Sat Feb 18, 2006 8:19 am
Location: Santa Monica, CA
Contact:

Re: Ozio not displaying photos

Post by hamanaka » Thu Dec 31, 2009 9:10 pm

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
http://www.vertualize.com Joomla! Management Consulting
San Diego, California, USA

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Thu Dec 31, 2009 9:37 pm

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
https://www.creativesights.com

mattfive
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 5:02 pm
Location: Duesseldorf, Germany

Re: Ozio not displaying photos

Post by mattfive » Wed Jan 06, 2010 5:15 pm

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...

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Mon Jan 11, 2010 7:30 pm

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
https://www.creativesights.com

mattfive
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 5:02 pm
Location: Duesseldorf, Germany

Re: Ozio not displaying photos

Post by mattfive » Mon Jan 11, 2010 7:55 pm

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.

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Mon Jan 18, 2010 6:17 pm

worked perfectly for me. Much thanks!
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
https://www.creativesights.com

mattfive
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 5:02 pm
Location: Duesseldorf, Germany

Re: Ozio not displaying photos

Post by mattfive » Mon Jan 18, 2010 6:38 pm

You're welcome! Without the other pieces of information I found here I wouldn't have been able to fix it anyhow...

alanuzga1
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Feb 02, 2010 12:05 am

Re: Ozio not displaying photos

Post by alanuzga1 » Tue Feb 02, 2010 12:23 am

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!

mattfive
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 5:02 pm
Location: Duesseldorf, Germany

Re: Ozio not displaying photos

Post by mattfive » Tue Feb 02, 2010 6:00 am

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.

alanuzga1
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Feb 02, 2010 12:05 am

Re: Ozio not displaying photos

Post by alanuzga1 » Tue Feb 02, 2010 8:16 pm

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.

mattfive
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Wed Jan 06, 2010 5:02 pm
Location: Duesseldorf, Germany

Re: Ozio not displaying photos

Post by mattfive » Tue Feb 02, 2010 9:31 pm

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

daalouw
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Tue Oct 20, 2009 11:19 pm

Re: Ozio not displaying photos

Post by daalouw » Wed Feb 09, 2011 7:02 pm

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.

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Wed Feb 09, 2011 7:31 pm

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
https://www.creativesights.com

daalouw
Joomla! Apprentice
Joomla! Apprentice
Posts: 47
Joined: Tue Oct 20, 2009 11:19 pm

Re: Ozio not displaying photos

Post by daalouw » Wed Feb 09, 2011 7:58 pm

Awesome - I went the no-WWW route and it works perfectly. Great solution and only 1 place to change.

Thank you.

User avatar
creativesights
Joomla! Guru
Joomla! Guru
Posts: 642
Joined: Tue Jan 13, 2009 11:50 pm
Location: San Diego, California, USA
Contact:

Re: Ozio not displaying photos

Post by creativesights » Wed Feb 09, 2011 10:57 pm

Glad to help!
Andrew Crossan
CreativeSights
Professional Custom Website Design & Development in San Diego
https://www.creativesights.com

mpanessa
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Fri Apr 29, 2011 12:41 pm

Re: Ozio not displaying photos

Post by mpanessa » Fri Apr 29, 2011 12:46 pm

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.

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: Ozio not displaying photos

Post by changlee » Fri Feb 17, 2012 11:15 pm

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
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: Ozio not displaying photos

Post by changlee » Wed Feb 22, 2012 10:43 am

We finally fixed that by setting the code in .htaccess in order to work fine both in jerotech.eu and www.jerotech.eu

Thanks ;)
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com

User avatar
changlee
Joomla! Explorer
Joomla! Explorer
Posts: 470
Joined: Tue Nov 20, 2007 11:05 am
Location: Greece
Contact:

Re: Ozio not displaying photos

Post by changlee » Thu Mar 08, 2012 11:32 am

Yes it is working fine right now. Thank you for your support.
If you do not programm your life, someone else will do it for you.
SMTP Newsletter APP: https://www.emailbat.com


Locked

Return to “Extensions for Joomla! 1.5”