AnsweredAssumed Answered

Resize image in popup

Question asked by rwilson1983 on May 12, 2016
Latest reply on May 12, 2016 by rscheitlin

I'm creating my first web app based on the javascript API.  I'm creating a custom popup that has an image that when clicked on takes you to a specified link.  I've got the popup setup complete, with the exception of the image size.  I can't figure out where the resizing information gets placed.  Below is popup code.


var infoTemplate = new InfoTemplate();


          infoTemplate.setContent("<b>Location: </b>${Name}<br/>" +

                                  "<b>DVR: </b>${DVR}<br/>" +

                                  "<b>IP Address: </b>${IPaddress}<br/>" +

      "<b>Year Installed: </b>${YearInst}<br/>" +

      "<b>Make: </b>${Make}<br/>" +

      "<b>Model: </b>${Model}<br/>" +

      "<b>Comments: </b>${Comments} <br/>" +

      "<b>Camera: </b> Click image to see live feed <br/> <br/> <a target = '${HTMLlink}' href=${HTMLlink} </a>  <img src= </a>  <br/>") ;