Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Add ImageTranforms to include options #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

alexbrindalsl
Copy link

This is a rather basic way using transforms to add a list of available image transformations. A cleaner version would allow you to specify the handle you are after, however for now this does the trick.

Works only with assets that declare their 'kind' as image. Only provides URL, width and height (no information from the transformation itself, such as whether it's cropped/stretched etc)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant