Login   Register  
PHP Classes
elePHPant
Icontem

Image2Thumbnail 1.0a

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Patrick Teague
Name: Patrick Teague <e-mail contact>
Packages: 1 Browse all classes by Patrick Teague Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 38
All time rank: 799102 in United States United States
Week rank: 2187 Down274 in United States United States Down


  Detailed description   Download .zip .tar.gz  
Create image thumbnails from GIF, JPG, or PNG on the fly showing them in an image tag or outputting them as files with explicit width, height, or both.

This version requires GD 2.0 or higher! This is based on img2thumb 1.0 class from Andreas Martens that includes support for reading of GIF files (& creating GIF thumbnails if server supports this).

The other bonus is that you can set the thumbnails to be either constrained proportions with a background fill to the max pixel width & height or to simply be constrained proportions inside the max pixel width & height (i.e. set at 60x60 with an original of 90x180 constrained to 30x60 or 30x60 with background fill to make the thumbnail 60x60).

  Classes of Patrick Teague  >  Image2Thumbnail 1.0a  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Image2Thumbnail 1.0a
Base name: img2thumb10a
Description: Create thumbnails from GIF, JPG, or PNG on the fly
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3418 users
All time rank: 879
Week users: 0 users
Week rank: 1988 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes


  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (86.4%)
Sufficient (79.5%)
-
Sufficient (68.2%)
-
-
Not sure (58.0%)
996
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.img2thumb.inc Class class file Image2Thumbnail 1.0a
Accessible without login Plain text file imgsupport.php Aux. check image format support on server
Accessible without login Plain text file show_image_in_imgtag.php Example test script, creates the image file
Accessible without login Plain text file test.html Data test html file, needs some test.gif, test.jpg, or test.png

Download all files: img2thumb10a.tar.gz img2thumb10a.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.