No internet connection
  1. Home
  2. Issues

Retina screenshots are double in size

By Christian Scheuer @chrscheuer
    2021-01-22 12:15:12.929Z

    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?

    • 2 replies
    1. I can have a look. Thanks for the link

      1. In reply tochrscheuer:

        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).

        1. Progress
          with handling this problem
        2. @KajMagnus marked this topic as Planned 2021-01-22 14:23:31.812Z.
        3. @KajMagnus marked this topic as Started 2021-01-25 09:28:07.026Z.