Jahia in English > Custom Module /img...

0 (0 Good)
0 (0 Bad)

Custom Module /img folder

by  kissenlall »  2013/02/27 16:22

I am trying to display an image from the /img folder of a custom jahia module in the default view, but the image is never displayed when i drag and drop the module onto a page or template

 

I have the following in the .jsp file of the view

<img src="<c:url value='img/VISA-logo_small.png'/>" alt="logoVisa" title="logoVisa">

Am I doing something wrong? please advise

 

Many thks

 

 

  (kissenlall)

Number of messages  7
Registration date
1 (1 Good)
0 (0 Bad)

Re: Custom Module /img folder

by  rvt »  2013/02/28 16:10

 

If I am not mistaken,
 
<img src="<c:url value='${url.currentModule}/img/VISA-logo_small.png'/>"/>
 
Ries
##jahia @ freeenode.net

 

  • Re: Custom Module /img folder
    2013/02/28 20:18

    rvt <p> &nbsp;</p> <div> <div> If I am not mistaken,</div> <div> &nbsp;</div> <div> &lt;img src=&quot;&lt;c:url value=&#39;${url.currentModule}/img/VISA-logo_small.png&#39;/&gt;&quot;/&gt;</div> <div> &nbsp;</div> <div> Ries</div> </div> <div> ##jahia @ freeenode.net</div> <p> &nbsp;</p>

  • Number of messages  185
    Registration date Feb 28, 2013
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Custom Module /img folder

    by  kissenlall »  2013/02/28 20:18

    Great ! it works thks!

      (kissenlall)

    Number of messages  7
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page