ArcGIS 10 HTML popup code for images

I'm diving into using the HTML popup in ArcGIS 10 and I'm trying to figure out how I can get an image to appear. I have a point file that contains the field "Coll" that has a image name with no extension ("100015"). All the images are stored in a directory ("T:\SEFIS2010_GVdata\SEFIS Video"). I can make an image appear in the popup using this XSL code

   
but what is the syntax to append the directory, the FieldName, and the ".jpg" extension? 65.3k 29 29 gold badges 112 112 silver badges 343 343 bronze badges asked Mar 22, 2012 at 18:01 5,820 2 2 gold badges 19 19 silver badges 29 29 bronze badges

3 Answers 3

This was the code I ended up using inside one of the XSL samples.

   

Edit This is the full XSL code where this is used

           
Field Name Field Value
http://

44.1k 5 5 gold badges 41 41 silver badges 82 82 bronze badges answered Apr 4, 2012 at 21:07 5,820 2 2 gold badges 19 19 silver badges 29 29 bronze badges

Hi @kenbuja. I've been trying to work this out. Traditionally I have a point shape file and one field is the full path to a jpeg, e.g. field is called filepath and the value in the row might be c:\temp\rubbish.jpg. I can set this up no problem as a hyperlink but I now want to display it as a HTML popup. Your answer above seems to be the solution but I do know where you insert this code? I have loaded the default template but where does what you describe above go? Could you update your answer, may be with a full example of the code?

Commented Apr 28, 2016 at 14:50 I've updated the answer to show the full XSL code Commented Apr 28, 2016 at 16:30

I have never used XSL style sheets before and it's quite cryptic so seeing a nice simple clear cut example has been extremely helpful, thanks! I have now been able to get my picture to show up and have some vague idea of what it all means!