Actually, that's not true. The url for the image must be enclosed in the <@ofbizUrl> transform. Also, make sure your application's image folder is accessible in the web.xml file.

-Adrian

Brajesh Patel wrote:
  Hi Adithi,
     In ofbiz component one image  directory is there and that contain  all
images, first you create image directory in your application and put image
there,  i think your problem will be solved.

On Fri, Sep 26, 2008 at 5:52 PM, adithi agarwal <[EMAIL PROTECTED]>wrote:


Hi Surya

I got the image but it is being displayed from images dir in "framework"
dir but not from my application's images dir Can you tell me why is it
refering that image.
This is my img tag:
<a  href="http://ofbiz.apache.org/";><img  src="/images/ofbiz_logo.jpg"
</a>
Thankyou
Adithi

----- Original Message ----
From: Surya Kusumakar <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, September 25, 2008 8:13:44 PM
Subject: Re: where is uilabelmap

Hello Adithi ,

Yes you can use <img> tag in ftl .
For e.g

<img src="<@ofbizContentUrl>/images/fieldlookup.gif</@ofbizContentUrl>"
width="16" height="16" border="0" alt="Lookup">

or

<img src='/images/fieldlookup.gif' width='15' height='14' border='0'
alt='Click here For Field Lookup'/>

On Thu, Sep 25, 2008 at 9:54 PM, BJ Freeman <[EMAIL PROTECTED]> wrote:

if you notice there is an logo image on each ofbiz page on the backend.
that is a good example on how to display and image.
now if you want to do this on the Ecommerce is is a little different.
just find a page with the type of image you want to display and find the
code that makes it happen.


adithi agarwal sent the following on 9/25/2008 8:59 AM:
Hi all

I want to display an image on the screen.in the header.ftl of my
application
I was trying to do the same as we do in html like:
<IMG SRC="...//myapp/webapp/ofbiz_logo.jpeg" WIDTH="209" HEIGHT="69"
BORDER="0" ALT="">
Is this  not the way we display in ftl.
Please clear my doubt

Thanks
Adithi






--
Thanks & Regards
--
Surya Kusumakar
HotWax Media Pvt. Ltd.
www.hotwaxmedia.com






Reply via email to