Changeset 84081 in spip-zone


Ignore:
Timestamp:
Aug 8, 2014, 7:56:04 AM (7 years ago)
Author:
arno@…
Message:

Gérer requête avec dimension forcée en vertical (quand pas de htaccess)

File:
1 edited

Legend:

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

    r80385 r84081  
    180180
    181181        if (!preg_match(',\.(gif|jpe?g|png)$,i', $img)
    182         OR !preg_match(',^\d+$,', $taille)
     182        OR !preg_match(',^\d+v?$,', $taille)
    183183        OR !preg_match(',^[\d\.]*$,', $dpr)
    184184        OR !file_exists($img)) {
Note: See TracChangeset for help on using the changeset viewer.