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 Quote Link to comment 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']).'/"; Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.