PHP Classes

Classes of Patrick Teague

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Patrick Teague (1)  >  Mission progress status  >  Reputation  
Picture of Patrick Teague
Name: Patrick Teague <contact>
Classes: 1
Country: United States United States
Age: 50
All time rank: 927129 in United States United States
Week rank: 195 Up19 in United States United States Up
All time users: 3476
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Image2Thumbnail 1.0a  
Create thumbnails from GIF, JPG, or PNG on the fly
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).


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z