what should be the height and width i should specify while creating thumbnail for my profile image. I show the thumbnail with a 40px * 40px image container
A:
Remember, there's maintain_ratio
and master_dim
settings. Here's what the user guide says about the master_dim
setting:
Specifies what to use as the master axis when resizing or creating thumbs. For example, let's say you want to resize an image to 100 X 75 pixels. If the source image size does not allow perfect resizing to those dimensions, this setting determines which axis should be used as the hard value. "auto" sets the axis automatically based on whether the image is taller then wider, or vice versa.
Matthew
2010-08-18 13:05:54