<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Laughing DM &#187; Drupal</title>
	<atom:link href="http://www.thelaughingdm.com/wordpress/tag/drupal/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thelaughingdm.com/wordpress</link>
	<description>Behind the screen you hear the clatter of dice.  The Dungeon Master begins to laugh.  What do you do?</description>
	<lastBuildDate>Thu, 09 Sep 2010 03:03:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Drupal Image Oddity</title>
		<link>http://www.thelaughingdm.com/wordpress/2010/01/25/drupal-image-oddity/</link>
		<comments>http://www.thelaughingdm.com/wordpress/2010/01/25/drupal-image-oddity/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 05:20:03 +0000</pubDate>
		<dc:creator>DungeonMaster</dc:creator>
				<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.thelaughingdm.com/wordpress/?p=470</guid>
		<description><![CDATA[﻿In working on porting a hand coded web site to a Drupal web site there are a number of pages that need to be ported to the &#8220;Drupal way&#8221; of doing things.  One strange item that I ran across was was this image of what Drupal rendered for an image.  Admittedly, the src URL wasn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">﻿In working on porting a hand coded web site to a <a href="http://drupal.org">Drupal</a> web site there are a number of pages that need to be ported to the &#8220;Drupal way&#8221; of doing things.  One strange item that I ran across was was this image of what Drupal rendered for an image.  Admittedly, the src URL wasn&#8217;t correct.  What was unexpected was that instead of showing a placeholder the src and alt attributes were showing.</div>
<div class="wp-caption aligncenter" style="width: 301px"><img title="Drupal Image Oddity" src="http://thelaughingdm.com/wordpress/images/2010-Misc/Drupal-01.jpg" alt="Drupal Image Oddity" width="291" height="42" /><p class="wp-caption-text">Drupal Image Oddity</p></div>
<p>Typically when I setup a page with images I like to use a style like:</p>
<pre>      &lt;img class="badge"
           src="images/badges/npp.logo.80x15.png"
           alt="Notepad++" /&gt;</pre>
<p>Using multiple lines makes it easier to see all that is happening with the image.</p>
<p>Apparently this confuses Drupal in some way.  Drupal would not render the placeholder for the image until all of the attributes for the &lt;img&gt; tag were placed on the same line.</p>
<pre>      &lt;img class="badge" src="images/badges/npp.logo.80x15.png" alt="Notepad++" /&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.thelaughingdm.com/wordpress/2010/01/25/drupal-image-oddity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
