Knowledge Base - Technical Articles
HowTo: Hotlink images using a view window to display the image
|Software:||ArcView GIS 3.1, 3.2|
|Platforms:||Windows 95, 98, NT 4.0 Solaris 2.6, 7|
ArcView comes with a sample script that allows you to hotlink to images and open them in a view as opposed to the default picture window. This document shows how to use this script with JPEG images, which can be applied to any image format supported by ArcView views.
- Open a new script window.
-show me-A. Activate the Project window.
B. Click the Scripts icon.
C. Click New.
- Add the View.HotLinkImage (lnkimgvw.ave) sample script.
-show me-A. Select 'Load Text File' from the Script menu.
B. Navigate to the ..\esri\av_gis30\arcview\samples\scripts\ directory.
C. Select the script and click OK.
- Rename the script 'Hotlink'.
-show me-A. Select Properties from the Script menu.
B. Type in a new name in the Name field.
C. Click OK.
- Click the Compile button.
- Switch to the View and make the theme you wish to hotlink from active.
- Select Properties from the Theme menu.
- Click the Hotlink icon on the left hand side.
- Configure the Hotlink properties.
a. Set the Field dropdown list to the field containing the path to the image.
b. Set the Predefined Action drop down list to 'Link to User Script'.
c. Set the Script field to the Hotlink script.
- Make sure the JPEG Image Support Extension is turned on.
- Use the Hotlink Tool as normal.
Last Modified: 4/11/2005
Article Rating: (1)