Islandora Default Thumbnails

Introduction

This module allows an administrative user to configure the default thumbnails found through the site. This functionality is non destructive to an existing objects thumbnail datastream, and will only affect the display layer thumbnails. This includes the Grid view, List view, SOLR Search results and the compound object display naviation block (not JAIL display). Supported for use with SPARQL (Legacy), SPARQL and SOLR display generation.

Requirements

This module requires the following modules/libraries:

Installation

Install as usual, see this for further information.

Configuration

This module is intended to allow the replacement of a solution packs provided default image, such as the folder.png provided by the Islandora Solution Pack Collection. Instead of relying on each solution pack to provide its default thumbnail to this module, use the Plupload module integration to supply your own.

  • After enabling this module, navigate to its configuration page ({YOUR_SITE}/admin/islandora/tools/islandora_default_thumb). Configure the default TN Datastream DSID for use with this module. Defaults to 'TN'.

Default TN

  • Select and upload an image to use as a thumbnail for objects of the specified content model. If the checkbox to the left of the content models name is not selected, it will not be used.

CModel Config

  • Choose 'Force replacement of all configured thumbnails to force the display to use the configured thumbnail for every object with the corrisponding configured CModel, regardless of the thumbnails source.

Force Replacement

  • Configure the default missing thumbnail datastream replacement image. NOTE: This will be ignored if a default thumbnail is specified already for said objects CModel.

Default Missing Thumbnail Image

  • Add source thumbnail images to be used as a base of comparison. Should any of the configured source thumbnails be found to be used by any configured content model on this modules configuration page, the configured content model image will be used in its place.

Comparison Base

The configured thumbnail per content model will only ever be used if:

  • The CModel default image is configured, selected and its current thumbnail datastream exactly matches one of the supplied Source Thumbnail images.

OR

  • The CModel default image is configured, selected and 'Force replacement of all configured thumbnails' is selected.

This functionality is supported for use with SPARQL (Legacy), SPARQL and SOLR display generation, as configured on your sites Collection Solution Pack configuration page (ex: http://{YOUR_SITE}/admin/islandora/solution_pack_config/basic_collection) Also works with the compound object display naviation block, NOT the JAIL display.

Troubleshooting/Issues

Having problems or solved a problem? Check out the Islandora google groups for a solution.

Maintainers/Sponsors

Current maintainers:

Development

If you would like to contribute to this module, please check out CONTRIBUTING.md. In addition, we have helpful Documentation for Developers info, as well as our Developers section on the Islandora.ca site.

License

GPLv3