SPR-814: style linked image

This commit is contained in:
Jana Deutschländer 2017-04-11 12:53:03 +02:00
commit 2ac13e1431
3 changed files with 70 additions and 4 deletions

View file

@ -168,9 +168,9 @@ header('X-UA-Compatible: IE=edge,chrome=1');
echo p_locale_xhtml('showrev');
} ?>
<h1><?php echo hsc(tpl_img_getTag('IPTC.Headline', $IMG)) ?></h1>
<?php tpl_img(900, 700); /* the image; parameters: maximum width, maximum height (and more) */ ?>
<div class="img-link">
<?php tpl_img(900, 700); /* the image; parameters: maximum width, maximum height (and more) */ ?>
</div>
<div class="img_detail">
<h2><?php print nl2br(hsc(tpl_img_getTag('simple.title'))); ?></h2>