Login   Register  
PHP Classes
elePHPant
Icontem

Easy Thumbnail: Generate thumbnail images using the GD extension

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (9 years ago) RSS 2.0 feedStarStarStar 46%Total: 3,882 All time: 742 This week: 1,412Down
Version License Categories  
easythumbnail 1.0Unspecified (ask the au...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: 71654 in Brazil Brazil
Week rank: 1807 Down144 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,882All time:742
 This week:0This week:1,412Down
User Ratings User Comments (1)  
 All time
Utility:68%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:59%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1793
 
Please write comments in english.
6 years ago (rajesh)
52%StarStarStar