Hi there,

Just wondering how to get this to work. I can normally display images in posts, but something like this:

<img src="http://maps.google.com/staticmap?center=40.714728,-73.998672&zoom=14&size=512x512&maptype=mobile&markers=40.702147,-74.015794,blues|40.711614,-74.012318,greeng|40.718217,-73.998284,redc&sensor=false&key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSsTL4WIgxhMZ0ZK_kHjwHeQuOD4xQJpBVbSrqNn69S6DOTv203MQ5ufA" />

Does not work - a bunch of the parameters get cut off. However, when I just save/upload the image and do something like:

<img src="/sites/all/files/google-map.gif" /> Then it works. So seems the parameters are the trouble.

Any tips/ideas?

Thanks!

Edited by WorldFallz - added <code> tags.

Comments

stoptime’s picture

-- bump --

mcrickman’s picture

Check your input format, Full HTML will remove script tags so google ads / maps code will be striped.
Try changing to PHP Code input type. You will need to enable this module (php filter) it's disabled in drupal 6 by default.

Charlie

zlex’s picture

Might be worthwhile to take a look at the gmap module.

nimzie’s picture

it looks like you're trying to link to a url that may not be an image through an image tag.
I would suggest taking a look at the gmap embed code and mimic that. I don't think you can use img tags like that.