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

Fix that closes #1314 -dh2.0-large-images-breaks-view #1315

Merged
merged 2 commits into from
Apr 12, 2023

Conversation

jesade-vbg
Copy link
Contributor

Closes #1314

Copy link
Member

@Hallbergs Hallbergs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the examples (exempeldokument.json etc.) both width and height are set, and the solution seems to work great!

Is this going to be a breaking change? I.e. are there users with only height set? Maybe the img-refs are always saved with both height and width from admin? In that case we should be safe!

@jesade-vbg
Copy link
Contributor Author

In the examples (exempeldokument.json etc.) both width and height are set, and the solution seems to work great!

Is this going to be a breaking change? I.e. are there users with only height set? Maybe the img-refs are always saved with both height and width from admin? In that case we should be safe!

Yes, admin only accepts empty width and height or both filled. Should not break anything.

@jesade-vbg jesade-vbg merged commit 8396fdd into develop Apr 12, 2023
@jesade-vbg jesade-vbg deleted the fix/1314-dh2.0-large-images-breaks-view branch April 12, 2023 07:56
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

Successfully merging this pull request may close these issues.

None yet

2 participants