Add images sizes in Attachment
We need to have links images sizes to reserve space and avoid chat jumping
Connected to Huly®: UBERF-9272
Currently, the image size for link preview is
https://github.com/hcengineering/platform/blob/develop/plugins/attachment-resources/src/components/LinkPreviewPresenter.svelte#L80
Kristina Fefelova What size should we set?
Link preview attachments now save the preview image's width and height in their metadata. The preview component uses those dimensions to reserve the right amount of space, so the chat should no longer jump when the image loads. This was added in #8294. This looks resolved, so the issue could be closed.
@denis-tingaikin — based on the check described above, this looks resolved in the current code. Could you please close this issue if you agree? If you think it is not fixed yet, please describe what still goes wrong (steps, expected vs. actual behaviour), so it can be looked at again.