Browse Source

Remplacer image_reduire par image_reduire_net

master v9.7.3
ARNO* 3 months ago
parent
commit
a4e38ad424
  1. 4
      image_responsive_fonctions.php
  2. 2
      paquet.xml

4
image_responsive_fonctions.php

@ -645,7 +645,7 @@ function background_responsive($src, $taille = 120, $lazy = 0, $align = "focus")
$ins .= " data-italien-h='$h'";
$srcp = image_proportions($srcp, 3, 4, $align);
$srcp = image_reduire($src, 0, 2400);
$srcp = image_reduire_net($src, 0, 2400);
$srcp = extraire_attribut($srcp, "src");
$lp = largeur($srcp);
$hp = hauteur($srcp);
@ -666,7 +666,7 @@ function background_responsive($src, $taille = 120, $lazy = 0, $align = "focus")
$srcp = image_proportions($srcp, 4, 3, $align);
$srcp = image_reduire($src, 2400, 0);
$srcp = image_reduire_net($src, 2400, 0);
$srcp = extraire_attribut($srcp, "src");
$lp = largeur($srcp);
$hp = hauteur($srcp);

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="image_responsive"
categorie="multimedia"
version="9.7.2"
version="9.7.3"
etat="stable"
logo="prive/themes/spip/images/image_responsive-32.png"
compatibilite="[3.0.0;4.1.*]"

Loading…
Cancel
Save