Changeset 77130 in spip-zone


Ignore:
Timestamp:
Oct 10, 2013, 6:49:41 PM (8 years ago)
Author:
arno@…
Message:

Nouveau plugin: une gestion d'images responsive

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/image_responsive/action/image_responsive.php

    r77127 r77130  
    1515                if (!file_exists($dest) OR filemtime($dest) < filemtime($img)) {
    1616                        include_spip("filtres/images_transforme");
    17                         $img = image_reduire($img, $taille);
     17                        $img = image_reduire($img, $taille, 0);
    1818                       
    1919                        if (largeur($img) > 1.5*$taille) $img = image_renforcement($img, 0.1);
Note: See TracChangeset for help on using the changeset viewer.