Skip to content
This repository was archived by the owner on Nov 6, 2023. It is now read-only.

evaluate IIIF image options #28

@evanwill

Description

@evanwill

CONTENTdm implementation of IIIF has some limitations.

currently:

  • image includes use pct: with % set in the theme.yml, e.g. large pct:70. this works consistently with most collections, unless the images in CDM are abnormally large or small. However, using % is a bit random since you don't know the starting size. Secondly, CDM does not seem to allow less than 10%.
  • carousel include uses just the height, ,h based on the height of the carousel. This ensures the image makes sense in that location, but can end up with odd sizes for images with extreme ratios, large landscape or large vertical images.

going forward:

  • best option would be !w,h which should give something scaled to best fit inside those dimensions, but CDM is just returning max instead. so unfortunately this doesn't work.
  • do we want to switch from pct: to height or width?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions