OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums 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 1 year, 7 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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)

The forum ‘OroCRM – Programming Questions’ is closed to new topics and replies.

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

Yes No