I need help with an issue I am having with the latest version(1.4.5) of the shortlist template. For some reason the images for the shortlist are not showing up in the map. I downloaded the latest version of the shortlist template and installed on our AGS server. Here's the link
But, all the images appear when I append the WebMapID to one of our existing shortlist maps that's running on an older version of the shortlist template. Shortlist
Thanks in advance!
Solved! Go to Solution.
Hi June,
It looks like the attribute you are using for the image URL is just slightly different from what the application is looking for. The application is looking for an attiribute "Image_URL" and the features in your web map use "ImageURL". There is a very simple fix that will get the images to load in your Shortlist. If you open up the main.js file and edit the following line (around line 23) from:
var FIELDNAME_IMAGEURL = ["Image_URL"];
To:
var FIELDNAME_IMAGEURL = ["ImageURL"];
-Mark
Hi June,
It looks like the attribute you are using for the image URL is just slightly different from what the application is looking for. The application is looking for an attiribute "Image_URL" and the features in your web map use "ImageURL". There is a very simple fix that will get the images to load in your Shortlist. If you open up the main.js file and edit the following line (around line 23) from:
var FIELDNAME_IMAGEURL = ["Image_URL"];
To:
var FIELDNAME_IMAGEURL = ["ImageURL"];
-Mark
Thanks Mark! I forgot that I renamed those variables in my older templates.