Question

I have problem to create a content type with an image and a name. I need to create a content type with multiple images and titles. The result are many people's photos with the name above the pictures. How I can resolve it?

enter image description here

Was it helpful?

Solution

Firstly great example image :)

But what I think you should do is have 1 content type with 2 fields - Title and Image. Lets call this content type 'people'.

Each person should be a created separately as a different node.

Then you can use the views module to show all the people on one page.

I think having each person as a separate entity will be more flexible as it would allow you to relate each person to other entities and make the whole system more extendable.

If for some reason you really do want to attach all people to one node then you could use the field collection module. This would enable you to create a field collection called people. The field collection would have a field for title and image, and then you would attach multiple people to one node that way.

enter image description here

OTHER TIPS

You should try with field collection fields which allows you to add multiple set of names & images associated with each of them. Then using panels & views, you can display them in the grid. You should learn documentation of panels & views first

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top