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?