X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/0ae1e4cc0e598eacfeb508d11db81c33169631fd..0802f92561a8e05da0299e3a1c94bebdd7c8d1e5:/IkiWiki/Plugin/img.pm diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index b554a3dfc..103f6b2b3 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -152,8 +152,8 @@ sub preprocess (@) { $imgurl=urlto($imglink, $params{destpage}); } else { - $fileurl=urlto($file, undef); - $imgurl=urlto($imglink, undef); + $fileurl=urlto($file); + $imgurl=urlto($imglink); } if (! exists $params{class}) {