Skip to content

dpr: auto no longer works when responsive is set #137

@syropian

Description

@syropian

Describe the bug in a sentence or two.

Since #122, having both dpr="auto" and responsive attributes on an image results in blurry images for devices with a DPR higher than 1. Rolling back to v1.1.2 fixed the issue for me.

Issue Type (Can be multiple)

[ ] Build - Can’t install or import the SDK
[ ] Babel - Babel errors or cross-browser issues
[x] UI/Performance - Display or performance issues
[ ] Behaviour - Functions aren’t working as expected (Such as generate URL)
[ ] Documentation - Inconsistency between the docs and behavior
[ ] Incorrect Types - For typescript users who are having problems with our d.ts files
[ ] Other (Specify)

Steps to reproduce

  • Add a CldImage element with responsive and dpr="auto", view on a device with a DPR > 1 (most mobile phones these days)

Versions and Libraries (fill in the version numbers)

Vue Cloudinary SDK - >= 1.2.0

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions