Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

On the homepage of the digital collections, we showcase a series of “featured topics” (also known as “homepage categories”. As of 2021, we have nine of them: “Women in Science”, “Instruments and Innovation”, and so on. For examples of past Github issues relating to these, see e.g. water, portraits and people, women in science, and so on. When we create a new one, a curator typically provides the developer with a thumbnail cropped from an original TIFF chosen from the digital collections.

Instructions for the curator

To create the thumbnail:

  • Download a high-resolution original TIFF from the digital collections.

  • Crop the TIFF so that the resulting file is a square at least 2000 pixels on each side.

    • Assume the bottom sixth of the image will be hidden by the label displayed in front of the thumbnail.

  • Place the cropped TIFF in:
    P:\Othmer Library\Digital Collections - External Access\Crops for Hydra Redesign\cropped_tiffs\categories

Instructions for the developer

Use imagemagick to convert the thumbnail suitable for the home page using the following command:
convert original_file.tif -density 600x600 -resize 700x new_thumbnail_2x.jpg

The resulting thumbnail checked into the codebase should be:

  • a jpg

  • 600x600 density

  • segment length 16

  • progressive

  • precision 8

  • 700 pixels wide

  • 700 pixels tall

  • 3 frames

  • with a name ending in _2x.jpg, consistent with the other files in the featured topics asset directory.

For more technical information on featured topics, see:

  • No labels