![]() |
|
Squashed image using Zenpage-Default - 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: Squashed image using Zenpage-Default (/thread-4666.html) |
Squashed image using Zenpage-Default - fns - 2009-02-10 Anyone have any idea why this image is rendered in a squashed-vertically way (or perhaps stretched-horizontally), with the Zenpage-Default theme? If you click on the image, the popup is rendered properly. Also, it displays fine using the default theme. I haven't noticed any other of my portrait images of similar size in this album displaying this way. I'm using the latest nightly build (1.2.3 [3463]) after running into the comment problem with general release 1.2.3. Thanks, fns P.S. I was using the optional killer-bee theme previously, but upon going to the nightly build, it was exhibiting new odd problems with pre-filling of comment fields, so I switched over to Zenpage-Default rather than spend a lot of time debugging killer-bee. Squashed image using Zenpage-Default - sbillard - 2009-02-10 Something seems going wrong with the maxsize functions. You can help us figure this out by providing some debugging information. Set the Squashed image using Zenpage-Default - fns - 2009-02-11 Here's the result from debug_log.txt: getMaxSpaceContainer(580, 580, William and Edwin.jpg, ): $s_width=580; $s_height=580; $newW=580; $newH=580; Squashed image using Zenpage-Default - sbillard - 2009-02-12 Somehow the size and width of this image in the database must be set to zero. That should not be. Maybe if you rename the image (making Zenphoto think it is new) it will get the correct size and width stored. Squashed image using Zenpage-Default - fns - 2009-02-12 Ah, I didn't notice the zero size. Not sure how that happened (the problem file was originally a TIFF file, opened into Photoshop CS2, and saved as a jpg). I just went back and opened the TIFF file into Irfanview, saved it as a jpg, uploaded it, and all is well now. Wierd. Thanks for the help, fns Squashed image using Zenpage-Default - sbillard - 2009-02-12 Well, I don't know how you would have noticed that. I figured it must be the case given how the code works. Glad it is working for you now. |