OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums OroCRM OroCRM – Programming Questions How to display image attachement field in twig added with migration

This topic contains 1 reply, has 1 voice, and was last updated by adriwan_kenoby adriwan_kenoby 12 months ago.

  • Creator
    Topic
  • #25578
    adriwan_kenoby
    adriwan_kenoby
    Participant

    I have a migration file for an entity :

    How then can I display the image in twig ? The documentation is not clear for me on this point.

    Thanks and kind regards

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #25579
    adriwan_kenoby
    adriwan_kenoby
    Participant

    I used the macro

    and then i can render the image

    Maybe I have to create my own macro to render the image field of a news ( article or event ).

    Can you provide some clue or examples, how I have to proceed ?

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No