cancel
Showing results for 
Search instead for 
Did you mean: 

How to display Image/Logo in Html file generated from Webdynpro App

Former Member
0 Kudos

Dear All,

I have developed a webdynpro application and onClick of the Button I am opening a new browser by generating HTML file.The file is opened successfully.

My requirement is to display the company logo on that HTML file. Where to place that image file and how to call that image file in my HTML.

Regards

Ponnusamy

Accepted Solutions (0)

Answers (2)

Answers (2)

piyush_kumar6
Active Contributor
0 Kudos

Hi Ponnusamy,

while generating HTML file you use img tag to add logo like following to add pic-

"IMG SRC="your address/pic.jpg"

in src attribute of img tag you just write the address of you pic.before writing the code you must upload

pic on server

Former Member
0 Kudos

Hi,

Create a folder on the server and refer this in html

or else place the image in the same path where the html is placed and use relative url for the image.

Regards

Ayyapparaj

Former Member
0 Kudos

Hi,

Can u give me sample coding where i can use.

Regards

Ponnusamy P

piyush_kumar6
Active Contributor
0 Kudos

suppose you have uploaded your pic or logo to following location

https://forums.sdn.sap.com/images/mypic.gif

now in src attribute of img tag you just write this address.

Former Member
0 Kudos

Hi,

  1. Ex. 1 - If the Index file is in the same directory, called "test"

tales/numbers.jpg

  1. Ex. 2 - If the image is in a subdirectory, called "test1" within "test"

test/test1/numbers.jpg


img src="test/test1/numbers.jpg"

Regards

Ayyapparaj