How to Use PHP to Dynamically Resize an Image

Submitted by Web Cash » Sometimes you want to display an image - but it's not stored in the right size. If you allow the browser to resize the image, it will get distorted and waste bandwidth. Instead, you can use the PHP GD library to resize the image on the fly. This tutorial will show you how to use the GD library to read an image, resize it, and output it as part of an HTML page.
Rating: 3.3/5 | 647 clicks | 0 comments | 3 saves | share | report

Comments on this tutorial

Discuss this tutorial

You must be logged in to comment on a tutorial.