<configuration> <title>Threatened Species - {TYPE}</title> <description> <![CDATA[<b>Site Name:</b><BR>{SITENAME}<BR>{PROJ_DESC}<BR><BR><b> Links: </b><BR><a href='{LINK}'><u>Factsheet</u></a><BR><a href='{LINK2}'><u>Website</u></a>]]> </description> <fields> <field name="PIC"/> <field name="PIC2"/> <field name="PIC_LBL"/> <field name="PIC2LBL"/> </fields> <medias> <media type="image" title="{PIC_LBL} - Click to view larger" imagesource="{PIC}" imagelink="{PIC}"/> <media type="image" title="{PIC2LBL} - Click to view larger" imagesource="{PIC2}" imagelink="{PIC2}"/> </medias> </configuration>
The description does support html that includes img tags, but you need to set the width. Try 250. See: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/TextField.html#htmlText
<description><![CDATA[<a href="{HYPERLINK}"><img src="{HYPERLINK}" width="250" height="250"/></a>]]> </description>
<description><![CDATA[ Download report: <a href="{HYPERLINK}"><img src="http://www.adobe.com/images/pdficon_small.gif" height="17" width="17"/></a>]]></description>
Jon, If the link is to an image than you need to setup a media tag: <configuration> <title>{DESC_}</title> <fields> <field name="DESC_"/> <field name="HYPERLINK"/> </fields> <medias> <media chartfields="" type="image" caption="" imagesource="{HYPERLINK}" imagelink="{HYPERLINK}"/> </medias> </configuration>
<configuration> <title>{DESC_}</title> <fields> <field name="DESC_"/> <field name="HYPERLINK"/> </fields> <medias> <media chartfields="" type="image" caption="" imagesource="{HYPERLINK}" imagelink="{HYPERLINK}"/> </medias> </configuration>
<configuration> <title>{DESC_}</title> <fields> <field name="DESC_"/> <field name="HYPERLINK" visible="true"/> </fields> </configuration>
<?xml version="1.0" ?> <configuration> <title>{DESC_}</title> <description><![CDATA[<a href="{HYPERLINK}"><img src="{HYPERLINK}"/>{HYPERLINK}</a>.<br>a. ]]> </description> <fields> <field name="DESC_"/> <field name="HYPERLINK" /> </fields> </configuration>
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.