|image_passe_partout

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.

Example

Author Mark Published : Updated : 26/10/12

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