<?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>Sun, 07 Sep 2008 09:57:30 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Cory Borrow's Blog: Creating thumbs from textfiles with PHP and GD]]></title>
      <guid>http://www.phpdeveloper.org/news/9437</guid>
      <link>http://www.phpdeveloper.org/news/9437</link>
      <description><![CDATA[<p>
<i>Cory Borrow</i> has <a href="http://www.coryborrow.com/2008/01/11/creating-thumbs-from-textfiles-with-php-and-gd/">posted a tutorial</a> he's created to show how to harness the power of PHP and GD to create thumbnail images out of the contents of a text file.
</p>
<blockquote>
Today, I'll give a little info on how to achieve the process of creating a thumbnail using PHP, GD and the text from a text file. It is really pretty simple, so lets get started.
</blockquote>
<p>
The trick behind the translation is in reading in the contents of the (plain) text file and pushing it into a string value of a newly created GD-generated image. He includes the code to make using it in your own app simple (a cut and paste version) - his method FileToThumb.
</p>]]></description>
      <pubDate>Wed, 16 Jan 2008 12:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Padding thumbnail with color]]></title>
      <guid>http://www.phpdeveloper.org/news/9406</guid>
      <link>http://www.phpdeveloper.org/news/9406</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has another image tutorial posted to his blog today - this time the focus is on <a href="http://valokuva.org/?p=92">padding a thumbnail</a> with the color of your choice automatically.
</p>
<blockquote>
Today's example originates from a question asked by a user. How do I thumbnail the image inside given dimensions proportionally and fill the "blank" areas with a color? Well, the answer is here.
</blockquote>
<p>
His code pulls in the source image, generates a thumbnail from it and makes a new image (the background) that's a bit bigger than the thumbnail. From there, the thumbnail is laid on top and the whole thing is output as another PNG. An example of the input and output image is included.
</p>]]></description>
      <pubDate>Fri, 11 Jan 2008 12:05:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Pretty Thumbnails]]></title>
      <guid>http://www.phpdeveloper.org/news/8804</guid>
      <link>http://www.phpdeveloper.org/news/8804</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has another example of image manipulation in PHP through Imagick to <a href="http://valokuva.org/?p=45">create dynamic thumbnails</a> of your images.
</p>
<blockquote>
Today's example is about making pretty thumbnails by combining a drop-in shadow with round corners. The image is first scaled down to create a thumbnail. [...] The next step is to round the corners of the image. [...] The final step is to create the drop-in shadow and composite the thumbnail over it.
</blockquote>
<p>
Both the code block to create the thumbnail and a before and after image to show how it translates in <a href="http://valokuva.org/?p=45">the post</a>.
</p>]]></description>
      <pubDate>Mon, 08 Oct 2007 16:14:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: Four New Articles - Load Balancing, Request Info, UUID Behavior & Upload Thumbnails]]></title>
      <guid>http://www.phpdeveloper.org/news/8007</guid>
      <link>http://www.phpdeveloper.org/news/8007</link>
      <description><![CDATA[<p>
The Bakery has four new items posted today including articles looking at load balancing, the Request component and UUID behavior in your CakePHP application.
</p>
<ul>
<li><a href="http://bakery.cakephp.org/articles/view/load-balancing-and-mysql-master-and-slaves-2">Load Balancing and MySQL Master and Slaves</a> - If you are currently using MySql master/slave replication for load balancing and wish to transport to cakePHP, it really couldn't be easier.
<li><a href="http://bakery.cakephp.org/articles/view/request-information-component-4">Request Information Component</a> - Need more insight into how a controller structures a CakePHP request? This little component will log important information and variables for each request to your application's debug log.
<li><a href="http://bakery.cakephp.org/articles/view/uuid-behavior">Uuid Behavior</a> - I have a requirement to use UUID's as primary keys. I was initially using MySQL triggers to call uuid() on insert but in the end decided a behavior makes more sense. This behavior adds a UUID to the field specified in your models.
<li><a href="http://bakery.cakephp.org/articles/view/improved-upload-behaviour-with-thumbnails-and-name-correction">Improved Upload Behaviour with Thumbnails and Name Correction</a> - This is an improved version of Chris Partridge's upload behaviour (http://bin.cakephp.org/saved/17539). The behaviour is able to generate thumbnails if used for images (JPEG/PNG only). 
</ul>
<p>
CakePHP users can check out these and more great articles, tutorials and more on <a href="http://bakery.cakephp.org/">The Bakery</a>.
</p>]]></description>
      <pubDate>Fri, 08 Jun 2007 09:37:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[AnyExamples.com: PHP multiple photo thumbnail generator]]></title>
      <guid>http://www.phpdeveloper.org/news/7533</guid>
      <link>http://www.phpdeveloper.org/news/7533</link>
      <description><![CDATA[<p>
The AnyExamples site has <a href="http://www.anyexample.com/programming/php/php_multiple_photo_thumbnail_generator.xml">a new tutorial</a> posted that looks the creation of a "multiple photo thumnail generator".
</p>
<blockquote>
Built-in PHP library gd does not have ready-to-use function for photo(jpeg) thumbnail generation. Although there are many such examples on the net, they are usually not suitable for effective generating series of thumbnails (240x240, 140x140, 80x80). This article provides php function thumbnail_generator and trivial image uploading script, which generates series of thumbnails.
</blockquote>
<p>
They start with the creation of two functions, one to calculate the new thumbnail's size and the other to work to create it. They explain it briefly then move on to a useful application - a file upload that automatically creates a thumbnail for an uploaded image.
</p>]]></description>
      <pubDate>Fri, 30 Mar 2007 09:03:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Web Development Blog: Dynamic thumbnails from websites]]></title>
      <guid>http://www.phpdeveloper.org/news/7287</guid>
      <link>http://www.phpdeveloper.org/news/7287</link>
      <description><![CDATA[<p>
The Web Development Blog has a <a href="http://www.web-development-blog.com/archives/dynamic-thumbnails-from-websites/">quick new tutorial</a> on using the <a href="http://www.girafa.com/">Girafa.com</a> web service to create a thumbnail of your website.
</p>
<blockquote>
Since Alexa stopped offering their free thumbnail service last year a lot of thumbnail services are available now. Some of them offering limited free services and others only a paid premium version. On of the bigger and better services is <a href="http://www.girafa.com/">Girafa</a>, a thumbnail service with a free service and also premium services for users with more then 2000 image requests a month.
</blockquote>
<p>
He <a href="http://www.web-development-blog.com/archives/dynamic-thumbnails-from-websites/">includes the simple code</a> needed to make the request (inside of a thumbnail() function) and shows an example of how to fetch and store the resulting image.
</p>]]></description>
      <pubDate>Thu, 15 Feb 2007 10:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: WebThumb contest ends on the 15th]]></title>
      <guid>http://www.phpdeveloper.org/news/7067</guid>
      <link>http://www.phpdeveloper.org/news/7067</link>
      <description><![CDATA[<p>
<i>Joshua Eichorn</i> has <a href="http://blog.joshuaeichorn.com/archives/2007/01/09/webthumb-content-ends-on-the-15th/">a reminder</a> about the WebThumb (a PHP-based website thumbnailing service) contest that he's having.
</p>
<blockquote>
The <a href="http://bluga.net/webthumb/contest.php">WebThumb contest</a> ends on the 15th. I know there are couple projects out there that haven't officially entered. If you want to have a chance to win an upgraded Webthumb account make sure to get your entries in, the contest website has all the details.
</blockquote>
<p>
The <a href="http://bluga.net/webthumb/">WebThumb service</a> is a web service that allows remote users to request a thumbnail of a site and, when it's ready, automatically fetch it to be used however they want. You can even defined custom heights and widths for the browser to use. 
</p>]]></description>
      <pubDate>Wed, 10 Jan 2007 07:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: New Webthumb feature, Easythumb]]></title>
      <guid>http://www.phpdeveloper.org/news/6800</guid>
      <link>http://www.phpdeveloper.org/news/6800</link>
      <description><![CDATA[<p>
<i>Joshua Eichorn</i> has posted <a href="http://blog.joshuaeichorn.com/archives/2006/11/29/new-webthumb-feature-easythumb/">an update on his blog</a> today about a change to the PHP-powered <a href="http://bluga.net/webthumb/">WebThumb API service</a> - the addition of "EasyThumb".
</p>
<blockquote>
Like the rest of webthumb its still in beta but it makes adding thumbnails too a site much easier. Easythumb gives you a simple interface to WebThumb letting people with minimal PHP skills integrate WebThumb into there site. 
</blockquote>
<p>
He <a href="http://blog.joshuaeichorn.com/archives/2006/11/29/new-webthumb-feature-easythumb/">includes</a> a basic <a href="http://bluga.net/webthumb/sample/et.php">example script</a> to get you started with the new feature as well as a bare-bones code example for the same kind of thing.
</p>]]></description>
      <pubDate>Thu, 30 Nov 2006 13:09:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Consuming WebThumb's API in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6517</guid>
      <link>http://www.phpdeveloper.org/news/6517</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, there's <a href="http://devzone.zend.com/node/view/id/1069">a tutorial</a> put together by <i>Cal Evans</i> showing how to use the <a href="http://bluga.net/webthumb/">WebThumb API</a> via a PHP 5 script.
</p>
<blockquote>
It's a simple service on the surface. You hand it a URL, it gives you back a thumbnail of that web site. At first glance you may think..."ok, why?" The answer to that is of course, "it depends".
</blockquote>
<p>
He gives examples of reasons it would be needed (designers wanting to show off screenshots of a site or a replacement for Alexa's thumbnailing service) and the code that is needed to <a href="http://devzone.zend.com/node/view/id/1069">make things work</a>. The script asks for the three properties the API needs - a URL for the target site, the height of the browser "window" taking the shot, and the width of this same "window".
</p>
<p>
<i>Cal</i> show examples of the messages sent back and forth and includes the code for the PHP 5 class to make the request along with some sample usage code. The class makes a basic HTTP request to the API with the XML payload and waits for the response - an estimate of the time for the job and the URL that the results can be found at.
</p>]]></description>
      <pubDate>Tue, 17 Oct 2006 13:57:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Creating Thumbnail of WebPages using WebThumb API]]></title>
      <guid>http://www.phpdeveloper.org/news/6197</guid>
      <link>http://www.phpdeveloper.org/news/6197</link>
      <description><![CDATA[<p>
From <i>Hasin Hayder</i>'s blog, there's <a href="http://hasin.wordpress.com/2006/09/04/115/">a new tutorial</a> demonstrating how to use the newly released <a href="http://blog.joshuaeichorn.com/archives/2006/09/01/webthumb-api-released/">WebThumb API</a> from <i>Joshua Eichorn</i> to create thumbnails of websites dynamically.
</p>
<blockquote>
<p>
Using WebThumb API, you can generate a thumbnail in three steps. First you have to place a request containing the URL. As soon as your request is successful, WebThumb store your request in queue. That means you are not getting the thumbnail instantly (well, there are other factors also. to fetch an url requires time, so it is not possible to generate the thumbnail in real time).
</p>
<p>
In second step you have to check whether your thumbnail has been generated or it is still in the queue. If you get a green signal, you will proceed to the third step where you have to request a download URL of your thumbnails.
</p>
</blockquote>
<p>
He <a href="http://hasin.wordpress.com/2006/09/04/115/">shows how to make a request</a> to the API, check how your request is doing (status), and grabbing the thumbnail it's generated. Then, it's on to the code, and a complete PHP script (using cURL) to make the complete request to the API, including waiting for the image to be finished to grab it.
</p>]]></description>
      <pubDate>Wed, 06 Sep 2006 06:15:15 -0500</pubDate>
    </item>
  </channel>
</rss>
