on 07-01-2007 3:47 PM
Hi all.
In my application, i need to display the image in a table cell. My JSP page is under dist\portal-inf\jsp\ and my image is under dist\images\. I am calling the image from my page using
<td>
<image src = "..\..\images\image.jpg"></td>
and i am trying with the absolute path also i.e., <src = "C:\Programfiles\....">
But image is not displaying.
Can anyone kindly helpme how to rectify this.
Hi,
To access an image in your application u need to give the :
/irj/portalapps/application name/project name/folder/*.jpg
e.g
<img src="/irj/portalapps/com.tsl.portal.runtime.logon/layout/intro_logo.jpg" border="0">
If helpful please reward with points.
Thanks
ritu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Call it this way:
src="/irj/portalapps/your par file name/project name>/images/image.jpg"
You can't use the absolute path as the file is application is esecuted on the portal server, not from any local machine.
Hope this helped. If it did, kindly consider rewarding points.
Thanks and Regards,
Prem
SAP.
Message was edited by:
Prem Mascarenhas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.