-
Notifications
You must be signed in to change notification settings - Fork 65
Image Sizes
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.
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)
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)
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)
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)
Configuration
- Blacklight
- Page widgets
- Resource scenarios
- Image sizes
- Queueing backends
- Creating a theme
- Configure S3 data storage
- Translations and Internationalization
- Adding new navigation menu items
Case studies
Building an exhibit
- Quickstart guide
- Configuration settings
- Adding and managing items
- Creating feature pages
- Creating about pages
- Creating browse categories
- Exhibit on exhibits - Stanford specific, yet generalizable
Development