my ($wd, $ht) = ($img->width, $img->height);
my $max = $wd > $ht ? $wd : $ht;
- if ($max <= $sz) { return "$IMGURL/$path"; }
+ if ($max <= $sz)
+ { return $m->interp->apply_escapes("$IMGURL/$path", "u"); }
my $sc = $sz/$max;
my $scaled = $img->create_scaled_image($sc*$wd, $sc*$ht);