ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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 3 months, 1 week ago.

  • Creator
    Topic
  • #68569

    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
  • #69065

    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

    #69256

    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)

You must be logged in to reply to this topic.

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

Yes No
ssossossosso