Skip to content

Invalid ImageKit quality parameter (NgOptimizedImage placeholder) #55192

@johnnygerard

Description

@johnnygerard

Which @angular/* package(s) are the source of the bug?

common

Is this a regression?

No

Description

The current quality parameter for low quality placeholders (see Using Placeholders) is ignored by ImageKit.

Current behavior:

<img ngSrc="medium_cafe_B1iTdD0C.jpg" alt="" width="600" height="600" placeholder>

Generated placeholder URL: https://ik.imagekit.io/demo/tr:w-30/medium_cafe_B1iTdD0C.jpg?q=20

The correct URL should be either one of these:

Also note that the transformation parameters cannot be mixed like this:

ImageKit documentation links:

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

No response

Please provide the environment you discovered this bug in (run ng version)

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

area: commonIssues related to APIs in the @angular/common packagestate: has PR

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions