Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Where to put images in web Dynpro project to have them deployed?

Hi Brothers,

I would like to show an image in an <img>-tag within a Formatted Text View UI Element.

I have created a folder img under src/.../projectname and I have referenced the image in the <img>-tag as follows:

< img src="/LocalDevelopment~LocalDevelopment~testroadmap~demo.sap.com/src/packages/com/sap/demo/projectname/img/newRow.JPG"; /.>

However, the image is not shown in the Formatted Text View UI Element.

Does anybody know where to put images so that they are packed in the .war achieve and deployed and how to referenced them?

Thanks, Johannes

replied

Hi,

place the image in the following folder of application,

src\mimes\Components\<your component name>.testroadmap.demo.sap.com

If you store the image file in your Web Dynpro project under src /mimes /Components /<Name of Component>, you only have to specify the file name without a path.

Regards,

ramesh

Edited by: Ramesh Babu V on Sep 19, 2008 1:58 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question