[wp-trac] [WordPress Trac] #49890: Media/Text Block: Cropped Linked Image Background Display Issue

WordPress Trac noreply at wordpress.org
Mon Apr 13 00:30:53 UTC 2020


#49890: Media/Text Block: Cropped Linked Image Background Display Issue
--------------------------+-----------------------------
 Reporter:  JarretC       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  has-screenshots
  Focuses:                |
--------------------------+-----------------------------
 Came across the issue on this thread here:

 https://wordpress.org/support/topic/media-text-block/

 While posted in the TwentyFourteen support forum, this is happening on
 TwentyTwenty as well. The issue happens when you create a Media/Text
 block, define an image, link it to a URL and then set it to "Crop image to
 fill entire column" when the width of the media "column" in the block is
 wider than the image being used.

 To replicate...

 1. Create Media/Text block
 2. Upload/insert a narrow image, around 400px wide is appropriate
 3. Add default text to the right of the image
 4. Link the image to the media/attachment page or any URL
 5. Set "Crop image to fill entire column" in the Media & Text settings
 6. Ensure that the width (blue circle icon slider) of the media in the
 block is set wider than the width of the image

 [[Image(https://i.snipboard.io/1KJvcf.jpg)]]

 You can see in the screenshot, the original 150x150 pixel image at the top
 left and then the "cropped" image displaying across the entire width that
 was set in the Media/Text block.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49890>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list