1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: How to Use PHP to Dynamically Resize an Image

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    3.33/5

PHP » Image Manipulation — almost 10 years ago
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.

Comments

Your Comment

You must be logged in to post a comment.