I made a paragraph with a referenced entity field to a content type called "tools" Actually I can get the title and body text like that :
<h3>{{ content.field_tools_and_services.0['#node'].title.value }}</h3>
<p>{{ content.field_tools_and_services.0['#node'].body.value}}</p>
now, I need to get the field image, I tried to do something like this :
<img alt="{{ content.field_tools_and_service1[0]['#node'].field_image.get(0).alt }}"
src="{{ content.field_tools_and_service1[0]['#node'].field_image.entity.fileuri|image_style('image_format') }}"
title="{{ content.field_tools_and_service1[0]['#node'].field_image.get(0).title }}">
<img src="{{ content.field_tools_and_service1.0['#node'].values.field_image.0['#uri'] }}"
alt="{{ label.0 }}">
{{ content.field_tools_and_service1.0['#node'].field_image.value) }}
But I can't get my image, what's my mistake ?
Thanks
|raw
filter, this is extremely dangerous. If you can't use a view mode, see drupal.stackexchange.com/questions/231805/…