PHP Classes

Easy Thumbnail: Generate thumbnail images using the GD extension

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-07-14 (10 years ago) RSS 2.0 feedStarStarStar 46%Total: 3,894 This week: 1All time: 779 This week: 1,109Down
Version License Categories  
easythumbnail 1.0Unspecified (ask ...PHP 5, Graphics
Description Author  

This class can generate reduced versions of images (thumbnails) using the PHP GD extension functions.

The class computes the reduced size of the images making an approximate calculation that preserves the image width and eight proportions to avoid distortion.

The class may be ysed to create thumbnails of different sizes. The result is a collection of thumbnails of proportional sizes.

It is ideal for photo galleries that get the original images by upload and the class takes care of generating the thumbnails.

The class only supports images in the JPEG and PNG formats.

The comments in the code are in Portuguese.

In Portuguese:

Esta classe pode criar versões de miniatura de imagens (thumbnails) usando as funções da extensão de PHP GD.

A classes determina o tamanho reduzido das imagens através de um cálculo de aproximado que preserva a proporção da altura e largura para evitar distorções.

A classe pode ser usada para criar miniaturas de imagens de diferentes tamanhos. O resultado será uma coleção de miniaturas de dimensões proporcionais.

É ideal para albuns de fotos, onde basta você fazer o upload da imagem e deixar a classe gerar o thumbnail.

A classe trabalha somente com imagens nos formatos JPEG e PNG.

Picture of Rogério Bragil
Name: Rogério Bragil <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 75356 in Brazil Brazil
Week rank: 871 Down66 in Brazil Brazil Down

  Files folder image Files  
File Role Description
Plain text file easythumbnail.class.php Class Classe para geração de miniaturas de imagens
Accessible without login Plain text file index.php Example Exemplo de uso da classe EasyThumbnail

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,894All time:779
 This week:1This week:1,109Down
User Ratings User Comments (1)  
 All time
Please write comments in english.
8 years ago (rajesh)