Contentful logo

Contentful Community

Assets available in reference field

Hi there,

Just a question regarding reference,

1. Is it possible for a reference field to reference a media asset?

Example:

I have a slider that can slide either a Layout (Left Right Component) or it can just slide images. I would just like the reference the image instead of creating a layout component with the image attached.

One way I see of doing it is to use a rich text field instead of the reference field. But this has it draw backs as author can add text etc to the field which would not be ideal. We could create an image content but this would double the number of entries required for images.

Would be great if we could just have media as a content type in the reference field.