-
Notifications
You must be signed in to change notification settings - Fork 63
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)
About Spotlight - for Newcomers
- What is Spotlight?
- Connect With Us
- Exhibit Creator Release Notes
- Institutional Spotlight Sites
- Examples & Demos
Configuration - for Developers
- How to Contribute
- Installation
- User Roles
- Blacklight
- Common Workflows for Adding Items to Spotlight
- Page Widgets
- Resource Scenarios
- Image Sizes
- Queueing Backends
- Creating a Theme
- Configure S3 Data Storage
- Translations and Internationalization
- Adding New Navigation Menu Items
- Stanford Case Study
Building an Exhibit - for Creators