[ Index ] |
|
Code source de LifeType 1.2.4 |
[Code source] [Imprimer] [Statistiques]
\defgroup Gallery_resizer Please use the proxy class GalleryResizer that should be used to generate thumbnails, instead of using directly classes such as GalleryGdResizer or GalleryImageMagickResizer. This class will check from the configuration the values of the parameters <b>thumbnail_method</b> and <b>thumbnail_format</b> and load the appropiate thumbnail generator class.
Poids: | 149 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 2 fois |
Nécessite: | 0 fichiers |
GalleryResizer:: (3 méthodes):
GalleryResizer()
getThumbnailFormat()
generate()
Classe: GalleryResizer - X-Ref
\ingroup Gallery_resizerGalleryResizer( $image ) X-Ref |
Constructor. Creates a Thumbnail object from the given image file. param: image An Image object param: generatorMethod Optional parameter specifying which |
getThumbnailFormat() X-Ref |
returns the format that will be used/has been used to generate a thumbnail. return: Returns one of: |
generate( $outFile, $width = GALLERY_DEFAULT_THUMBNAIL_WIDTH, $height = GALLERY_DEFAULT_THUMBNAIL_HEIGHT, $keepAspectRatio = true ) X-Ref |
Generates a thumbnail. param: outFile param: width The width of the thumbnail param: height The height of the thumbnail param: keepAspectRatio whether thumbnails should keep their aspect ratio (even though the final size return: the path to the thumbnail that was generated or empty if error |
Généré le : Mon Nov 26 21:04:15 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |