RhysAndrews Posted January 12, 2009 Share Posted January 12, 2009 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 More sharing options...
unrelenting Posted January 12, 2009 Share Posted January 12, 2009 Did you try it with single quotes? $gallery_address = "/userdata/'.md5($_SESSION['email']).'/"; Link to comment https://forums.phpfreaks.com/topic/140454-help-with-saurdo-gallery-lightbox/#findComment-735067 Share on other sites More sharing options...
RhysAndrews Posted January 12, 2009 Author Share Posted January 12, 2009 I'm not sure how that would fix it... but I tried it anyway, with no change. -Rhys Link to comment https://forums.phpfreaks.com/topic/140454-help-with-saurdo-gallery-lightbox/#findComment-735110 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.