colorbox returns gibberish for unprotected images

Hi!

I'm trying to implement colorbox into a gallery and have encountered the following error:

Some images work fine, the colorbox windows pops up and displays the full size image.

For most images colorbox returns a large number of random characters, starting as follows:
????JFIF??;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 85 ??C !"$"$??C???

...and going on forever.

After some forum research I disabled the image protection as suggested, without any effect.

I've noticed while moving the mouse over the thumbnails that the URI of the images that work are plain:
http://www.server.name/zenphoto/cache/albumtitle/image.jpg

And those that return the characters are as follows:
http://www.server.name/zenphoto/zp-core/i.php?a=archive/albumtitle&i=4-image.jpg&s=595&cw=&ch=&q=85&wmk=!

I have no clue why the image URI are being rendered differently or whether this has anything to do with the problem. The images are stored in the same album.

Maybe anybody has an idea?

Thank you very much in advance!

Best,
anthronaut

Comments

  • Follow up:

    Since the URI of the working images links to the chached files I did a pre-cache for the gallery. Some URIs that didn't work before now linked to the chached files and worked. But strangely, not all images and not consistently within an album.
  • Resolved! I had to change the "photo" setting to true in the colorbox settings, works now fine.

    Sorry for taking time and have a nice day!
Sign In or Register to comment.