Changeset 106023 in spip-zone


Ignore:
Timestamp:
Sep 1, 2017, 1:39:12 PM (3 years ago)
Author:
marcimat@…
Message:

Tolérer la présence du plugin centre images pour centrer les logos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _squelettes_/html5up_solid_state/html5up_solid_state_fonctions.php

    r105746 r106023  
    5555 */
    5656function html5up_image_reduire($img, $width = 300, $height = 300) {
     57        if (defined('_DIR_PLUGIN_CENTRE_IMAGE')) {
     58                $img = filtrer('image_recadre', $img, "$width:$height", '-', 'focus');
     59        }
    5760        $img = filtrer('image_passe_partout', $img, $width, $height);
    5861        $img = filtrer('image_recadre', $img, $width, $height, 'center');
Note: See TracChangeset for help on using the changeset viewer.