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

Amending an Image Crop #8015

Closed
Ric-Carey opened this issue Apr 27, 2020 · 2 comments
Closed

Amending an Image Crop #8015

Ric-Carey opened this issue Apr 27, 2020 · 2 comments

Comments

@Ric-Carey
Copy link

Hello,

Seen on Umbraco 8.6.1.

If you amend the dimensions of an image crop in the image cropper data type from one size to a new one. The new dimensions are not output on the front end of the website .GetCropUrl() until the site restarts (via web config). The crop itself in the media section is updated, and you can adjust it, which in turn will adjust the positioning but to the original crop dimensions for the front end.

Expected result: adjust crop dimensions are output to the front end in real time, without need to restart.

Cheers
Ric

@nul800sebastiaan
Copy link
Member

Thanks @Ric-Carey - this duplicates #5737

@ronaldbarendse
Copy link
Contributor

@nul800sebastiaan This is a different issue, as #5737 refers to missing crops and this seems like it's using cached/outdated crops.

This might be the case when the configuration is not updated correctly (and the old crops are merged with the saved value) or because the value converter caches the ImageCropperValue based on content changes (my best guess).

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

3 participants