eZ Platform Discussions

Render image from ezobjectrealtion

Hello.

I am trying to render an image from ezobjectrelation, but so far I have had no luck at all. I have searched through the forums and the documentation. The following code does not work:

            {{ ez_render_field(content, 'image') }}
            {{ render(controller("ez_content:viewAction", {"contentId": 79, "viewType": "embed"})) }}
            {{ render(controller("ez_content:viewAction", {"contentId": 79})) }}

Anyone have any tip?

Regards, Atle