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,905 This week: 1All time: 811 This week: 560Up
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: 80758 in Brazil Brazil
Week rank: 411 Up35 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  
 0%
Total:3,905
This week:1
All time:811
This week:560Up
User Ratings User Comments (1)
 All time
Utility:68%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:59%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3073
 
Please write comments in english.
16 years ago (rajesh)
52%StarStarStar