I have made a custom theme for my website and I have discovered a problem with colorbox. In my localhost it works just fine. When I click the image it pops up. However, on the same template it doesn't work online. I have checked to see if colorbox is activated and if the pages on wich to open colorbox are checked. The online and the offline websites have the exact same settings, however different hosts.
The only clue that I have is that the image links seem to be different:
Online
`
`
Offline
`
`
me a fix. Thank you!
Comments
The image links are identical so that is not the problem.
Online:
`/zp-core/full-image.php?a=inspiratie%2Fwallpapers-1&i=wallpaper-4.jpg&q=90&wmk=watermark-aerografie-trans`
Offline:
`/albums/inspiratie/wallpapers/wallpaper-4.jpg`
Clearly the links have not been modified to open the colorbox plugin but I don't understand why not. I have checked that all settings are correct. I can take a screenshot if you need. Thanks!
I have commeted in image.php the code that checks if colorbox is active
`
<?php if( /*getOption("Use_thickbox") &&*/ isImageVideo()) {
$boxclass = " class=\"thickbox\"";
$tburl = getUnprotectedImageURL();
} else {
`
If I'll be able to dig more on this I'll notify you. Maybe it's a bug. Anyway. Thank you again!
In my case i have write :
`$tburl = getFullImageURL();` and protected image works with colorbox, but by memory, i have had this code : `photo:true,` in the colorbox argument.
Hope this help.
Laurent