This is a two step process.
1. In your finding aid, you obviously have to include a pointer to the image file in your encoding of each <dao>. Assuming that this is a url in an HREF attribute, it might look like this.
<dao show="embed" href="picture.jpg"/>
2. You need to include a template like the following in your stylesheet to create the link from the <dao> element to the digital image file.
In the example above, this would generate the following in your HTML output.
From: Encoded Archival Description List [mailto:[log in to unmask]]On Behalf Of
Sent: Tuesday, April 12, 2005 1:19 PM
To: [log in to unmask]
Subject: Linking jpegs using <dao>
I am trying to encode a finding aid and am having problems linking to the
jpegs. I have jpegs of every item described in the inventory of this finding
aid and I would like to link to the component description to the jpeg. I'd
like to use <dao> . I've tried inserting <dao> and setting the attributes,
but when I transform my file to html there is no link. Do I need to add
something to my stylesheet to do this? Should I use a linking tag other than
<dao>? I'm sorry if the answer is obvious - my ead skills are rusty (at
best) and I've never tried to link to an outside file before.
Any help is much appreciated!
Linda Machado Raditz
Freer Gallery of Art and Arthur M. Sackler Gallery Archives
P.O. Box 37012, MRC 707
Washington, DC 20013-7012