Newsroom / Blog

Image Manipulation

BThomas's picture

PHP Thumbnail Creation Tutorial

Dec8th

This tutorial will explain how to take any image and proportionally shrink it to any size you define.

The three main goals of this function are:

  1. Shrink an image to a defined size
  2. Keep the new image proportional to the old image
  3. Create the new image in the same directory as the old image with a defined prefix (i.e. 'tn_')

And here we go!