Select to view content in your preferred language

Problems inserting image with URL into pop-ups

859
3
08-23-2011 01:22 PM
LeighAnn_Cienek
Deactivated User
I wanted to add pictures to pop-up windows for our project layer.  The project layer has an attribute field with a URL linking to a photo on a flicker site.  I can see the link and click on it when I display that attribute field but the image does not show up in the image space.  The space shows and an image icon which I can click on to open the image in a new window, but not the image itself.  Any suggestions for getting the image to show in the pop-up?

Thanks
Tags (2)
0 Kudos
3 Replies
MikeMinami
Esri Notable Contributor
If I understand your request correctly, you're saying that you have a hyperlink to an image that's part of your attributes. When you view the attributes, the hyperlink just displays as a hyperlink, but you want to see the actual image. What you need to do is add an image to the optional Popup Media of a popup.

When configuring the popup, look to the Popup Media section and add an image. Here you can specify the URL to an image. I noticed on Flickr that any photos displayed outside of flickr must provide a link back to Flickr. This requirement actually made it difficult for me to obtain a link to the actual photo (not the photo description page), which is what you need.

This is from the Flickr website and provided as the reason why they no longer provide direct links to photo images...

[INDENT]Do link back to Flickr when you post your Flickr content elsewhere.
Flickr makes it possible to post content hosted on Flickr to other web sites. However, pages on other web sites that display content hosted on flickr.com must provide a link from each photo or video back to its page on Flickr. This provides a way to get more information about the content and the photographer.
[/INDENT]

I was able to find an explicit link to a photo by viewing the HTML code and copying the image src. Maybe there are other ways to do this too, I don't know.

Hope this helps,

Mike
0 Kudos
LeighAnn_Cienek
Deactivated User
Thanks Mike- that is helpful.  I was directing the image to the URL, here is an example  http://www.flickr.com/photos/trianglelandconservancy/5257900413/

I guess they changed this as you used to be able to link directly to the picture.  I figured out how to pull from the source code and that seems to work, but hate to have to go back and re-link the 80 projects.  Is there a site you have found that is better for linking photos?

thanks
Leigh Ann
0 Kudos
MikeMinami
Esri Notable Contributor
Sorry, I don't have any suggestions.

Mike
0 Kudos