The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

image max-size

RamiusRamius Joined: July 19, 2000Administrator, ClubPA admin
I've created a new style rule that sets a max-width and max-height of 900px for images in posts.

If this creates an issue for anybody, let me know. But I think in general that should be plenty big enough to be legible while mitigating the effect of e.g. mobile screenshots blowing up the thread with giant images.

If you do want to see an image in greater detail, you should be able to open it in a new tab to see the full-size.

1zxt8dhasaon.png

Posts

  • BahamutZEROBahamutZERO Registered User regular
    edited July 21
    will that make images tiny on like, 4k screens?

    I guess that doesn't matter, nobody should be posting 4k images inline anyway except in maybe like, screenshot threads


    test
    tdxwvd18krwj.png


    yeah that seems to be reasonable, and you can indeed see the full size version if you open it in a new tab or save it

    BahamutZERO on
    BahamutZERO.gif
  • BroloBrolo Broseidon Lord of the BroceanRegistered User regular
    forumers should still be aware that uploading a 5mb image, even if it has a max-width constraint that makes its display reasonably sized, still uses 5mb of largely wasted bandwidth, which can be a lot for mobile data plans

    to manage upload sizes:

    desktop users can freely upload images to imgur:
    https://imgur.com/
    and if you want to adjust served image sizes, you can add a few different url suffixes to shrink sizes:

    lcLPQlZ.png
    https://i.imgur.com/lcLPQlZ.png <-- native size, 290KB, 1280 x 720 and then downscaled to 900 x 506 by the forum

    lcLPQlZh.png
    https://i.imgur.com/lcLPQlZh.png <-- huge thumbnail, 89kb, served at 819 x 460

    lcLPQlZl.png
    https://i.imgur.com/lcLPQlZl.png <-- large thumbnail, 38kb, served at 512 x 288

    lcLPQlZm.png
    https://i.imgur.com/lcLPQlZm.png <-- medium thumbnail, 11kb, served at 256 x 144

    lcLPQlZt.png
    https://i.imgur.com/lcLPQlZt.png <-- tiny thumbnail, 4kb, served at 128 x 72

    mobile users can use the QuickIB app, which also uploads to imgur for free, and allows for the same suffixes to be added to image urls

    https://play.google.com/store/apps/details?id=com.superyao.tuchuang&pli=1



  • RamiusRamius Joined: July 19, 2000 Administrator, ClubPA admin
    Yes, although that should be mitigated a bit by the forum software having a srcset with CDN resized images at 800, 1200 and 1600 viewport breakpoints.

    For instance, that https://i.imgur.com/lcLPQlZ.png you posted is actually 2560x1440 and 5MB but my browser loaded it at 1600x900 and 235KB.

    1zxt8dhasaon.png
Sign In or Register to comment.