Pictures don't show with a public URL

2310
7
Jump to solution
06-17-2014 07:19 AM
AndrewLeifel
New Contributor
I am attempting to add pictures into my shortlist, but I cannot get them to show.  I have tried re-sizing the picture cause it was too big to begin with, I have filled in all the fields with a picture URL, and nothing shows up.  I have even made sure that the pictures are viewable on a public access computer, but I can't get it to work.  The picture shows up in my web map though.  I saw another post  about pictures not showing up, but theirs was not a publicly accessible.  I am out of ideas.
0 Kudos
1 Solution

Accepted Solutions
RupertEssinger
Frequent Contributor
That will work OK in the Shortlist. In your web map, the shapefile- or CSV-file based point layers containing your points need to have a field called IMAGE_URL that contains the URL to each of your images, including the http at the beginning of the URL.

I had a look at your web map:
http://gurneeil.maps.arcgis.com/home/webmap/viewer.html?webmap=c538db1526a841ef84fbf0fc5d527f60
and your points don't have an attribute called IMAGE_URL containing the URL of each picture. The Shortlist looks for that field to get its photos so if it isn't there it won't work.

You should really start over and create your point layer using one of the Sample shapefile or Excel file templates which you can find in the Samples folder of the Shortlist download: that's the easiest way to create the Shortlist layers with the correct attributes. You can then upload your Shapefile or Excel spreadsheet (after exportig it to CSV into your web map. It's an extremely simple set of attributes but if you don't use that set of attributes it won't work. Have a look at the web map we use for the Downtown Washington DC Shortlist to see three CSV file-based point layers with the correct attributes (Attractions, Food, Design):
http://www.arcgis.com/home/webmap/viewer.html?webmap=66502e241a6e4f72a1d9c1a80fcbc2d7
That web map also contains two shapefile-based polygon layers we also include in that Shortlist as clickable layers so they also have the correct set of Shortlist attributes. In that web map you can open the table for each layer to see the set of attributes each layer has (they all use the same standard Shortlist attribute set).

View solution in original post

0 Kudos
7 Replies
RupertEssinger
Frequent Contributor
Can you paste the URL to one of your graphics so we can see if it works.
0 Kudos
AndrewLeifel
New Contributor
http://webmaps.gurnee.il.us/webpics/interestpoints/020.jpg

This is just a test picture, but I tried it with the real thing and it doesn't work at all.
0 Kudos
RupertEssinger
Frequent Contributor
That will work OK in the Shortlist. In your web map, the shapefile- or CSV-file based point layers containing your points need to have a field called IMAGE_URL that contains the URL to each of your images, including the http at the beginning of the URL.

I had a look at your web map:
http://gurneeil.maps.arcgis.com/home/webmap/viewer.html?webmap=c538db1526a841ef84fbf0fc5d527f60
and your points don't have an attribute called IMAGE_URL containing the URL of each picture. The Shortlist looks for that field to get its photos so if it isn't there it won't work.

You should really start over and create your point layer using one of the Sample shapefile or Excel file templates which you can find in the Samples folder of the Shortlist download: that's the easiest way to create the Shortlist layers with the correct attributes. You can then upload your Shapefile or Excel spreadsheet (after exportig it to CSV into your web map. It's an extremely simple set of attributes but if you don't use that set of attributes it won't work. Have a look at the web map we use for the Downtown Washington DC Shortlist to see three CSV file-based point layers with the correct attributes (Attractions, Food, Design):
http://www.arcgis.com/home/webmap/viewer.html?webmap=66502e241a6e4f72a1d9c1a80fcbc2d7
That web map also contains two shapefile-based polygon layers we also include in that Shortlist as clickable layers so they also have the correct set of Shortlist attributes. In that web map you can open the table for each layer to see the set of attributes each layer has (they all use the same standard Shortlist attribute set).
0 Kudos
AndrewLeifel
New Contributor
That was such a simple change.  Thanks!  I just can't believe that I didn't figure that out myself.
0 Kudos
LaurenYee
Occasional Contributor
I'm having an issue with this as well.
Within our own network we can see the images, however when I go mobile or from home the images are unavailable. The images are hosted in a sub folder with the story map.

http://mapamherstburg.ca/walkingtour/

Any idea what's going on?
0 Kudos
RupertEssinger
Frequent Contributor
Hi Yeel.

Can you post the URL of one of the images that isn't appearing as it is being referenced from your map tour? Actually I had a look at the map tour layer in the web map you are using for your map tour:

http://www.arcgis.com/home/webmap/viewer.html?webmap=3be2c5ebc02743a99db997779c707e3e

and the URLs to the images in your map tour layer's attribute table are not valid Internet URLs:

For example you have:

http://gisserver/WalkingTour/Images/Dalhousie Bistro.jpg


http://gisserver/WalkingTour/Images/Dalhousie Bistro.jpg

which isn't a valid URL. That URL won't work irrespective of whether it is in the map tour or not. If you are referencing your map tour images on the web via URLs, you should try them in your web browser first to make sure they work. For example I'm making a map tour at the moment and I've chosen to put the images on a public server I have access to so they can be accessed via URLs, like this one:
http://downloads.esri.com/blogs/places/sandiego/bread_and_cie2_large.jpg
which I then put into the attributes of the point layer in my map tour layer in my web map. That URL works whether it is just opened in a web browser or opened in the map tour.

If your images are hosted in the same folder as the map tour, it is best to reference them from your map tour layer with a complete URL, starting with the domain name of your map tour: http://mapamherstburg.ca/

Alternatively you can simply load your images into Flickr, or one of the other photo sharing systems supported by the map tour, and let the map tour reference the images automatically for you, and not have to deal with URLs at all.

Or if you have an organization subscription to ArcGIS Online you can upload your images via the map tour builder and let us host them for you (in a feature service) which also saves you dealing with individual URLs.



Hope that helps.
0 Kudos
LaurenYee
Occasional Contributor
Thanks Rupert!
It was just a case of changing my csv to the correct path. Instead of using gisserver (which works internally) and changing that to the public url (mapamherstburg) such a silly mistake!
0 Kudos