Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Media rendering

CollectiveAccess edited this page Jul 28, 2016 · 3 revisions

Supported versions (use for both media preview and rendering):

  • icon: 72x72
  • thumbnail: 200x160
  • medium: 400x400
  • large: 1000x1000
  • huge: 2000x2000

Sizes are defined in app/helpers/application_helper.rb

Supported options (media rendering):

:static => force media to be rendered as a static image if possible. For preview frame will be used.

Default preview:

When no preview image is available the default icon in assets/images/no_preview.png will be used.

Clone this wiki locally