PHP Thumbnails on the Fly

In the MegaGallery project, we used the EXIF library in PHP to extract the thumbnails from the image itself. However, what do we do if we do not have EXIF installed or available through our web server provider? One possibility is to use the GD library. The GD library will allow us to create a thumbnail using the image itself. Continue reading

Advertisements

Resizing Images

Quite often, in programming and dealing with images, it becomes necessary to resize the image without distorting its aspect ratio. Since the width and height of an image is a ratio, we can use the fundamental rule of proportions to resize the image. Continue reading