on 11-11-2006 6:55 AM
Hi,
i am customising a HTML template in a web application. This web application is published on <b>integrated ITS</b> using an internet service (in SE80).
i am not able to insert an image into a HTML template which is generated using sapgui for HTML . i am able to insert the images and icons which are available in theme 99, theme bc. But i am not able to insert external images (which are not available in themes).
i have activated the mixed mode while generating the HTML template
i have imported the external image into the internet service object (in SE80) by clicking the context menu and choosing <b>create mime</b> option .
i have inserted this in HTML template using plain HTML code . But when i publish the service i am not able to see this image on the screen.
please let me know if i have to import these external images to any other directory so that i can insert them into an HTML template.
so you see only the "X"m mark instead of picute on the browser? right click on the "X" mark go to attributes and see whether the url for the image is generated properly
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
found the solution myself..
this can be done using SRC='mimeurl(...)'
regards,
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Durairaj,
i have inserted an internal mimeobject
SRC="`~urlmime`/webgui/99/images/img/hourglass.gif" ALT="image not available"
After publishing this hourglass.gif is visible on the screen.
i have imported an external mimeobject "mimeimage.gif" into the web application object. i have assigned package as local object ( $tmp) and THEME 99.
The folder structure is as follows.
__object name
....---THEME 99
........**Mime Objects
........... --mimeimage.gif
........**HTML Templates
............ --template1
.............--template2
i used this url to insert the mime.
SRC="`~urlmime`/99/mimeimage.gif" ALT="image not available"
The properties of the image is showing the following URL.
//servername:portnumber/sap/public/bc/its/mimes/99/MIMEIMAGE.gif
so i understand that the path is not correct. But where are the external images stored on importing them ? (on saving them as local objects)
regards
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.