Jump to content

Help with Saurdo Gallery / Lightbox


RhysAndrews

Recommended Posts

Hey guys

I'm trying to create a user login system, where photos are uploaded for users and can be looked at via the free Saurdo Gallery (it's based on lightbox). I've used the gallery before, it works fine usually.

 

However, when I set the gallery_address variable (this is where it looks for photos / subdirectories) and include a session variable value, it detects the files and shows the correct directory, but it doesn't display the thumbnails or the full-sized image on the page, it just shows a 0x0 image. This is the galllery_address variable's value:

 

$gallery_address = "/userdata/".md5($_SESSION['email'])."/";

 

If I change it to a fixed address (such as "/userdata/poop/") everything works fine. What could be the problem?

 

Thanks in advance!

-Rhys

Link to comment
https://forums.phpfreaks.com/topic/140454-help-with-saurdo-gallery-lightbox/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.