Login   Register  
PHP Classes
elePHPant
Icontem

Class: Image2Thumbnail 1.0a

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Patrick Teague  >  Image2Thumbnail 1.0a  >  Download .tar.gz .zip  >  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
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3371 users
All time rank: 821
Week users: 0 users
Week rank: 2507
Picture of Patrick Teague
Author: Patrick Teague <e-mail contact>
Packages: 1 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Age: 37
All time rank: 74392 in United States United States
Week rank: 2293 Down287 Down in United States United States


  Detailed description  
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).

 

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

  Rate classes User ratings   Applications   Files Files  

  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%)
959
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
Plain text file imgsupport.php Aux. check image format support on server
Plain text file show_image_in_imgtag.php Example test script, creates the image file
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.