foaf-person--exportQrCode.ftl: fixed issue where when an individual had a large image but not a thumbnail, the large image was not being resized to thumbnail size and thus was taking over much of the page. The main profile page appears to handle with with 'width="160"' on the image, so I have done that here as well.

This commit is contained in:
mbarbier 2011-07-01 15:58:05 +00:00
parent 52a933c20d
commit 343b63b420

View file

@ -9,7 +9,7 @@
<h2>Export QR Code <em>(<a href="${individual.doQrData().aboutQrCodesUrl}" title="More info on QR codes">What is this?</a>)</em></h2>
<#assign thumbUrl = individual.thumbUrl! "${urls.images}/placeholders/person.thumbnail.jpg" >
<img class="qrCode" src="${thumbUrl}" />
<img class="qrCode" src="${thumbUrl}" width="160" />
<h3 class="qrCode"><a href="${individual.profileUrl}" title="View this person's profile">${individual.nameStatement.value}</a></h3>