[mapguide-users] Show Image On Tooltip

Rahul unicorn_admirer at yahoo.com
Mon Aug 27 01:15:25 EDT 2007



    Hi,
    I worked on this and its working great with String Property but when i select some field with Integer or double property its unable to show the image.
   
  Problem--------
  concat('<img width=400 height=300 src=http://127.0.0.1:8008/mapguide/pics/', concat("CODE", '.jpg>')).
   
  CODE is Double and its not working but when i change to PARCEL_CODE which is string its working ,Do I have to do some kind of casting or conversion to string.
   
  Working OK--------
   
    concat('<img width=400 height=300 src=http://127.0.0.1:8008/mapguide/pics/', concat("PARCEL_CODE", '.jpg>')).

   
  Looking forward for some help me inorder to get going with my project .
   
  Thanks
  Max !!

Jhonn Jairo Vesga Cadena <jjvesga at gmail.com> wrote:
  WOW, its working now....

Thanks for the step by step, and thanks to all to take time and answer..

JJ


  On 8/2/07, Rich Bauer < rdbauer at gmail.com> wrote:     Just to add to that, I was in the process of creating the same step by step, you want the " in there too I believe like src=" and .jpg">

Rich

Dhirendra Kumar wrote:   
Hi Jhonn Jairo Vesga Cadena,

I want to know first People property reflect string or integer ? you can try
my steps
Don't worry follow steps:-

(1) First you assign <img width=210 height=130 src=[with full path, but not  
image name or ID in Constant text box without greater then bracket. Then
click on New toolbar.

(2) choose people property from property combo box. and again click on new
option from   toolbar.

(3) and place .jpg> your photo extension i think it will be .jpg or .gif and  
click on OK button.

Regards,
Dhirendra Kumar




Jhonn Jairo Vesga Cadena wrote:
  
    
Thanks Dhirendra, I do that, but in full Path, i need put the property
associated to the query, because the image must be dinamic, i mean im
showing peolpe,  im tried to write  PHOTO 
where PHOTO is a table property but doesnt work.  

I dont understand what and where concat works. Have some solution for
this??

Thanks-



On 8/2/07, Dhirendra Kumar   <dhirendra.mgos at gmail.com> wrote:
    
  
Hi Jhonn Jairo Vesga Cadena,

you have to write  [full  image]>.

Regards,
Dhirendra   Kumar

Jhonn Jairo Vesga Cadena wrote:
      
  
Hi, i see on www.spokanemaps.com that shows an image when you put your
mouse
over the camera. How can i do this??? Some place to give a clue??  


--
att:

Jhonn Jairo Vesga Cadena

M󶩬:
Movistar: 316-524-4147
Weblog: http://www.jhonnvesga.com      _______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org    http://lists.osgeo.org/mailman/listinfo/mapguide-users              

--
View this message in context:
http://www.nabble.com/Show-Image-On-Tooltip-tf4201097s16610.html#a11962949    Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________  
mapguide-users mailing list
mapguide-users at lists.osgeo.org  http://lists.osgeo.org/mailman/listinfo/mapguide-users          

-- 
att:

Jhonn Jairo Vesga Cadena

M󶩬:
Movistar: 316-524-4147
Weblog: http://www.jhonnvesga.com      _______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org    http://lists.osgeo.org/mailman/listinfo/mapguide-users          

  



_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/mapguide-users





-- 
att:

Jhonn Jairo Vesga Cadena

M󶩬: 
Movistar: 316-524-4147
Weblog: http://www.jhonnvesga.com _______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

    
---------------------------------
  Pinpoint customers who are looking for what you sell. 

       
---------------------------------
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070826/bbfb01cc/attachment.html


More information about the mapguide-users mailing list