OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions show img on twig

This topic contains 2 replies, has 2 voices, and was last updated by  Alexander 6 years ago.

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

  • Creator
    Topic
  • #29558

    jaime.du
    Participant

    Hello guys,
    I want to show an image on twig

    The image is located in:

    also in:

    I tried

    but not working.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #29559

    Alexander
    Moderator

    Hi @jaime.du

    Please refer to Including Stylesheets and JavaScripts in Twig

    You can also include assets located in your bundles’ Resources/public folder. You will need to run the php app/console assets:install target [–symlink] command, which copies (or symlinks) files into the correct location. (target is by default “web”).

    Or, in case if your image located in ‘\web\uploads\img\watch.jpg’
    use

    #29560

    Alexander
    Moderator

    Hi @jaime.du

    I am now closing this topic as it has been inactive for a while.
    Please feel free to reopen or create a new one it if you have any questions.

Viewing 2 replies - 1 through 2 (of 2 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top