Problem/Motivation

To properly work in all browsers, our custom responsive image needs to hardcode the image height/width attributes on the img tag, otherwise it tends to collapse in certain browsers.

Proposed resolution

In starterkit_preprocess_paragraph_media_image, we need to set this up to properly hardcode the image height/width, as we've done on other sites.

CommentFileSizeAuthor
#2 3174931-2.patch1.13 KBafireintheattic

Comments

afireintheattic created an issue. See original summary.

afireintheattic’s picture

StatusFileSize
new1.13 KB

Patch is attached.

  • afireintheattic authored aa44592 on 8.x-1.x
    Issue #3174931 by afireintheattic: Add explicit image height/width to ....
afireintheattic’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.