PHP Classes

Easy Thumbnail: Generate thumbnail images using the GD extension

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 3,904 All time: 809 This week: 180Up
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: 80257 in Brazil Brazil
Week rank: 559 Up37 in Brazil Brazil Up

  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  
This week:0
All time:809
This week:180Up
User Ratings User Comments (1)
 All time
Please write comments in english.
14 years ago (rajesh)
For more information send a message to info at phpclasses dot org.