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.setTitle("${FacilityID}");
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= https://www.nasa.gov/sites/default/files/styles/image_card_4x3_ratio/public/images/115334main_image_feature_329_ys_full.jpg?itok=5fCNhx13 </a> <br/>") ;