How To: Hotlink images using a view window to display the image


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.


  1. Open a new script window.

    A. Activate the Project window.
    B. Click the Scripts icon.
    C. Click New.

  2. 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.

  3. Rename the script 'Hotlink'.

    A. Select Properties from the Script menu.
    B. Type in a new name in the Name field.
    C. Click OK.

  4. Click the Compile button.
    [O-Image] Script compile button
  5. Switch to the View and make the theme you wish to hotlink from active.
  6. Select Properties from the Theme menu.
  7. Click the Hotlink icon on the left hand side.
  8. 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.
  9. Make sure the JPEG Image Support Extension is turned on.
  10. Use the Hotlink Tool as normal.