I have a content type called "Collection" which shows the properties of a tile collection. One of its fields is "Ambiences" and it's a paragraph with an image field, a text field and another subparagraph called "Tile breakdown" composed by an image, name, format and different display options.
Ambience
--Image
--Text
--Tile breakdown
----Image
----Name
----Format
----Container width
----[Other display options]
I need to render the "Ambience" images on one part of the node template and its "Tile breakdown" images on another part of the node template. All the images have been configured as colorbox with different image styles.
I would like to know, how can I show these images but in an already-rendered way, with all the colorbox stuff. I tried playing around with the preprocess function adding the paragraph to the $variables['content'] and using drupal_entity() from Twig Tweak but I was unable to make it work.
I also tried this but with the same luck.
Does anybody know how to do it?
Thanks in advance!