Repository navigation
Thumbnail Source Candidates #20156
|
It'd be awesome if it was possible to define multiple fields in the "Thumbnail Source" setting for entry types, in a set order, and have Craft pull the thumbnail from the first field with a value. Example use case: An entry type has both a "Hero Image" and a "Teaser Image" field in its layout. Both fields are viable options for the Thumbnail Source, but right now I have to choose one of them, which means that entries without an image in the source field will render without a thumbnail in cards and chips, even if they have a similarly relevant image in the other field. If it were possible to configure "Thumbnail Source" with multiple field candidates, I could set it up where Craft would use the "Teaser Image" field if it has a value, or fall back to the "Hero Image" field if not. |
Replies: 1 comment 1 reply
|
Added for the next Craft 6 alpha release! #20181 |
Added for the next Craft 6 alpha release! #20181