• New in : SPIP 2.0

Whereas image_reduire generates the small image that will properly fit inside a given rectangle, image_passe_partout generates the largest image that fills up that same rectangle.

When followed by a image_recadre with the same dimensions, it makes it possible to generate thumbnails with pre-defined and mandated dimensions without deforming them.



See also


And Automatic image processing

Author Mark Published : Updated : 07/09/23

Translations : català, English, Español, français, Nederlands