Hi
I have some issue using colorbox_js plugin with zenphoto.
The image displaying in gallery works just fine, as switch between image as weel.
But when I want to display a single image, I always get an error message:
This image failed to load.
I don't find any error message on apache or zenphoto log.
When I use Chrome devtools, the console shows some log (but I'm not sure it's related to the issue):
Resource interpreted as Image but transferred with MIME type text/html: "https://photos.martin.lc:8080/index.php?album=test&image=108.JPG".
Resource interpreted as Image but transferred with MIME type text/html: "https://photos.martin.lc:8080/index.php?album=test&image=105.PNG". Resource interpreted as Image but transferred with MIME type text/html: "https://photos.martin.lc:8080/index.php?album=test&image=03589202.jpg". Resource interpreted as Image but transferred with MIME type text/html: "https://photos.martin.lc:8080/index.php?album=test&image=03589202.jpg". Resource interpreted as Image but transferred with MIME type text/html: "https://photos.martin.lc:8080/index.php?album=test&image=108.JPG". Resource interpreted as Image but transferred with MIME type text/html: "https://photos.martin.lc:8080/index.php?album=test&image=035.PNG".
Zenphoto gallery available here
https://photos.martin.lc:8080/index.php?album=test
You have to use the iFrame content type on your colorbox js define as "https://photos.martin.lc:8080/index.php?album=test&image=108.JPG". is an image page and not an image. Or you have to change the link to link to the image itself. (Note this is a third party theme)
http://www.jacklmoore.com/colorbox/
Thanks for your answer.
Isn't there a way for zenphoto to display https://photos.martin.lc:8080/index.php?album=test&image=108.JPG as a direct link to the image ? and not the index.php file displaying the image embedded ?