X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/6ac52c4ccb2a14a2a1c22a3cd0cda7f7f02cb4c6..f3267a45a926414f2b97855ec4ea76e04f22e09f:/common.inc.plp
diff --git a/common.inc.plp b/common.inc.plp
index 2976cbe..6295de7 100644
--- a/common.inc.plp
+++ b/common.inc.plp
@@ -147,6 +147,14 @@ sub Html {
'',
);
+ if (my $img = $meta->{image}) {
+ my $proto = sprintf('http%s://', !!$ENV{HTTPS} && 's');
+ my $url = "$proto$ENV{HTTP_HOST}/$img";
+ push @{ $meta->{raw} }, (
+ qq(),
+ );
+ }
+
my ($file) = $ENV{SCRIPT_FILENAME} =~ m{ ([^/]+) \.plp$ }x;
PLP_START {