-
Notifications
You must be signed in to change notification settings - Fork 24
Sufia 7, ScholarSphere 3.0 thumbnail survey
- Blacklight render_thumbnail_tag requires an image, because it only displays the thumbnail if it is an image
- By default the thumbnail is using render_thumbnail_tag
- Want to use Font Awesome over images because they render faster(?) and there is no additional image creation. Perhaps use SVG and ditch the font files.
- Review work and collection icon PR from Sufia: https://github.com/projecthydra/sufia/commit/cde8f5948b11c2d84c9b2b63a1205ce18c9e57af
Create _index_media create _media override https://github.com/projectblacklight/blacklight/blob/master/app/views/catalog/_thumbnail.html.erb to use partials
How do we remove the other overrides????
Where do we display thumbnails in the system and when they are using the default item is it an icon or an image.
- Home Page Featured Work
- _sortable_feature
- Home Page Recently Uploaded
- _recent_document
- Search Results Maisonry
- _index_masonry
- Search Results Gallery
- _index_gallery.html
- _index_gallery_collection_wrapper
- Search Results List
- _thumbnail_list_default.html
- _thumbnail_list_collection.html
- Work Show Page
- _media
- _audio
- _image
- Work Show Page File listing
- _member
- File Set Show page
- _audio
- _image
- File Set Edit Page
- _image
- _audio
- Collection Show page
- media_display
- Collection Show Work listing
- show_document_list
- index_gallery
- index_masonry
- Collection edit page
- media_display
- Collection Show Work listing
- list_works
- index_gallery
- index_masonry
- My Listings
- _list_collections
- _list_works
- User profile featured items
- _contributions
-
Thinking about using thumbnail service
-
Part of presenter
-
Look at the view code for thumbnail path service
-
concerns on how raster versus svg is handled
-
thumbnailpath service is using the indexer
-
first replace work.png with work.svg
-
second update for collection thumbnail service
-
third nuke the font awesome icons and reduce the number used
-
fourth would be to make everything use the thumbnail path service for defaults
-
scholarsphere_thumbnail service, takes the presenter, give you the appropriate thumbnail path (modeled like CC thumbnail), extends CC thumbnail path service