Hello!
I was wondering if someone might be able to clue me as to why a block that I am trying to create will not display an image. The text in the block displays just fine, but the image will not display no matter what. What I would really like to do is this:
<div style='float: right;'>
Time: Sunday Mornings 10am<br/>
Location: The Seymor Osman Community Center<br/>
in the Dover Housing Authority, 40 Hampshire Circle<br/>
Dover, New Hampshire<br/>
<img src="http://maps.googleapis.com/maps/api/staticmap?center=40+Hampshire+Circle,+Dover,+NH&zoom=15&size=300x300&markers=color:red%7Clabel:I%7C43.202464,-70.894788&sensor=false"></img>
</div>
And that works just as I would expect in a test html file, with the text displaying on top of the image. Yet in Drupal, the text is there but the image is not. Figuring that Google might be blocking the incoming link from my site, I saved the map image locally, uploaded that as an Image, and linked to the file directly, like this:
<div style='float: right;'>
Time: Sunday Mornings 10am<br/>
Location: The Seymor Osman Community Center<br/>
in the Dover Housing Authority, 40 Hampshire Circle<br/>
Dover, New Hampshire<br/>
<img src="http://www.iddev.nhkujawas.com/sites/default/files/assets/imago_dei_static_map.png"></img>
</div>
Yet I get the same results: text but no image. I've tried a couple different modules for Google maps, but they don't provide exactly what I am looking for and I'm too new to Drupal (I'm a Java developer by trade) and have too short a deadline to customize them. Any insight on why the block won't work would be GREATLY appreciated.
Thanks in advance!
-Chris
Comments
Take a look at the generated
Take a look at the generated html and look at the html for the image tag and see what is there (a link to the page always makes it easier for others to help)
Input formats
http://drupal.org/documentation/modules/filter
Awesome!
Thank you both! I knew from past experience that the image URL wasn't there...double checked the input filter (which defaults to full html for admin on my personal site) and it defaults to filtered...switching that to full did the trick:).