-
Notifications
You must be signed in to change notification settings - Fork 73
Closed as not planned
Labels
enhancementNew feature or requestNew feature or request
Description
I would like to explore the possibility of serving (/_hub/images/**
) as well a transforming them using photon.
The transformers could follow the same convention as Cloudflare Images (https://developers.cloudflare.com/images/transform-images/transform-via-url/) (see Nuxt Image transformer)
Later we could have a Nuxt Image nuxthub
provider (which will be the default with @nuxthub/core
and hub.images = true
)
We may want to also give the possibility to store the transformed image inside the blobs, this could be achieved by using some options inside the hub.images
key.
We need also a way to prevent abuse by whitelisting the authorized transformations?
hub: {
images: {
transformers: [
{ width: 30, height: 60 },
{ width: 120, height: 360 }
]
}
}
It will also resolves #126
Shhu, LTDCoaching, matt-clegg, Mokkapps, devzom and 2 morezacwebb, FutureExcited, shinGangan, fredgig, Shhu and 9 moreshinGangan, fredgig, Shhu, maximepvrt, matt-clegg and 1 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request