![]() |
|
Full image in colorbox - 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: Full image in colorbox (/thread-7034.html) |
Full image in colorbox - frankm - 2010-05-11 i have set up my gallery so that when one clicks on a medium size thumb, the full image opens in colorbox. if i use the "getFullImageURL()" function or the "htmlspecialchars(getFullImageURL())" function, the image opens in colorbox but not as an image. instead i have the file as if i was editing it with an editor. for me there is some kind of content-type header missing or more certainly i am doing something completly stupid ! thanks for your help. Full image in colorbox - acrylian - 2010-05-11 It does not work with the protectedimageurl for obvious reason. If colorbox or anything else wants access to the full image it of course needs to be protected. If you want to open the protected image which is loaded in a page you have to configure colorbox to use the iFrame mode. (I have not tried that actually). Full image in colorbox - frankm - 2010-05-11 well thanks i'll try that see if i can get it to work. Full image in colorbox - frankm - 2010-05-11 for those who are interested to display an full image inside colorbox. if you want to use the protected image url that you get with the "getFullImageURL()" function you need to use the key object/parameter "photo" with the value "true" when you call colorbox. Full image in colorbox - acrylian - 2010-05-12 Interessting, thanks for trying. I will take a look and maybe that should become standard. |