Hello,
I just upgraded from Zenphoto 1.1.5 to 1.2.4. Everything seems fine except for the custom functions I was using to generate thumbnails in the old version. These are the functions I'm using:
On the index:
`<?php printCustomAlbumThumbImage(getImageTitle(), 180, 180, 180, 180, 180, 0, 10); ?>`
On the album pages:
` <?php printCustomSizedImage(getImageTitle(), 150, 150, 150, 150, 150, 0, -10, null, null, false); ?>`
These work fine in 1.1.5 but in 1.2.4 the thumbnails are really weirdly distorted and stretched out. Any numbers I put in for the crop positions seem to cause the same problems.
Here's my gallery:
http://pole.uwaterloo.ca/cpadev/news/gallery/Research/
Also, a few questions about the parameters in these functions:
What exactly does "size" mean? How is this used in relation to the height and width dimensions? And the crop dimensions? I'm confused about why the numbers I used get the results I they did.
Does cropping really start at the top-left corner? Because it looks to me that it's centered on the image (e.g. I have 180px images with a 150px crop - the crop takes off about 15 pixels on either side, rather than 30px at the bottom/right). If this is the case, then where are cropx and cropy measured from?
Do these parameters override the settings in theme options?
Thanks for any help.