[mapguide-users] Image Tool Tips

Jackie Ng jumpinjackie at gmail.com
Thu Jan 15 23:51:34 EST 2009


That is most likely because C:\Images\... is not a valid "src" attribute from
the client's point of view.

Assuming your images are in (http://servername/mapguide/images) Change the
src attribute in the   tag so that it is either:

- An absolute url to your images web directory
(http://servername/mapguide/images)
- A path to your images web directory *relative* from the map viewer path.
(../images)

- Jackie


ajid wrote:
> 
> My Platform : Maestro
> i found this script ..
> 
> One
> -----
> concat('<Xtable cellpadding=0 cellspacing=0><tr align=center
> bgcolor="#AAAAAA"><td height=5>', concat('',
> concat("NAME",concat('',concat('</td></tr><tr align=center><td>',
> concat('<ximg width=212 height=135
> src="C:/Images',concat("NAME",'myimage.jpg"/></td></tr></table>')))))))
> 
> Two
> -----
> concat('<Ximg width=400 height=300 src=C:\Images', concat("SiteName",
> '.jpg>'))
> 
> Anyone can help me how i wanna use this code on MGOS, i put this script on
> Tooltip textbox.. i can display only the framebox... but cannot displat
> the image.. anyone can help me to correction my solution. Anyone can
> printscreen or teach me step by step how?? Thanx
> 
> Download txt script 
> http://n2.nabble.com/file/n2166522/syntaxShowImage.txt syntaxShowImage.txt 
> 

-- 
View this message in context: http://n2.nabble.com/Image-Tool-Tips-tp2166522p2166538.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list