Hi,
so far I have been making reference to images via my sitemap as standard:
<map:match pattern="*.jpg">
<map:read mine-type="text/jpeg" src="images/{1}.jpg" />
</map:match>
As I am now using inline images I have changed my sitemap to the following:
<map:match pattern="artist1">
<map:read mine-type="image/jpeg" src="artist1" />
</map:match>
My image structure is:
<xsp:element name="object">
<xsp:attribute name="id">artist1</xsp:attribute>
<xsp:attribute name="width"></xsp:attribute>
<xsp:attribute name="height"></xsp:attribute>
<xsp:attribute name="type">image/jpeg</xsp:attribute>
<xsp:attribute name="data">data:image/jpeg;base64,</xsp:expr></xsp:attribute>
</xsp:element>
When viewed in the browser the image is broken, i.e. it cannot find it. How do i resolve this? Do I reference back to the xsl page the image sits in?
The sitemap structure for the page the image sits in is:
<map:generate type="serverpages" src="xsp/{../1}.xsp" />
<map:transform type="xslt" src="style/frame-page.xsl" />
<map:serialize type="html"/>
many thanks in advance
- Re: Referencing inline images - How to? beyaNet Consultancy
- Re: Referencing inline images - How to? Simon Mieth
- Re: Referencing inline images - How to? beyaNet Consultancy
- Re: Referencing inline images - How to? Simon Mieth
- Re: Referencing inline images - How t... beyaNet Consultancy
- Re: Referencing inline images - ... Simon Mieth
- Re: Referencing inline image... beyaNet Consultancy
- Re: Referencing inline i... Simon Mieth
- Re: Referencing inline i... beyaNet Consultancy
- Re: Referencing inline i... Simon Mieth