diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-09-21 16:19:15 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-09-21 16:19:15 +0200 |
commit | 9dd0bdd58aad29e9a6262ec2b7edb8920341dcfb (patch) | |
tree | 6d54cf9658b7d1da393484483990863a9fbb56d0 | |
parent | 6053f36181814d44c7b72b80520146e648d9a05f (diff) |
Sync with ikiwiki 3.20150614.
-rw-r--r-- | IkiWiki/Plugin/img.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/img.pm b/IkiWiki/Plugin/img.pm index 17a58ca..169f5e7 100644 --- a/IkiWiki/Plugin/img.pm +++ b/IkiWiki/Plugin/img.pm @@ -76,7 +76,7 @@ sub preprocess (@) { my $im = Image::Magick->new(); my $imglink; my $imgdatalink; - my $r = $im->Read("$srcfile\[$pagenumber]"); + my $r = $im->Read(":$srcfile\[$pagenumber]"); error sprintf(gettext("failed to read %s: %s"), $file, $r) if $r; if (! defined $im->Get("width") || ! defined $im->Get("height")) { |