Summary
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.
Procedure
- Open a new script window.
A. Activate the Project window.
B. Click the Scripts icon.
C. Click New.
- Add the View.HotLinkImage (lnkimgvw.ave) sample script.
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'.
A. Select Properties from the Script menu.
B. Type in a new name in the Name field.
C. Click OK.
- Click the Compile button.
![[O-Image] Script compile button](https://webapps-cdn.esri.com/CDN/support-site/technical-articles-images/000002108/00N39000003LL2C-0EM39000000wcQO.png)
- 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.