another solution is to put you logo in the
and using widgets commonscreen.xml
<set field="layoutSettings.headerImageUrl"
value="/images/yourlogoimage.png" global="true"/>
this is the one I use. the Logo only shows on my app.
adithi agarwal sent the following on 9/27/2008 3:24 PM:
> Thankyou Surya and Brajesh for your reply..but adding path
> like:<@ofbizContentUrl>/images/ofbiz_logo.gif</@ofbizContentUrl>...did not
> work
>
> Thanks
> Adithi
>
>
>
> ----- Original Message ----
> From: surya <[EMAIL PROTECTED]>
> To: [email protected]
> Sent: Saturday, September 27, 2008 12:32:01 AM
> Subject: Re: where is uilabelmap
>
> Brajesh Patel wrote:
>> Hi Adithi,
>> Add path like
>> <@ofbizContentUrl>/images/ofbiz_logo.gif</@ofbizContentUrl>.
>>
>>
>> On Fri, Sep 26, 2008 at 7:46 PM, adithi agarwal <[EMAIL PROTECTED]>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: [email protected]
>>> 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: [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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
> Hello Adithi ,
>
> In FTL you have to use <ofbizContentUrl> and keep the images directory
> in webapp directory for your customize application.
> For e.g
> <img
> src="<@*ofbizContentUrl*>/myWebapp/images/myContent.jpg</@*ofbizContentUrl*>"
>
> --
> Thanks & Regards
> Surya Kusumakar
> HotWax Media Pvt. Ltd.
> www.hotwaxmedia.com
>
>
>