nicolashmln / strapi-plugin-responsive-image

Custom responsive image formats for https://strapi.io
160 stars 29 forks source link

Multiple responsive image types #6

Closed yusufisl closed 3 years ago

yusufisl commented 3 years ago

Hello, thank you for your great plugin, love it.

I have a question, sometimes we have different image breakpoints in some use cases. (ex: user avatar and product thumbnail).

Do you have plan to make it happen ?

nicolashmln commented 3 years ago

Thank you.

At the moment the strapi media library plugin doesn't give the ability to have different breakpoints for different use cases (eg. having the breakpoint avatar for the field photo in the content type user). I think you can ask this feature directly to the strapi team. What you can do with this plugin is define all your breakpoint's use cases and when you upload an image you'll have all the formats. I understand for some images some breakpoints won't be used, but that's the best we can do at the moment.