Skip to main content

Can't get images to display in Map Layer feature description

Comments

4 comments

  • Permanently deleted user

    <img src="http://SERVERNAME/VIRTUALDIRECTORY/{PARK_STRUCTURE_IMAGES.FILENAME}" width="150" height="150"/> 

    /customer/servlet/servlet.FileDownload?file=00P6000000e88PdEAI

    0
  • Permanently deleted user

    Images can be displayed in both the feature description and feature long description.

     

     

    /customer/servlet/servlet.FileDownload?file=00P6000000e88PiEAI

    0
  • Permanently deleted user

    Great - thanks for the help...still on the learning curve here so can I ask how you go about dynamically selecting the picture for the selected feature?   I can insert a hyperlink without problem but to include the image dynamically in the Feature description I'm not having any luck (I can hard code the image but that gives me the same image for all selections) .  I have a field in my feature layer called "Image1" that includes the full name of the image contained in the virtual directory - e.g. Field Name  = Image1,  actual image name in selected field = 111WilliamSt_1.JPG .  I've put the actual image in http://SERVERNAME/VIRTUALDIRECTORY/111WilliamSt_1.JPG and then used the following Feature Description source

    "{Provider}<br/>Program: {Housing_Program}<br/>Mandate: {Mandate}<br/>Address: {Address}<br/>Bedrooms: {Bedrooms}<br/><br/><img src="http://MYSERVER/VIRTUALDIRECTORY/{Image1}"/><br/>"

    I know I'm missing something very simple here, just not finding it - thanks for any help!

    0
  • Permanently deleted user

    Got it - forgot to declare a width and height and this was a large jpg!

    0

Please sign in to leave a comment.