[Fwd: Re: [maplab-users] links from map to jpg]

kgrootendorst at baird.com kgrootendorst at baird.com
Thu Sep 2 12:11:45 EDT 2004


Yes, finally progress!
Thanks for all your help!!!

My other layers do not have the MS_PATH2 attribute, but they're not 
supposed too since they don't have any photos associated with them.
If I want their attributes displayed, do they have to have the MS_PATH2 
column?

What if I don't want certain attributes displayed? E.g. what if I just 
want the MS_PATH2 attribute displayed, and not the Lat_DD and Long_DD 
fields?

Kevin





Steffen Macke <sdteffen at web.de> 
Sent by: sdteffen at web.de
09/02/2004 12:00 PM

To
kgrootendorst at baird.com
cc

Subject
Re: [Fwd: Re: [maplab-users] links from map to jpg]






Kevin,

nice to hear that you're making progress.

It looks like your other layers (like country) are lacking the MS_PATH2
column that contains the image url (That's what I can see from
the var_dump() output).

To have the image displayed directly instead of having a link,
just change the <a></a> tag to an <img /> tag:

Change

$szReturnValue .= "<td bgcolor=\"#ffffff\"> <a 
href=\"".$xCell."\"> Click here to document</a></td>\n";

to

$szReturnValue .= "<td bgcolor=\"#ffffff\"> <img
src=\"".$xCell."\" /></td>\n";

Steffen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/maplab-users/attachments/20040902/df265b88/attachment.htm


More information about the Maplab-users mailing list