Knowledge Base - Technical Articles


Technical Article   HowTo:  Hotlink images using a view window to display the image

Article ID: 14936
Software:  ArcView GIS 3.1, 3.2
Platforms:  Windows 95, 98, NT 4.0 Solaris 2.6, 7

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

  1. Open a new script window. -show me-

    A. Activate the Project window.
    B. Click the Scripts icon.
    C. Click New.
  2. 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.
  3. 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.
  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.

Created: 9/7/2000
Last Modified: 4/11/2005

Article Rating: (1)
If you would like to post a comment, please login

Comments

By Anonymous - 04/08/2003 7:40 AM

excellent. Way better than the little viewer that comes up normally. Now, can you do this with ArcGIS 8?

Rating: