Retina screenshots are double in size
Hi @KajMagnus
Take a look at something like this page:
https://forum.soundflow.org/-3904#post-2
I copy-pasted a screenshot on the Mac directly into the forum, but the screenshot appears as double the size. This is because the screenshot is coming from a Retina screen, so the pixel scaling factor is 2x.
Is there any way for Talkyard to read that metadata from the .png file so it can appropriately size the element in the HTML?
- In reply tochrscheuer⬆:KajMagnus @KajMagnus2021-02-23 10:56:22.076Z
Status update: This was more complicated (lots of minor "annoying" things) than what I could have guessed. I paused this, to get some other things done, in between.
What about, as a temp workaround, set a
.dw-p img { max-width: 800px; }
— then the images won't be wider than the text column.Edit: Oops that's not a good work around. Better to leave the existing max-width,
100%
, as is — that works also for images in indented replies (although doesn't solve the problem). - Progresswith handling this problem