[opencms-dev] Include image file from galleries in JSP template

Daniel Rhoden drhoden at iiwinc.com
Sat Feb 12 16:00:23 CET 2005


Try this:

<div id="logorechts"><img src="<cms:link>/system/galleries/pics/logos/logo.gif</cms:link>" width="55" height="95"></div>


Hope that helps.
--Daniel Rhoden

visser arthur (02VOEMDIAHTKAND) wrote:

>I am trying to include an existing*.gif file, which is stored in the galleries (../system/galleries/pics/logos/logo.gif) in a JSP template.
>
>In the (non-OPENCMS!) website the following code is used:
> <div id="logorechts"><img src="../Graphics/log.gif" width="55" height="95"></div>
>
>Can anybody tell me how to include the same information in the JSP template? Do I use cms:link or cms:inlcude?
>
>Much appreciated!
>
>OpenCMS 5.0.1 - Tomcat 5.0.18 - Java 1.4.2 - XP Home SP2 - MySQL 4.0.22
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>



More information about the opencms-dev mailing list