Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#54911 closed enhancement (fixed)

Twenty Twenty-Two: Theme Check Plugin issue for the image size

Reported by: kafleg's profile kafleg Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 5.9.1 Priority: normal
Severity: normal Version: 5.9
Component: Bundled Theme Keywords: has-patch fixed-major
Focuses: Cc:

Description

  • Install and activate Twenty Twenty-Two theme
  • Install and activate Theme Check plugin
  • Go to Appearance > Theme Check and select Twenty Twenty Two
  • Click on check it

You will see, WARNING: assets/images/ducks.jpg is 768.2 KB in size. Large file sizes have a negative impact on website performance and loading time. Compress images before using them.

This is not a big issue but the themes team recommends theme author put the images less than 500KB.

Here is the pull request https://github.com/WordPress/twentytwentytwo/pull/349

Attachments (2)

ducks.jpg (357.9 KB) - added by kjellr 2 years ago.
54911.diff (327 bytes) - added by kapilpaul 2 years ago.
Created patch

Download all attachments as: .zip

Change History (12)

@kjellr
2 years ago

#1 @kjellr
2 years ago

Thanks — @jffng and I noticed this one yesterday too. Must have missed it while we were compressing everything. I'm attaching an alternate version that's about 50% of the file size. This should be a much better balance of quality + file size.

#2 @jffng
2 years ago

  • Milestone changed from Awaiting Review to 5.9.1

@kapilpaul
2 years ago

Created patch

This ticket was mentioned in PR #2245 on WordPress/wordpress-develop by kapilpaul.


2 years ago
#3

  • Keywords has-patch added

reduce ducks.jpg image size on twenty twenty two theme

Trac ticket: https://core.trac.wordpress.org/ticket/54911

#4 @SergeyBiryukov
2 years ago

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

In 52651:

Twenty Twenty-Two: Optimize the assets/images/ducks.jpg image.

The new file should have a much better balance of quality and file size.

Follow-up to [52081], [52107].

Props kafleg, kjellr, jffng, kapilpaul.
Fixes #54911.

#5 @SergeyBiryukov
2 years ago

  • Keywords fixed-major added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Reopening for backporting to the 5.9 branch.

#7 @Boniu91
2 years ago

  • Keywords needs-testing has-testing-info added

#8 @Boniu91
2 years ago

  • Keywords needs-testing has-testing-info removed

#9 @SergeyBiryukov
2 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 52710:

Twenty Twenty-Two: Optimize the assets/images/ducks.jpg image.

The new file should have a much better balance of quality and file size.

Follow-up to [52081], [52107].

Props kafleg, kjellr, jffng, kapilpaul.
Merges [52651] to the 5.9 branch.
Fixes #54911.

#10 @SergeyBiryukov
2 years ago

  • Summary changed from Twenty Twenty-Two - Theme Check Plugin issue for the image size to Twenty Twenty-Two: Theme Check Plugin issue for the image size
Note: See TracTickets for help on using tickets.