Answer the question
In order to leave comments, you need to log in
How to make phpthumb not stretch the image?
For example, the original image is 60x60 pixels. We generate previews 120x120. It is necessary that this image be the original size (without enlargement) in the center and a white background is added around.
Right now I'm using the following settings:
[{"w":120,"h":120,"q":90,"zc":"0","aoe":"0","bg":"ffffff"}]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question