<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Yup Dot Com: Ruby FlexImage Plugin Now Especially Effective</title>
    <link>http://www.yup.com/articles/2006/10/26/ruby-fleximage-plugin-now-especially-effective</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>Advanced Web Services</description>
    <item>
      <title>Ruby FlexImage Plugin Now Especially Effective</title>
      <description>&lt;p&gt;&lt;img src="http://static.flickr.com/2/1606009_13860efa16_m.jpg" style="border: 1px dotted #ccc; margin: 4px; padding: 4px; float: right" /&gt;Alex Wayne has updated his FlexImage plugin for Ruby on Rails, and it now allows for all sorts of special effects such as translucent overlays, drop shadows, and borders, in addition to its existing image processing capabilities.  The plugin is described as:&lt;/p&gt;

&lt;blockquote&gt;
    &lt;p&gt;&amp;#8220;FlexImage is a plugin that allows you to put image data in your database And retrieve at any size, qulaity or cropping you like. Combine this with page caching and you have a fast and easy way to manage large numbers of uploaded images that are always just the right size for your needs.&amp;#8221;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;As an example, an image can be resized with an added drop shadow with the following snippet:&lt;/p&gt;

&lt;div class="typocode"&gt;&lt;pre&gt;&lt;code class="typocode_ruby "&gt;&lt;span class="ident"&gt;flex_image&lt;/span&gt;  &lt;span class="symbol"&gt;:action&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="punct"&gt;'&lt;/span&gt;&lt;span class="string"&gt;show&lt;/span&gt;&lt;span class="punct"&gt;',&lt;/span&gt;
            &lt;span class="symbol"&gt;:class&lt;/span&gt;  &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="constant"&gt;MyImage&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt;
            &lt;span class="symbol"&gt;:size&lt;/span&gt;   &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="number"&gt;200&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt;
            &lt;span class="symbol"&gt;:crop&lt;/span&gt;   &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="constant"&gt;true&lt;/span&gt;&lt;span class="punct"&gt;,&lt;/span&gt;
            &lt;span class="symbol"&gt;:shadow&lt;/span&gt; &lt;span class="punct"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="constant"&gt;true&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Thanks, Alex!&lt;/p&gt;

&lt;p&gt;&lt;a href="http://beautifulpixel.com/articles/2006/10/26/flex-image-now-has-special-effects"&gt;Alex&amp;#8217;s Blog Posting&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://beautifulpixel.com/flex_image/index.html"&gt;FlexImage API Documentation&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://www.agilewebdevelopment.com/plugins/fleximage"&gt;FlexImage at the Ruby Plugins Directory&lt;/a&gt;  &lt;/p&gt;</description>
      <pubDate>Thu, 26 Oct 2006 16:08:00 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:71ccdc84-2cbf-4078-aa5f-47ebe21d1c3f</guid>
      <author>Daniel Butler</author>
      <link>http://www.yup.com/articles/2006/10/26/ruby-fleximage-plugin-now-especially-effective</link>
      <category>Ruby on Rails</category>
    </item>
    <item>
      <title>"Ruby FlexImage Plugin Now Especially Effective" by Alex Wayne</title>
      <description>&lt;p&gt;I appreciate the kind words.  I hope it makes all the image galleries out there just that much prettier.  If you do something interesting with it, be sure to drop my blog and post a link!&lt;/p&gt;

&lt;p&gt;-Alex&lt;/p&gt;</description>
      <pubDate>Fri, 27 Oct 2006 15:42:26 -0400</pubDate>
      <guid isPermaLink="false">urn:uuid:665c010d-c800-4cd1-9bb7-0f04099ca492</guid>
      <link>http://www.yup.com/articles/2006/10/26/ruby-fleximage-plugin-now-especially-effective#comment-279</link>
    </item>
  </channel>
</rss>
