Making WordPress.org

Opened 4 months ago

Closed 3 months ago

#7888 closed defect (bug) (fixed)

Download link doesn't show original size but the -scaled

Reported by: nilovelez's profile nilovelez Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Photo Directory Keywords:
Cc:

Description

The download dropdown on each single photo page shows an option as "Original Size", but it is actually the "Scaled" thumbnail size.

Example
https://wordpress.org/photos/photo/1596788b8b/

The original is 4912 x 3264 and weights 5,9Mb
https://pd.w.org/2025/01/1596788b8bf2bc652.88865899.jpg

The biggest size in the Download dropdown is "Original Size (3200×2126) 1 MB"
https://pd.w.org/2025/01/1596788b8bf2bc652.88865899-scaled.jpg

Change History (1)

#1 @coffee2code
3 months ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 14386:

Photo Directory, Uploads: Ensure override of 'big_image_size_threshold' takes precedence.

The parent theme of the new theme sets a threshold of 3200, which caused a scaled image to be used and potentially also return an insufficient dimensions error.

Props nilovelez, benniledl, jeffpaul, coffee2code.
Fixes #7854, #7888, #7904.

Note: See TracTickets for help on using tickets.