GD portrait / landscape square thubmnails
I'm trying to move (copy) a resize image (on a square fixed width/height image. (the resizing is done by PHP and GD)
This so all created thumbnails have the same size regarding if it's made from a landscape or portrait image. I do not want to crop the image!
The resized images are height 200 pixels or 200 pixels wide.
The square fixed image is 400 by 400 pixels.
Anyone here who might have a PHP code example how to do this?
I've used google, but till now I did not find anything usable.
Please note that I'm not after the resizing part.. All I need is the "move/copy" on the square part.
|
Recent comments
19 hours 31 min ago
19 hours 36 min ago
1 day 35 min ago
1 day 7 hours ago
1 day 8 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 20 hours ago
2 days 8 min ago
2 days 1 hour ago