WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#48292 closed task (blessed) (fixed)

Upload images to w.org CDN for use in the Block Editor block previews

Reported by: mapk Owned by:
Milestone: 5.3 Priority: normal
Severity: critical Version:
Component: Editor Keywords:
Focuses: ui, performance Cc:

Description (last modified by Otto42)

This tickets relates to https://github.com/WordPress/gutenberg/pull/17493 about showing examples of blocks in the Block Library Preview. These block previews contain images that need to be hosted somewhere.

What we've tried:

  1. Base64 encoding the images was too large.
  2. Linking to external sources that were out of our control, like wikipedia, was a concern.

Neither of those options worked, so it's opted to host these images on w.org. Included is a zip of some public domain images pulled from wikipedia. Can we get these added to the w.org CDN for this purpose before WP 5.3 RC1? Thanks!

cc @otto42

Attachments (2)

Block-Preview-Images.zip (1.9 MB) - added by mapk 2 years ago.
Wikipedia images for hosting on w.org's CDN.
Block-Preview-Images-jpg.zip (230.1 KB) - added by Otto42 2 years ago.
Optimized JPG versions of these images

Change History (9)

@mapk
2 years ago

Wikipedia images for hosting on w.org's CDN.

#1 @Otto42
2 years ago

  • Description modified (diff)

@Otto42
2 years ago

Optimized JPG versions of these images

#2 follow-up: @Otto42
2 years ago

@mapk I added some much smaller, optimized, JPG versions of these same images. Please check for compatibility before we commit to using them.

#3 in reply to: ↑ 2 @mapk
2 years ago

Replying to Otto42:

@mapk I added some much smaller, optimized, JPG versions of these same images. Please check for compatibility before we commit to using them.

Thank you!

#4 @SergeyBiryukov
2 years ago

  • Milestone changed from Awaiting Review to 5.3
  • Type changed from feature request to task (blessed)

#5 @youknowriad
2 years ago

Hi There! can we get these uploaded soon? We'll have to cut the release of Gutenberg shortly (in 4 hours approximatively) in order to be ready for WP 5.3 RC.

Thank you.

#7 @youknowriad
2 years ago

Oh sorry, @Otto42 I hope I didn't get you out of bed or something.

Thanks a lot ❤️

Note: See TracTickets for help on using tickets.