I have had good luck animating structural fluff for the stuff using Any and having a custom component under the hood.
<a href="#" model="currentObject"> <t:pagelink t:page="Edit" context="editPageContext"> <t:Any t:id="imageComponentId" id="imageComponentId" > <img id="ImageWidget" src="${photoLink}" alt="${currentObject}" width="200" height="160" title="${currentObject.photo.fileName}" model="currentObject" image="${photoLink}" /> </t:Any> </t:pagelink> </a>