Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#32609 new defect (bug)

tinymce gallery preview uses full resolution images

Reported by: leedo's profile leedo Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2.2
Component: Media Keywords:
Focuses: Cc:

Description

If a user uploads a batch of very high-res images, and inserts them as a gallery, the browser will become unresponsive as these giant images are rendered in the TinyMCE gallery preview. The gallery preview should use a thumbnail instead of the original image.

Change History (2)

#1 @iseulde
9 years ago

  • Component changed from TinyMCE to Media

#2 @joemcgill
9 years ago

Unless I'm missing something, the insert gallery dialogue in the media editor lets you specify the image size used in the gallery. If you select "full size" from the dropdown before creating the gallery (see screenshot: https://cloudup.com/c9xdOdXCcmq) the preview will use the full size images. However, if you select a different size, then a different size will show in the preview as well. I guess we could force limit the size used in the gallery previews in order to avoid an unintended use of full size images in this context.

Note: See TracTickets for help on using tickets.