cancel
Showing results for 
Search instead for 
Did you mean: 

How to add an Image UI Element to a view?

Former Member
0 Kudos

Hi All,

I want to add an image to a view.Can anybody tell me how can I achieve that?

Thanks,

Monideepa

Accepted Solutions (1)

Accepted Solutions (1)

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi,

Check this thread: [Here|;

Regards, Suresh KB

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

add Image UI Element and set the following properties

· alt

Determines an alternative text that is displayed when the graphic cannot be opened or found.

· source

Determines the Web address (URL) of the graphic through which the UI element receives the data. If you store the image file in your Web Dynpro project under src /mimes /Components /, you only have to specify the file name without a path.

if you want

Upload Image file from system in Web dynpro view refer this pdf

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d0e599cc-2862-2b10-54a9-dcf1376b...

Regards,

ramesh

Former Member
0 Kudos

Thanks a lot. My problem is solved .

former_member197348
Active Contributor
0 Kudos

Hi Monideepa,

Go to View Layout ->

Outline view ->

Select RootUIElementContainer ->

Right click ,select insert child select Image (Image UI Element is created)

Set the source property with image filename (*.jpeg or *.png)

Open Navigator View ->

Browse to src->mimes ->Components -> *.compname (Paste your Image file here)

Regards,

Siva