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!
Comments
Many people forget to do this but you need to look in
"themes/chili-light2/js/lightbox.js"
at lines 60 and 61
and make sure your paths are correct. The default is:
"themes/Chili-Light2/images/loading.gif"
"themes/Chili-Light2/images/close.gif"
When I browse to those locations on your site I come up with nothing. Make sure those files are in there in that location.
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.
just changing mine to
"/themes/chili-light2/images/close.gif" instead of
"themes/Chili-Light2/images/close.gif" worked. Apparently slashies and capitalization are important...?
edited to add: lovely theme, very nice work, and a huge thank you!