Custom relation field layout

System Information
  • Strapi Version: "4.14.4
  • Operating System: MacOS Ventura 13.6
  • Database: Postgres or MySQL
  • Node Version: Node 18
  • NPM Version:
  • Yarn Version:

Hi there,

Can’t seem to find the right doc for this so I’m wondering if what I’m after is even doable and, if not, what would be the better method to achieve what I’m after.

Here’s what I’d like to do.
I have two collection types. Projects and Images. The Images collection-type items consist of a component with a media, a category and a text
Projects can have multiple Images, and Images can have multiple projects.

How can I make it so the relation field in Projects items can allow me to 1) Create a new item in the Images collection and 2) See existing images to be able to select it.

The only way I can envision to do point 1) would be to use hooks from the same component in project and to create the item in Images afterward. But that method wouldn’t allow me to choose an image from the Images collection.

Would love any pointers from strapi-backend masters !