_Some_ images not shown on drupal.org issues when posted in gitlab comments

Created on 4 December 2024, 17 days ago

Problem/Motivation

When we post images to MRs, those won't show on the drupal.org issue comment, but a white space will be shown instead.

Per Fran:

according to this code (https://git.drupalcode.org/project/drupalorg/-/blob/7.x-3.x/drupalorg/js...), it’s allowing some images

An example:

https://git.drupalcode.org/project/dashboard/-/merge_requests/43#note_42...

gets posted in

https://www.drupal.org/project/dashboard/issues/3490876#mr43-note421211 πŸ“Œ Add Gin layer wrapper style for Dashboard and reset for nested style overrides method Active

The url of the image is:
https://git.drupalcode.org/-/project/552/uploads/1c3bb98e0c770d2dcb395de...

Per Fran:

the data-src attribute is correct, but the src is not
something in the lazy loading library seems to not work

Steps to reproduce

if it makes a difference, I paste the image in gitlab from clipboard

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

πŸ› Bug report
Status

Active

Version

3.0

Component

GitLab integration

Created by

πŸ‡ͺπŸ‡ΈSpain penyaskito Seville πŸ’ƒ, Spain πŸ‡ͺπŸ‡Έ, UTC+2 πŸ‡ͺπŸ‡Ί

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024