Closed (outdated)
Project:
Drupal core
Version:
10.2.x-dev
Component:
image system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Jun 2024 at 16:50 UTC
Updated:
20 Jun 2024 at 10:29 UTC
Jump to comment: Most recent
Comments
Comment #2
cilefen commentedWhat exactly is shown on the "source" view in CKEditor on the node you showed above?
Comment #3
rharikumar_cse commentedOn the source it is showing as
<drupal-media data-entity-type="media" data-entity-uuid="42db8c30-ca97-442f-9c1b-a343d04edc50"> </drupal-media>But when we save and look on the page, the src attribute on the img tag is "sites/files/blank.gif"
Comment #4
cilefen commented"blank.gif" doesn't appear in Drupal Core's source code. Are there additional media or image-related modules installed on the site? Were there any errors or difficulties upgrading? Are any patches installed?
Comment #5
rharikumar_cse commentedThere is no patches added related to the media or image.
Modules
Media
Media Library
Image
Blazy UI (Latest version)
Comment #6
cilefen commentedIf you export the entire site configuration, does "blank.gif" appear in those files? If so, which file?
Comment #7
rharikumar_cse commentedThat is from custom theme twig file.
themes->custom->theme_name->templates->system->image.html.twig
Comment #8
cilefen commentedSo your lazy load implementation probably broke or is missing. Are there browser console errors?
You can try deleting that theme file. Lazy load is built in to Drupal image tags now.
Comment #9
rharikumar_cse commentedBy deleting the twig file on the theme, broke the site.
We updated the twig file, and the issue got fixed.
Thanks for the prompt response and your help.
Comment #10
cilefen commented