I removed it from the config.xml, but, it still shows up. Here is my config.xml:
<?xml version="1.0" ?> <configuration> <fields>SIS_ID,OSE_ID,OSE_REPORT,CLASSIFICATION,MRSTEW_DESC,PHOTOS</fields> <titlefield>OSE_ID</titlefield> <links> <!-- <linkfield icon_or_text_or_img="img" icon="" linkalias="Photo" linkprefix="http://gis01.wch-rcc.com/hanf/images/" linksuffix="">PHOTOS</linkfield> --> </links> <multiimagefield linkprefix="http://gis01.wch-rcc.com/hanf/images/" linksuffix="" nexttooltip="Next" prevtooltip="Prev">PHOTOS</multiimagefield> <!-- <datefields>collection_time</datefields> --> <zoomscale>50000</zoomscale> <csvseparator>,</csvseparator> <layername>MR Features</layername> <labels> <csvdefaultname>Related Records</csvdefaultname> <exportbtnlabel>Export...</exportbtnlabel> <export2csvoptionlabel>Export to CSV...</export2csvoptionlabel> <export2txtoptionlabel>Export to Txt...</export2txtoptionlabel> </labels> </configuration>
Mine actually has the subfolder(s)/filename.jpg in the field but Robert made the widget to work either way, and is set up in the individual xml config files. Some of mine have MANY photos, so I ran into field length issues and such trying to code entire paths. Since I just have the folder/filename in there, I use the linkprefix tag in the xml to add the "http://server/basepath/" Have not tried it, but if you have the full URL in the hyperlink field, then should work if you don't use the linkprefix <multiimagefield linkprefix="" linksuffix="" nexttooltip="Next" prevtooltip="Prev">HYPERLINK </multiimagefield>. Also, he has a linksuffix option as well if you need to append ".jpg" or the like to the path. So, your URL will be the <linkprefix> + <linkfield> + <linksuffix>. Should give you the freedom to set it up as you like. R_
<multiimagefield linkprefix="" linksuffix="" nexttooltip="Next" prevtooltip="Prev">HYPERLINK </multiimagefield>
That did the trick. Thanks! one more quick question, the attribute table where I have my photos stored. The photos are in the HYPERLINK field stored as "http://servername/folder/photo.jpg Does this make a difference or should I have the photo file name only as opposed to the entire URL to the specific photo in one field?
Since you are using the compiled version, it shouldn't be a build project issue. My first thought would be to clear all the browser cache files, then open in a "new" browser window.Pressing <cntrl><F5> is supposed to reload without cached pages, so might try that. However, depends on what flakiness your windows has, this works great on some of my computers, others it just ignores it. Have not been able to figure out why, but on the ignore box's, one has to clear the cache pages AND start a new browser EVERY time you make a change, or you won't see it.R_
The "more" tab is related to the MapSwitcher widget. either remove the San Francisco 3-1-1 service from your operational layers in the config.xml (if you don't want it on the map) OR, set up the MapSwitcherWidget.xml to exclude that layer if you need it in your map but do not want it to show in the "more" tab.R_
Timothy,I tried it with 3.0 yesterday with no joy. I'm hopefull that we will get this functionalilty in 3.0 as it is a great feature.Your are right, Roberts widget works like a charm if you follow the instructions exactly.. Remember no spaces in between the photo names, etc. The following link has a bunch of good info on some of the quirks I ran into, how to code sub-folders into the path, etc.http://forums.arcgis.com/threads/26094-view-multiple-pictures?p=157815#post157815Once you get it set up, should do just what you are after,R_
Don't know that it works in 3.0, but this is the only way I have found to hyperlink "multiple" comma separated photos for a single feature. At least using Viewer 2.5.http://www.arcgis.com/home/item.html?id=4ec33120c9ea4d019fddf722fc34ea3cMight get some ideas there.R_
You can set up the popup for this layer, and specify something like this in your configuration file:<img src="http://yourserver/yourphotofolder/{PHOTOS}"/>
I installed the Flex Viewer 3.0. Works great. But, I have 100 digital photos each one is linked to a point in a point feature class. I want the user to be able to click on the point and the photo with some associated data fields will popup in a Flash Window. All of the photos are in one directory on our server, there is a field called "PHOTOS" in the attribute table of the point feature class with the name of each photo, for example, img6543.jpg, img3234.jpg, img7684.jpg associated with each point.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.