Ignore:
Timestamp:
Jan 18, 2014, 9:37:11 PM (7 years ago)
Author:
toutati@…
Message:

oups, c'est mieux avec url_absolue !

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/modeles_media/trunk/media_fonctions.php

    r80110 r80112  
    162162        }
    163163       
    164         $src = "$url_site_spip/".$src;
     164        $src = url_absolue($src);
     165       
     166        spip_log("src=$src","modeles_media");
    165167
    166168        list($width, $height) = getimagesize($src);
Note: See TracChangeset for help on using the changeset viewer.