![]() |
|
Slimbox in Default Theme? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Slimbox in Default Theme? (/thread-3214.html) |
Slimbox in Default Theme? - trevor51590 - 06-07-2008 So I added these to the head of my album.php: And I added: 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. Slimbox in Default Theme? - krainbolt - 06-07-2008 Make sure you add those lines after the zenJavascript call. http://www.zenphoto.org/support/topic.php?id=3036&replies=14#post-18396 Slimbox in Default Theme? - trevor51590 - 06-07-2008 Thanks for the quick reply. I do have those after the call. Here is my album.php:
Slimbox in Default Theme? - krainbolt - 06-07-2008 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. Slimbox in Default Theme? - trevor51590 - 06-07-2008 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. Slimbox in Default Theme? - krainbolt - 06-07-2008 Oh, I guess I wasn't paying close enough attention before. You are bypassing the image.php page altogether. You'll need to change HREF to point to the image location instead of the image page. So change this: to this: Slimbox in Default Theme? - trevor51590 - 06-07-2008 `
Slimbox in Default Theme? - krainbolt - 06-07-2008 That's odd - there is no output from the getFullImageURL() function in your generated page. Make sure image protection isn't enabled. Go into Admin and look under Options->Image Display. Set "Full image protection" to Unprotected and uncheck Disable Hotlinking. Slimbox in Default Theme? - trevor51590 - 06-07-2008 I owe you a virtual beer. That did the trick. Makes sense now, Im kicking myself for overlooking that. Thank you very much! Slimbox in Default Theme? - klw81 - 20-08-2008 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: `
Slimbox in Default Theme? - klw81 - 20-08-2008 Ignore my previous post, I actually just figured it out. I needed to take the first / from the script path. Slimbox in Default Theme? - DanF89 - 24-08-2008 Does anybody know how to make the previous and next functions work in Slimbox when integrating it in ZP as described here? Slimbox in Default Theme? - klw81 - 03-09-2008 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. Slimbox in Default Theme? - acrylian - 03-09-2008 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. Slimbox in Default Theme? - klw81 - 03-09-2008 Thanks, I did see that on their site, and I understood how to do that if it was HTML but I wasn't sure with zenphoto if it was the same. I just tried it however and it worked. Thanks again :) |