Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sizes option with Cloudinary not working #262

Closed
MielPoule opened this issue May 12, 2021 · 1 comment
Closed

Sizes option with Cloudinary not working #262

MielPoule opened this issue May 12, 2021 · 1 comment

Comments

@MielPoule
Copy link

MielPoule commented May 12, 2021

Hey !

When I use the sizes option on nuxt-img with Cloudinary provider, the urls that are generated are broke.

For example :
<nuxt-img src="anyimage.jpg" provider="cloudinary" sizes="sm:100vw" width="500" height="500" />

Will generate urls like this one :
https://res.cloudinary.com/myaccount/image/upload/w_640,h_500,_cHeight_640/anyimage.jpg

_cHeight is not a valid parameter for Cloudinary and therefore urls are broken.

Thank you for this great plugin !

@pi0 pi0 closed this as completed in 9a93f19 May 12, 2021
@pi0
Copy link
Member

pi0 commented May 12, 2021

Thanks for issue. Should be fixed in next release.

procrates pushed a commit to procrates/nuxt-image that referenced this issue Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants