Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

mime objects are not displayed

Former Member
0 Likes
431

Hi all,

i published my own transaction zex1 as an internet service. i stored the images in mime objects folder and i inserted them in the template by editing it using..

<img src="FISH.JPG" width="144" height="50">

but when i run the transaction i don't see the image.

i am using standalone ITS.

Hi all,

i published my own transaction zex1 as an internet service. i stored the images in mime objects folder and i inserted them in the template by editing it using..

<img src="FISH.JPG" width="144" height="50">

but when i run the transaction i don't see the image.

i am using standalone ITS.

1 REPLY 1
Read only

Former Member
0 Likes
321

I assume you have already published the MIME object you added to the service.

Now you have to use the correct URL to get it displayed. To construct it you could do the following:

img src="`mimeURL(~service="zmyservice", ~language="", ~name="logo.gif")`"

(opening and closing bracket omitted to get the text displayed here)

...which displays the picture logo.gif stored in service zmyservice directly under MIME-Objects. If you want to use sub folders, you have to put them into the name-part of the above construct.

HTH

Klaus