Skip to content

Handles the creation of extra file derivative types that we need.

Notifications You must be signed in to change notification settings

UniversityOfNottingham/MOASDerivatives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MOASDerivatives

Release License Build Status Scrutinizer Code Quality

This plugin allows the definition of additional image derivative sizes. It's a bit of a hack since it attaches on the back of the record (and default derivative) creation and has to undo a bit of cleanup that's already been done.

It also needs to have it's own storage adapter loaded into Omeka since the paths we're allowed to write to (i.e. derivative types. e.g. '/thumbnail') are hard coded into the default Omeka adapter.

##Configuration The plugin needs the storage adapter it provides enabled in an Omeka configuration file application/config/config.ini

By default the line is commented out and refers to the S3 storage adapter. Change it as below.

[site]
storage.adapter = "MOAS_Storage_Adapter_Filesystem"

#####Note

  • Entering the configuration line into config.ini without enabling the plugin will break Omeka.
  • Enabling the plugin without entering the configuration line will prompt you to add the configuration as soon as possible.
  • To this end your best bet is to enable the plugin first and then add the configuration directive.

About

Handles the creation of extra file derivative types that we need.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages