A user, mcwumbly, reports a surprising UX behavior: images that appear fine in preview and initially after posting later get replaced with a thumbnail saying “This image is too large to display; click here to view.” The issue stems from Discourse’s server-side image resizing, which can’t be previewed client-side. The image in question was 35MB, exceeding the site’s 4MB limit (mcwumbly). codinghorror confirms the behavior is correct but the UI needs improvement. mcwumbly suggests clarifying the limit in preview and clarifying whether “too large” refers to file size or dimensions. zogstrip explains the two separate settings: one for thumbnails, one to protect mobile users from large downloads. vinothkannans has submitted a PR to improve the UI, adding explanatory text to avoid confusion, as shown in their screenshot.
If there were anyway to make it clear this would happen in the preview, that would make it a lot less surprising.
Also, it wasn’t clear to me what “too large” meant, as there are site settings both for file size and for dimensions. I wasn’t sure which setting would need adjusting with the current language.