![]() |
|
Chili-Light2 / light box not displaying close button - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Chili-Light2 / light box not displaying close button (/thread-2267.html) |
Chili-Light2 / light box not displaying close button - benga101 - 2008-02-21 Hi, Can anyone help me? I'm creating a theme for Zenphoto and to use the lightbox.js I started to hack apart the Chili-Light2 theme to see how it worked. The theme is coming along OK but I can't get the close button to show when I use the lightbox. Most annoying. I've downloaded Chili-Light2 and tried it un-modified but it still won't work. I have tried adding ../ before the 'themes/Windows Are Us Custom Theme/images/close.gif' as suggested else where but it didn't work for me. Can anyone point me in the right direction to get this to work? If anyone can help it would be much appreciated! The gallery is here: http://www.windows-are-us.co.uk/gallery/ You may be greeted by either Chilli-Light2 or my custom theme. Neither work! Thanks! Chili-Light2 / light box not displaying close button - Chilifrei64 - 2008-02-22 It is not displaying the loading image either. Many people forget to do this but you need to look in When I browse to those locations on your site I come up with nothing. Make sure those files are in there in that location. Chili-Light2 / light box not displaying close button - benga101 - 2008-02-22 Thinks for the reply. I didn't realsise I had to put the full path in. If I link using 'http://www.windows-are-us.co.uk/gallery/themes/Chili-Light2/images/close.gif"' the image loads. Thank you. Is there away for it to reference the theme file without the full path? The css and .js seem to do it. Again, thanks for the pointer. Chili-Light2 / light box not displaying close button - Chilifrei64 - 2008-02-22 you shouldnt have to put in the full path. just the relative path from where the page gets called (so the zenphoto root) When I made this theme zenphoto was only on like version .9. I havent updated it since. I can take a look at it with the latest version at somepoint this weekend. Chili-Light2 / light box not displaying close button - gingersnaps - 2008-03-23 I had the same problem initially, but upon inspection of my lightbox.js file found that the required paths WERE in place, but that the "default" is, in fact, incorrect. just changing mine to "/themes/chili-light2/images/close.gif" instead of edited to add: lovely theme, very nice work, and a huge thank you! |