Default Images not rendered in layout builder

Created on 25 March 2024, about 1 year ago
Updated 13 April 2024, about 1 year ago

Problem/Motivation

Since Drupal 10.2.4 default images for users are not shown in blocks added by Layout Builder.
Image formatters are getting ignored too.
I am using a Module to replace the default image with a path based solution via image formatter so you can use config sync to sync default images. The module does not work anymore too because of the changes in 10.2.4.

Steps to reproduce

  • Set up a field storage default value for the user image
  • Switch view mode of user to use the layout builder and add the image as block

Proposed resolution

Check both image field storage and field settings for default image when checking FieldBlock access.

🐛 Bug report
Status

Fixed

Version

10.2

Component
Layout builder 

Last updated about 16 hours ago

Created by

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