davestewart / nuxt-content-assets

Enable locally-located assets in Nuxt Content
https://npmjs.com/package/nuxt-content-assets
115 stars 8 forks source link

Image transformations #20

Closed davestewart closed 1 year ago

davestewart commented 1 year ago

Background

Because Content Assets copies all images from content sources to a public assets folder, there's no reason they couldn't have additional processing done on them, such as resizing, image optimisation, etc.

Proposal

Investigate image resizing and processing libraries and see if their output is any good.

Determine a system to provide instructions to do this:

Notes

Also, check out existing libs such as NuxtImg and Cloudinary to see if using them would just be better.

davestewart commented 1 year ago

Closing as Nuxt Image is built on IPX which seems to cover most if not all use cases.