Add "media" slot to element cards #15651
-
It feels inconsistent when showing a column of element cards where some have images and others don't. It would be great if element cards had the concept of a media slot that could be optionally configured to display either a selected thumbnail image or fallback to something else (like the entry icon or something else). Document previews in Sanity have the |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
This might be somewhat related to this PR: #15283 |
Beta Was this translation helpful? Give feedback.
-
It’s completely up to you whether an entry type should have a thumbnail, based on which field you select as the thumbnail source. That could be an Assets field, or any other field type which implements What exactly would you expect to enter into a “media slot” beyond what’s already possible? |
Beta Was this translation helpful? Give feedback.
-
This is sortof being addressed in Craft 5.7, as we’re moving the thumbnails over to the right side of the card, so they won’t look weird alongside cards without thumbs. (#16983) |
Beta Was this translation helpful? Give feedback.
This is sortof being addressed in Craft 5.7, as we’re moving the thumbnails over to the right side of the card, so they won’t look weird alongside cards without thumbs. (#16983)