If you want them to all be 169x169, you'll have to set zc (zoom-crop) to 1 otherwise phpthumb will stretch the image if it doesn't fit the aspect ratio doesn't match the specified dimensions.
Hey thanks, but that is not what I want. I want the image to resize to max 169w or 169h, depending if it's portrait or landscape. So the aspect ratio remains but in a smaller picture, if that makes any sense.
Actually the images are all square, the format is png so they have transparant sides, which make them look like normal resized pictures. The landscape pictures are as they supposed to work out, but the portrait pictures are stretched as you can see.
So I'm wondering if pthumb can do this with build in functionality or should I write something myself?
Tried that, actually wl169 and hp169 gives the same result as w169 h169.
[ed. note: sjeijk last edited this post 11 years, 11 months ago.]