So I added these to the head of my album.php:
And I added:
rel="lightbox"
after
"
Whenever I click an image now, I just see the loading screen and no image comes up. I have tried quite a few things to get it to work to no avail. Any help is kindly appreciated.
Make sure you add those lines after the zenJavascript call.
http://www.zenphoto.org/support/topic.php?id=3036&replies=14#post-18396
Thanks for the quick reply. I do have those after the call. Here is my album.php:
|
You didn't post that code into a "CODE" block, so I'm not sure if I'm seeing your actual code or not. The code following the div class="imagethumb" should look like the following:
">
Also make sure you have the correct path to the slimbox images folder in your slimbox.css file.
If you still have a problem, send me the URL for the website.
Sorry about not blocking the code. I checked the code and still no dice. I checked slimbox.css but no changes should be necessary because the image files are with the css file in the same directory. The site is http://s249238046.onlinehome.us for the time being (domain hasn't gone through yet.) It almost seems like its something with the link not wanting to grab the image.
Again, thanks for your time.
`
|
I owe you a virtual beer. That did the trick. Makes sense now, Im kicking myself for overlooking that. Thank you very much!
Sorry to bring up an old topic again but I am trying to do this also and I am not having any luck. I did what was suggested here but it's not working. I'm not very familiar with PHP coding however so I'm sure there is something that I missed. I unchecked the "Disable hotlinking" box and it still didn't work. Also it's putting two of each thumbnail in my albums. When I click on them it just takes me to the full size image, not the lightbox effect.
Here is my album.php code:
`
|
Can somebody please help? I would like to know how to make the previous and next functions work as well. I posted a topic about this but have not received any replies. I realize this may be more of a Slimbox question, but they don't have a forum that I can find, and I don't know where else to ask it. My code is still the same as above.
Instead of just rel="lightbox" you have to give it a group name like rel="lightbox[atomium]". Clearly written on http://www.digitalia.be/software/slimbox... (and actually the same for those lightboxes scripts)..:-)
Of course this will only work for the thumbnail page you are currently on, it will not included following thumbnail pages. (it will start again there). Unless you set the thumbs per page to fit all the images you have on one page.