Member
Member
fuzzi   2012-04-13, 09:57
#1

Hi,

i added thickbox to my gallery to show the full images but i have a problem right now. Thickbox doesnt show the image but the image code instead, like this:

????JFIF??;CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), quality = 85 ??C  !"$"$??C??3?"?? ???}!1AQa"q2???#B??R??$3br? %&'()456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz??????????????????????????????????????????????????????????????????????????? ???w!1AQaq"2?B???? #3R?br? $4?%?&'()56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz?????????????????????????????????????????????????????????????????????????? ??Xzp54??-?4`

Member
Member
sbillard   2012-04-13, 14:44
#2

Do your images show up correctly without Thickbox? Then enphoto is indeed generating correct photos and your use of Thickbox is the cause of the problem. Most likely it did not tell the browser it was displaying an image.

We do not use Thickbox and instead use colorbox as it plays well with jquery which is our primary javascript tool. Many of our themes show images with colorbox. Perhpas you should look into how they do it.

Member
Member
fuzzi   2012-04-13, 17:56
#3

hey sbillard,

thanks for your answer! yes ist shows the pics correctly without thickbox. i will check out colorbox asap, thanks for the tip!

Member
Member
fuzzi   2012-04-13, 18:53
#4

here i am again

i tried colorbox but i have the same problem. It displays code instead of the image. But theres one new thing i discovered: It displays the code only when the image is created the first time. if i reload the page after the bigger image has been created one time (and been displayed as code), the picture shows up correctly.

do you have any idea where else i can look for the error?

thank you very much!

Member
Member
sbillard   2012-04-13, 19:05
#5

That would be because colorbox does not know that the item being displayed is an image. The image processor url does not end in something that can be identified as an image suffix. You have to tell colorbox that the item being displayed is an image. You need to add photo:true to the colorbox ready function.

Member
Member
fuzzi   2012-04-14, 09:26
#6

thanks a lot, its working now!

btw - i need some paid support for little plugin or zenphoto modification. how can i reach you?

Member
Member
sbillard   2012-04-14, 16:43
#7

There is a contact page: http://www.zenphoto.org/pages/paid-support

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.