RE: [mapguide-users] tool tip image source
I do something like this concat('img src=http://myipsite/fotographs/', concat(MAPNAME(), concat('/', concat(ID, concat('_m.jpg', ' border=0 alt=Property Photo')) andrea -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kencana Sent: Wednesday, February 20, 2008 5:14 AM To: mapguide-users@lists.osgeo.org Subject: [mapguide-users] tool tip image source Hi All, In one of the article (written by Andy Morsell), He provide some information on how to embed image inside the tooltip. So far, based on his sample code, he retrieve the image from some url. My question is, instead of pulling it from other site, are we able to pull the image from the local drive it self? If yes, then where should I put the images? and how can I enter the image source? Thank you Regards, Kencana Kesuma -- View this message in context: http://www.nabble.com/tool-tip-image-source-tp15582066s16610p15582066.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] tool tip image source
Hi All, In one of the article (written by Andy Morsell), He provide some information on how to embed image inside the tooltip. So far, based on his sample code, he retrieve the image from some url. My question is, instead of pulling it from other site, are we able to pull the image from the local drive it self? If yes, then where should I put the images? and how can I enter the image source? Thank you Regards, Kencana Kesuma -- View this message in context: http://www.nabble.com/tool-tip-image-source-tp15582066s16610p15582066.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] tool tip image source
I assume you mean local drive as in the same drive as the MapGuide Web Extensions installation? If that's the case, just make sure the path that contains the images is exposed as an accessible virtual directory in Apache/IIS. - Jackie Kencana wrote: Hi All, In one of the article (written by Andy Morsell), He provide some information on how to embed image inside the tooltip. So far, based on his sample code, he retrieve the image from some url. My question is, instead of pulling it from other site, are we able to pull the image from the local drive it self? If yes, then where should I put the images? and how can I enter the image source? Thank you Regards, Kencana Kesuma -- View this message in context: http://www.nabble.com/tool-tip-image-source-tp15582066s16610p15582391.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] tool tip image source
Hi Jackie, Assume that i place the image under MapGuideOpenSource/WebServerExtension/www/image.gif So how should i provide the image path? can i just give ../image.gif or i must give the url in http://localhost/image.gif? Thank you Regards, Kencana Kesuma Jackie Ng wrote: I assume you mean local drive as in the same drive as the MapGuide Web Extensions installation? If that's the case, just make sure the path that contains the images is exposed as an accessible virtual directory in Apache/IIS. - Jackie Kencana wrote: Hi All, In one of the article (written by Andy Morsell), He provide some information on how to embed image inside the tooltip. So far, based on his sample code, he retrieve the image from some url. My question is, instead of pulling it from other site, are we able to pull the image from the local drive it self? If yes, then where should I put the images? and how can I enter the image source? Thank you Regards, Kencana Kesuma -- View this message in context: http://www.nabble.com/tool-tip-image-source-tp15582066s16610p15583216.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] tool tip image source
Under the default configuration. http://your server name/mapguide maps to Your MapGuide Install Dir\WebServerExtensions\www And if i recall, the tooltips are processed from the context of mapviewer[php/java/net] So therefore, any of the following urls should work http://your server name/mapguide/image.gif or ../image.gif - Jackie Kencana wrote: Hi Jackie, Assume that i place the image under MapGuideOpenSource/WebServerExtension/www/image.gif So how should i provide the image path? can i just give ../image.gif or i must give the url in http://localhost/image.gif? Thank you Regards, Kencana Kesuma Jackie Ng wrote: I assume you mean local drive as in the same drive as the MapGuide Web Extensions installation? If that's the case, just make sure the path that contains the images is exposed as an accessible virtual directory in Apache/IIS. - Jackie Kencana wrote: Hi All, In one of the article (written by Andy Morsell), He provide some information on how to embed image inside the tooltip. So far, based on his sample code, he retrieve the image from some url. My question is, instead of pulling it from other site, are we able to pull the image from the local drive it self? If yes, then where should I put the images? and how can I enter the image source? Thank you Regards, Kencana Kesuma -- View this message in context: http://www.nabble.com/tool-tip-image-source-tp15582066s16610p15583255.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] tool tip image source
Hi Jacky, Thanks for your help :jumping: Regards, Kencana Jackie Ng wrote: Under the default configuration. http://your server name/mapguide maps to Your MapGuide Install Dir\WebServerExtensions\www And if i recall, the tooltips are processed from the context of mapviewer[php/java/net] So therefore, any of the following urls should work http://your server name/mapguide/image.gif or ../image.gif - Jackie Kencana wrote: Hi Jackie, Assume that i place the image under MapGuideOpenSource/WebServerExtension/www/image.gif So how should i provide the image path? can i just give ../image.gif or i must give the url in http://localhost/image.gif? Thank you Regards, Kencana Kesuma Jackie Ng wrote: I assume you mean local drive as in the same drive as the MapGuide Web Extensions installation? If that's the case, just make sure the path that contains the images is exposed as an accessible virtual directory in Apache/IIS. - Jackie Kencana wrote: Hi All, In one of the article (written by Andy Morsell), He provide some information on how to embed image inside the tooltip. So far, based on his sample code, he retrieve the image from some url. My question is, instead of pulling it from other site, are we able to pull the image from the local drive it self? If yes, then where should I put the images? and how can I enter the image source? Thank you Regards, Kencana Kesuma -- View this message in context: http://www.nabble.com/tool-tip-image-source-tp15582066s16610p15583338.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users