You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The adding the same values to imageParams in an Image component and allowedMediaParams in a patch config does not result in an image getting sized correct. The original media URL coming from the layout service includes original h/w/iar/hash parameters that aren't getting cleared when mediaApi.updateImageUrl gets called. This appears to have changed as part of issue #172 and PR #275 .
Expected behavior
Passing in the exact same parameters to imageParams and allowedMediaParams should result in an image getting sized correctly.
Steps To Reproduce
Create an Image instance with imageParams.
Add the exact same imageParams to the allowedMediaParams patch config.
Look at the rendered image to see if it's sized correctly based on the params.
Possible Fix
Revert the change to the mediaApi.
The text was updated successfully, but these errors were encountered:
Description
The adding the same values to imageParams in an Image component and allowedMediaParams in a patch config does not result in an image getting sized correct. The original media URL coming from the layout service includes original h/w/iar/hash parameters that aren't getting cleared when mediaApi.updateImageUrl gets called. This appears to have changed as part of issue #172 and PR #275 .
Expected behavior
Passing in the exact same parameters to imageParams and allowedMediaParams should result in an image getting sized correctly.
Steps To Reproduce
Possible Fix
Revert the change to the mediaApi.
The text was updated successfully, but these errors were encountered: