nuxt / image

Plug-and-play image optimization for Nuxt applications.
https://image.nuxt.com
MIT License
1.34k stars 270 forks source link

Better integration with @nuxtjs/cloudinary #1117

Open Baroshem opened 11 months ago

Baroshem commented 11 months ago

Hey folks!

I wanted to talk about a better integration of NuxtCloudinary module with the main Nuxt Image module.

The idea originated from https://github.com/nuxt-modules/cloudinary/issues/163#issuecomment-1812930812

The Image module allows to use Cloudinary as a provider but it only supports certain basic optimization and customization options that would definitely serve majority of users that just want to have optimized images but for those who wish to have advanced cases, the image module may not be enough.

The aim of NuxtCloudinary is to solve that problem by delivering more customization options, OgImage, VideoPlayer, ProductGallery and many more.

So I have two propopsitions that I would love to have your feedback about:

  1. Allow users to use NuxtCloudinary with NuxtImage as an external dependency in some way? (I can think about interface and potential usage if you think it is worth it)
  2. Mention NuxtCloudinary in the official Nuxt Image docs to be used for these more advanced cases

Let me know what you think about it :)

Baroshem commented 11 months ago

Hey guys, any feedback about it? :)

Baroshem commented 11 months ago

As discussed during Nuxt Insiders meeting, I will create a PR for Nuxt Image docs with a link to Nuxt Cloudinary for more advanced Cloudinary usage.