Skip to content
Bess Sadler edited this page Jul 12, 2022 · 2 revisions

Spotlight uses IIIF to handle viewing images that are uploaded for various purposes around the site. There are configurable sizes in Spotlight that will be used in the IIIF API parameters to generate the various image sizes. These various sizes are set in the Spotlight::Engine.config and can be con figured locally in an initializer similar to other Spotlight::Engine.config options.

Thumbnails for pages, exhibits, uploaded items

Square Thumbnail

This is a square image used in places like the exhibit thumbnail itself on the Spotlight landing page.

Spotlight::Engine.config.featured_image_square_size (Default: 400px x 400px)

Thumbnail

This is intended to be a thumbnail that is wider than a square thumb that can be used in more non-grid interfaces like search results.

Spotlight::Engine.config.featured_image_thumb_size (Default: 400px x 300px)

Other Image Versions

Contact Thumbnail

This is a thumbnail that can be used to show a representative image for an exhibit's contact (shows in the about page sidebar).

Spotlight::Engine.config.contact_square_size (Default: 70px x 70px)

Masthead

This is the size of the image used as the background of mastheads for an exhibit or a browse category. If changing this, you'll want to maintain a similarly high aspect ration as this image works best if it is a very wide and short image.

Spotlight::Engine.config.masthead_initial_crop_selection (Default: 1200px x 120px)