Page MenuHomePhabricator

srcset will use invalid thumbnail size for large images
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Insert an image that is in the largest thumbnail bucket: e.g. [[File:Example.svg|3840px]]

What happens?:

  • The srcset attribute uses a thumbnail size not in the allowed sizes for the 2x size
  • Image does not load.

What should have happened instead?:

  • If size is above biggest bucket then 2x size should be for either the original image or omitted entirely.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Current version on wikipedia

Other information (browser name/version, screenshots, etc.):