Thumbnails for text documents
Talked with CC, and we decided that we want to show thumbnails of title pages in the teasers for text documents whenever we can. To that end, I've extracted and trimmed up teaser-sized images from all of the PDFs I have; CC has a couple more that I don't have, and she'll send them on. Once that's done, I have to determine how to make them work. Right now, the XQuery simply copies the first graphic/@url
into an @n attribute on the <bibl[Struct]>
tag which is generated as part of creating the TOC; this is then used to generate the thumbnail link, on the assumption that if there's an image, there's a thumbnail. I think we're going to have to be more explicit than this, though, so we can link in a thumbnail separately from a parent image (because for the texts, we won't be showing any larger image at all). This will require changes to both XQuery and XSLT, and presumably also to the XML of documents for which we now have thumbnails.