<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 00:05:42 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Kae Verens' Blog: pre-parsing HTML for incorrectly-sized images]]></title>
      <guid>http://www.phpdeveloper.org/news/10707</guid>
      <link>http://www.phpdeveloper.org/news/10707</link>
      <description><![CDATA[<p>
<i>Kae Verens</i> has <a href="http://verens.com/archives/2008/07/27/pre-parsing-html-for-incorrectly-sized-images/">a recent blog post</a> that looks at a method for helping to protect users from themselves when working with images - a method for handling ones incorrectly sized.
</p>
<blockquote>
Every now and then, I get a call from a client who is puzzled why their site is running slow. I would look at their page and see an innocuous image inserted into a paragraph. When I examine the image, though, I see that the client has artificially resized the image using HTML. One recent example showed on-screen as a 300px-wide image. When I examined it, it was actually 3000px wide (approx).
</blockquote>
<p>
The <a href="http://verens.com/demos/html_imageresizer/html_imageresizer.phps">script</a> looks through some HTML markup and, based on the sizes in the image tags, resizes the images appropriately. An <A href="http://verens.com/demos/html_imageresizer/html_imageresizer.php">example</a> and <a href="http://verens.com/demos/html_imageresizer/html_imageresizer.phps">the source</a> are provided.
</p>]]></description>
      <pubDate>Tue, 29 Jul 2008 12:03:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Richard Davey's Blog: Easy Reflections v2]]></title>
      <guid>http://www.phpdeveloper.org/news/7397</guid>
      <link>http://www.phpdeveloper.org/news/7397</link>
      <description><![CDATA[<p>
<i>Richard Davey</i> has <a href="http://www.corephp.co.uk/archives/34-Easy-Reflections-v2.html">updated his Easy Reflections</a> PHP class according to a new post today:
</p>
<blockquote>
I have updated my Easy Reflections code and released v2. Thanks to feedback and some code from Monte Ohrt (co-developer of Smarty) he added in cache support and fixed a banding issue with the alpha levels. It all works really nicely now - and the new version, with the new docs are available at <a href="http://reflection.corephp.co.uk/">http://reflection.corephp.co.uk</a>.
</blockquote>
<p>
The <a href="http://reflection.corephp.co.uk/">script</a> takes any image (jpeg/png) and makes a reflection for it (he gives the album cover reflection in Apple's iTunes as an example). Configuration of the reflection is available including intensity, background, and height. Check out the galleries on <a href="http://www.motortopia.com">motortopia.com</a> for an example of it in action.
</p>]]></description>
      <pubDate>Wed, 07 Mar 2007 08:32:00 -0600</pubDate>
    </item>
  </channel>
</rss>
