Urgent !! Wml variables
I have a problem when I try to view an image in wml. The src of the image contains variables. This is the code:
<setvar name="url_image" value="http:%3a%2f%2fmyurl%3a8090"%2fimagenes%2fwbmp%2f"/>
(I've tried whit the url without escaped characters,too. eg http://myurl:8090/imagenes/wbmp/, but It's wrong)
<img src="$(url_image)animage.wbmp" alt="" />
The problem is that the emulator(Nokia, Openwave and Ericsson) read the url and takes the value:
<img src="http://myurl:8090/images/5/animage.wbmp//" alt="" />
With double "/" at the end of all url.
Anyone can help me?
RE: Urgent !! Wml variables
Nokia Developer Expert
Have you tried with escaped characters in url
<setvar name="url_image" value="http%3a%2f%2fmyurl%3a8090%2fimagenes%2fwbmp%2f"/>
and using ..."$(url_image:unesc)... to unescape the value of the variable?
sami / Forum Nokia Developer Support