summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-09-21 16:19:15 +0200
committerJonas Smedegaard <dr@jones.dk>2017-09-21 16:19:15 +0200
commit9dd0bdd58aad29e9a6262ec2b7edb8920341dcfb (patch)
tree6d54cf9658b7d1da393484483990863a9fbb56d0 /IkiWiki
parent6053f36181814d44c7b72b80520146e648d9a05f (diff)
Sync with ikiwiki 3.20150614.
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/img.pm2
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")) {