Select to view content in your preferred language

Query Widget - images

1110
6
12-12-2012 08:57 AM
MaciejSarnowski
Deactivated User
Hey,

I am looking for help. I make a interactive map of building. I use Query Widget to see info bout every room. And I want to put a image of this room in window query results. Anybody knows how to do it? I create a field in attribute table, where I put a url link to photo, and I put a cod line: <field name="URL" alias="URL"> but there is only a text of link(for example www.abc.com/picture.jpg). But I want to see this picture.

PLEASE HELP!

Greetings

Maciej
Tags (2)
0 Kudos
6 Replies
StevenMoore1
Esri Contributor
Can you try including 'HTTP://' at the beginning of the URL?
0 Kudos
MaciejSarnowski
Deactivated User
Of course there are full path with http://
0 Kudos
StevenMoore1
Esri Contributor
If you include the same field in a popup in the Flex Viewer does the hyperlink display correctly? You should be able to use the <medias> tag to do this. Please see the bottom of the link below:

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/Pop_up_configuration_files/01m30000002...
0 Kudos
RhettZufelt
MVP Notable Contributor
Do you have this above your <fields> tag?

 <linkfield>URL</linkfield>


It appears as if that is what they did on the queryWidget traffic cameras example.  Doesn't display the photo in the datagrid, but it does in the popup when hover/click on the result.

R_
0 Kudos
MaciejSarnowski
Deactivated User
Well. Thanks for your replies, but there is no effect.

I have a code <linkfield>URL</linkfield> above <field>.

I also create a code:
<medias>
    <media type="image"
           title="Zdj�?cie pomieszczenia"
           imagesource="URL"/>
</medias>

as it is mentioned in this link: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Pop_up_configuration_files/01m3...

But there is still no effect.....:(
0 Kudos
RhettZufelt
MVP Notable Contributor
Ok, since there are no <medias> tags in the query widget config, is this really what you are asking as you provided a link to the popupconfig info.

If you are actually using the queryWidget, look here:

http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Query_widget_tags/01m30000000t0...

R_
0 Kudos