[mapguide-users] question to andy
Andy Morsell
amorsell at spatialgis.com
Mon Jun 26 20:08:15 EDT 2006
Oscar,
It's fairly easy, really. You can embed the URL to any image in the tooltip
definition itself. In my case, that URL is actually an ASP.NET page that
builds the thumbnail image you see on the fly from the native image on the
server's file system. To give you an idea of how it works, here is the
tooltip definition when viewed in Advanced mode in Studio. The PID is being
passed to the page that generates the image for each parcel.
concat('<br><div id=parcelImage style=width: 150px; height:113px><img
src=http://someserver/somesite/get_image.aspx?imageWidth=150&PID=',
concat(PID, concat(' border=0 alt=Property Photo></div>', concat('\nParcel
ID: ', concat(PID, concat('\nOwner Name: ', concat(OWNER_NAME,
concat('\nAddress: ', SITE_ADDRE))))))))
Andy
-----Original Message-----
From: carpetascatastro at laplata.gov.ar
[mailto:carpetascatastro at laplata.gov.ar]
Sent: Monday, June 26, 2006 4:41 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] question to andy
Hi andy, i saw in your map (spokanemaps) that when you select the parcel
there is a photo show in the yellow window. how do you do that??
i show a photo in task bar menu, in other php frame, but your is much
better.
thanks a lot
oscar
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org
More information about the Mapguide_users
mailing list