<fragments i18n:domain="portfolio" tal:define="imgId here/getId; translate nocall:modules/Products/Portfolio/utils/translate; _ python:lambda msg : translate(msg, here)" xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:tal="http://xml.zope.org/namespaces/tal" xmlns:metal="http://xml.zope.org/namespaces/metal"> <div metal:use-macro="here/main_template_macros/macros/global_defines" tal:omit-tag=""/> <imageattributes tal:attributes="alt here/Title; back_to_context_url options/backToContextUrl; last_bc_url options/lastBcUrl; img_id imgId; buyable options/buyable"/> <fragment id="image_metadata"><span tal:replace="structure string:<![CDATA[" /> <div metal:use-macro="here/photo_view/macros/image_metadata">image metadata</div> <span tal:replace="structure string:]]>" /></fragment> <fragment id="BC_Object_URL" tal:content="options/lastBcUrl"></fragment> <tal:block tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'text/xml;;charset=utf-8')"/> </fragments>