What is the canonical way to get lead image

IMO, this is another example of something that was not very well though when designed; let me explain: what if I want to directly provide an image field in my content type without having to depend on the behavior?

and this is not a rare case: we have 2 different content types (News Article and Photo Gallery) that are containers and we implement the lead image as the first image in the container:

as previously experienced with the ICollection marker interface, we have an issue here.

1 Like