close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Add Picture to Pop-Up

Thread began 1/31/2010 8:31 am by drew104744 | Last modified 1/31/2010 11:42 am by neilo | 1183 views | 1 replies |

drew104744

Add Picture to Pop-Up

We are doing a Map with a list of people that we need to have their photo added in with their address when clicked on the pins

Sign in to reply to this post

neilo

Hi Drew,

That should be straight forward as long as you are using the option to add your address dynamically from your database.

Your database (and therefore the recordset on your google map page) would have to contain the filename for the images you want to use. So when you have entered the addresses dynamically on the second screen of the ProMaps interface(as per instructions here), you proceed to the next screen and would select 'custom' from the 'Info Window' drop-down list. You should see the dynamic data already entered for the address fields.

You would then just need to add the line for your image:

<strong>Address:</strong>
<?php echo $row_Recordset1['UserAddress']; ?>
<?php echo $row_Recordset1['UserCity']; ?>,
<?php echo $row_Recordset1['UserState']; ?>
<?php echo $row_Recordset1['UserZip']; ?>
<img src="pathto/yourimages/<?php echo $row_Recordset1['the_image_filename']; ?>">



The images would all have to be the right size on the server, as this would just place the image 'as is'. Digital File Pro could size the image as you want it if you are using that to upload them.

(You could also specify a size in the <img> tag of your code, but unless all of your images' heights are the same prportionally to their widths, you might end up with some squashed faces).

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...