Adithi,

You will need to change the Content Path prefix in the content application. You can do this by going to Content->Web site and setting the secure and non secure content path prefix. Suppose you want to serve the contents from images folder of your application, give content prefix as /<your application mount point>

Thanks,

Raj

adithi agarwal wrote:
Hi Brajesh,

I actually created image dir in my application, in my 
webapp/myapplication/images/ofbiz_logo.gif.But its refering to image in 
framework dir.

Thanks



----- Original Message ----
From: Brajesh Patel <[EMAIL PROTECTED]>
To: user@ofbiz.apache.org
Sent: Friday, September 26, 2008 6:11:11 AM
Subject: Re: where is uilabelmap

  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: user@ofbiz.apache.org
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