Shared Tutorials
Tutorials Shared by the Internet Community
Advertisements
| Top Tutorials | New Tutorials | Submit | Login | Register |
Tutorial Basic Detail
PHP GD Library: Cropping Images whilst Maintaining the
An article demonstrating how to crop an image using PHPs GD library, whilst still keeping the aspect ratio as it was originally.http://www.talkphp.com/advanced-php-programming/1709-cropping-images-using-php.html
Total Hits: 3629
Total Votes: 24 votes
Average Rating: 2.5 out of 5
Category: PHP/Image Manipulation
Description:
An article demonstrating how to crop an image using PHP's GD library, whilst still keeping the aspect ratio as it was originally. This is very clever as it prevents the image from looking stretch. For example, if you resized an image to 80x80 but the original image was wide-screen, then the image would look very much stretched. This article shows you how to get around that and crop images the proper way!Rating Detail
| Stars | Percentage | Total Vote |
|---|---|---|
![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() 16.67% |
4 |




16.67%

16.67%

16.67%

16.67%

16.67%