Problem/Motivation

I'm using D 8.9.10 and have installed the media module, we have an image configured to show in the manage display only the name

But when we go to add the images using the media library we only can see the name in the Table mode, in the grid mode is empty.

See:
https://www.drupal.org/files/issues/2021-01-13/Screen%20Recording%202021...

I'm having the problem with the following themes
Seven
Claro
Adminimal

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Issue fork drupal-3192650

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

adriancid created an issue. See original summary.

adriancid’s picture

Issue summary: View changes
adriancid’s picture

Status: Active » Needs review
StatusFileSize
new955 bytes
lokeshsahu’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new22.47 KB

Hi, @adriancid, this patch worked fine for me.
Thanks
I have added a screenshot for ref

lisa.rae’s picture

Just a note: This patch is specific to the "Seven" theme, and does not address the issue more broadly. Marking as "Needs Work".

lisa.rae’s picture

Status: Reviewed & tested by the community » Needs work

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.9 was released on December 7, 2022 and is the final full bugfix release for the Drupal 9.4.x series. Drupal 9.4.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.5.x-dev branch from now on, and new development or disruptive changes should be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.

quietone’s picture

Status: Needs work » Closed (outdated)

I tested this on 11.x and main and was not able to reproduce the problem, with Default Admin theme in main and Default Admin and Claro in 11.x.

I added media of a document, an audio file and an image and created a test content type with a media field. In all cases, both the table view and grid view showed the correct information when adding media to the content.

Therefor, I am closing this as outdated.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.