<?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>Thu, 24 May 2012 04:59:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NetTuts.com: Create Instagram Filters With PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17728</guid>
      <link>http://www.phpdeveloper.org/news/17728</link>
      <description><![CDATA[<p>
On NetTuts.com there's a new tutorial showing how you can <a href="http://net.tutsplus.com/tutorials/php/create-instagram-filters-with-php/">create Instagram-like filters</a> in PHP using the <a href="http://www.imagemagick.org/script/index.php">ImageMagick</a> library/extension.
</p>
<blockquote>
PHP comes bundled with <a href="http://www.php.net/manual/en/book.image.php">GD</a> (GIF Draw/Graphics Draw), which is a library for the dynamic creation of images. It can be used for simpler image operation, such as resizing, cropping, adding watermarks, <a href="http://net.tutsplus.com/articles/news/how-to-dynamically-create-thumbnails/">creating thumbnails</a> (Jeffrey wrote about it), applying basic photo filters - you've probably used it before. Unfortunately, if you want to create something more complex with GD, like Instagram effects, you can't. Luckily, though, we have ImageMagick!
</blockquote>
<p>
He starts off by comparing the two graphics libraries and talks briefly about <a href="http://www.imagemagick.org/script/binary-releases.php">how to downliad</a> and install Imagemagick on your development platform. Included is a PHP class to help you use it, coming complete with functions for changing the color tone of the image, adding a border and adding a <a href="http://en.wikipedia.org/wiki/Vignetting">vignette</a> to the image. Also included are some "presets" represented in a few simple functions:
</p>
<ul>
<li>Gotham
<li>Toaster
<li>Nashville
<li>Lomo
<li>Kelvin
</ul>
<p>
There's also a few links to other resources you can use to find out more details on what Imagemagick has to offer.
</p>]]></description>
      <pubDate>Mon, 26 Mar 2012 10:07:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Creating a Mobile Photo Blog, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/16989</guid>
      <link>http://www.phpdeveloper.org/news/16989</link>
      <description><![CDATA[<p>
PHPMaster.com has posted the <a href="http://phpmaster.com/creating-a-mobile-photo-blog-part-2/">second part</a> of their series helping you build a mobile photo blog powered by email attachments pulled over POP3. (Part one <a href="http://phpdeveloper.org/news/16956">is here</a>)
</p>
<blockquote>
This is the second article in a two part series in which I show you how to create a photo blog that is updated from your mobile device. <a href="http://phpmaster.com/creating-a-mobile-photo-blog-part-1">Part 1</a> laid out the plan for building the application, set up the database requirements, and introduced you to some user contributed functions from the PHP manual which make it easy to retrieve messages from a POP3 mail server. In this installment I show you how to bring everything together so you can start photo-blogging on the go.
</blockquote>
<p>
In this new tutorial they include the code to authenticate against the database, insert the email details into the tables and inserting the formatted results into blog posts. It's finished off with the code to pull out the latest entries and display them along with their matching photos.
</p>]]></description>
      <pubDate>Thu, 13 Oct 2011 10:54:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Creating a Mobile Photo Blog, Part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/16956</guid>
      <link>http://www.phpdeveloper.org/news/16956</link>
      <description><![CDATA[<p>
PHPMaster.com has started up a new series of tutorials today with part one of "<a href="http://phpmaster.com/creating-a-mobile-photo-blog-part-1/">Creating a Mobile Photo Blog</a>". The set of tutorials will show you how to create a simple blogging tool that will upload images as submitted via an email address.
</p>
<blockquote>
This is the first article in a two-part series in which I will show you how to create a photo blog as part of your personal website which you can update from your phone simply by sending an email. You'll write a script to check the inbox of an email account for new messages using POP3; the script will extract the messages' subject line, body text, and attachments and update a database accordingly. You can then pull the information from the database for display on your blog, in a sidebar, or however else you see fit.
</blockquote>
<p>
The start with some of the security considerations you'll need to keep in mind when creating a script like this depending on how open you want it to be (like filtering based on the "From" email or sending an approval message before posting). Included in the post is the SQL to create their basic tables for posts, image details and the pending items. There's also a PHP class (POP3) that makes an IMAP connection to a remote server, authenticates as your account and fetches the latest messages along with their attachments. These are pulled with a quick script and displayed via a foreach.
</p>
<p>
Part two will get into more of the integration of the images and the approval technique prior to posting the images.
</p>]]></description>
      <pubDate>Thu, 06 Oct 2011 08:35:57 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP North West 2010 Wrap-ups]]></title>
      <guid>http://www.phpdeveloper.org/news/15310</guid>
      <link>http://www.phpdeveloper.org/news/15310</link>
      <description><![CDATA[<p>
In the wake of the <a href="http://conference.phpnw.org.uk/phpnw10/">PHP North West conference</a>, several of the attendees (and speakers alike) have posted their summaries and thoughts about the two day event. Here's a few so far:
</p>
<ul>
<li><i>John Mertic</i>'s <a href="http://jmertic.wordpress.com/2010/10
/09/slides-posted-from-my-talk-at-phpnw/">Deployable applications slides</a>
<li><i>Lorna Mitchell</i>'s <a href="http://www.lornajane.net/posts/2010/PHPNW10-Teach-a-Man-to-Fish">Teach a Man to Fish</a>
<li><i>Lorenzo Alberton</i>'s <a href="http://www.alberton.info/phpnw10_summary_and_new_job.html">slides</a>
<li><i>Stuart Herbert</i>'s posts on <a href="http://blog.stuartherbert.com/php/2010/10/19/phpnw10-jeremy-coates/">Jeremy Coates</a>, the <a href="http://blog.stuartherbert.com/php/2010/10/20/phpnw10-saturday-speakers-track-1/">Saturday speakers, track 1</a>, <a href="http://blog.stuartherbert.com/php/2010/10/18/phpnw10-friday-social/">Friday social</a>, <a href="http://blog.stuartherbert.com/php/2010/10/21/phpnw10-conference-audience/">the audience</a>
<li><i>Jamie Hurst</i>'s <a href="http://www.jamiehurst.co.uk/php-conference-manchester-phpnw-2010/">wrapup</a>
</ul>
<p>
As others pop up, they'll be added to the list. Don't see yours here? <a href="mailto:info@phpdeveloper.org">let me know</a>!
</p>]]></description>
      <pubDate>Wed, 20 Oct 2010 12:34:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Codrops Blog: Fresh Sliding Thumbnails Gallery with jQuery and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14720</guid>
      <link>http://www.phpdeveloper.org/news/14720</link>
      <description><![CDATA[<p>
On the Codrops blog there's a <a href="http://tympanus.net/codrops/2010/05/23/fresh-sliding-thumbnails-gallery-with-jquery-php/">recent tutorial</a> posted showing how to create a fully-functional image slider/viewer with a combination of HTML, jQuery and a bit of PHP (<a href="http://tympanus.net/Tutorials/FreshSlidingThumbnailsGallery/">here's a demo</a>).
</p>
<blockquote>
In this tutorial we are going to create another full page image gallery with a nice thumbnail area that scrolls automatically when moving the mouse. The idea is to allow the user to slightly zoom into the picture by clicking on it. The thumbnails bar slides down and the image resizes according to the screen size.
</blockquote>
<p>
Based on <a href="http://valums.com/scroll-menu-jquery/">this tutorial</a>, they show you how to build on it and add a few new features like a changing cursor depending on its position in the current image. The show the folder structure you'll need, the HTML and PHP to make the backend work and the CSS and Javascript to round out the frontend. If you want to skip straight to the good stuff you can also just <a href="http://tympanus.net/Tutorials/FreshSlidingThumbnailsGallery/FreshSlidingThumbnailsGallery.zip">download all the code</a> and get started.
</p>]]></description>
      <pubDate>Tue, 29 Jun 2010 12:37:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Kae Verens' Blog: Extracting a sudoku puzzle from a photo]]></title>
      <guid>http://www.phpdeveloper.org/news/11881</guid>
      <link>http://www.phpdeveloper.org/news/11881</link>
      <description><![CDATA[<p>
<i>Kae Verens</i> has posted a <a href="http://verens.com/archives/2009/02/03/extracting-a-sudoku-puzzle-from-a-photo/">cool little application</a> of how to pull information out of a photo and parse it with the GD library. His example is a <a href="http://verens.com/archives/2009/02/02/visual-sudoku-solver/">visual sudoku solver</a> (part one, at least).
</p>
<blockquote>
The plan for this one is that, if you're doing a sudoku puzzle in the pub or on the train, and you get stuck, you just take a snapshot of the puzzle with your camera-phone, send the photo to a certain mobile number, and a few seconds later the solution is sent back as an SMS message. The solution costs you something small - 50 cents, maybe.
</blockquote>
<p>
The script looks at a picture of a sudoku puzzle, converts it to b&w and tries to find the squares surrounding each position of the board. With these measurements, the next step is to grab the numbers already in the puzzle and hand those off to the puzzle solver to be processed.
</p>]]></description>
      <pubDate>Wed, 04 Feb 2009 12:57:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Building the Back-End of a Photo Site]]></title>
      <guid>http://www.phpdeveloper.org/news/11466</guid>
      <link>http://www.phpdeveloper.org/news/11466</link>
      <description><![CDATA[<p>
The NETTUTS.com site has posted <a href="http://nettuts.com/videos/screencasts/building-the-back-end-of-a-photo-site/">the next part in their series</a> on the creation of a photo site with PHP and jQuery. This time they focus on the backend of the application, written in PHP.
</p>
<blockquote>
For those of you who have been following the last few screencasts, you must have noticed that each tutorial has been centered around a "photo site" theme. (See <a href="http://nettuts.com/videos/screencasts/scanning-folders-with-php/">Scanning Folders With PHP</a>, <a href="http://nettuts.com/videos/screencasts/how-to-dynamically-create-thumbnails/">How to Dynamically Create Thumbnails</a>, and <a href="http://nettuts.com/videos/screencasts/create-a-photo-admin-site-using-php-and-jquery/">Create a Photo-Admin Site Using PHP and jQuery</a>. Today, we'll build the backend for a photo site. This tutorial will teach you how to add, delete, and update photos.
</blockquote>
<p>
You can <a href="http://nettuts.com/videos/screencasts/building-the-back-end-of-a-photo-site/">watch the screencast</a> right in the post as well as follow along with the tutorial steps and <a href="http://nettuts.s3.amazonaws.com/137_screencast/newPhotoSite_backend.zip">download the source</a> for their example.
</p>]]></description>
      <pubDate>Thu, 27 Nov 2008 15:29:27 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Scanning Folders with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11403</guid>
      <link>http://www.phpdeveloper.org/news/11403</link>
      <description><![CDATA[<p>
The NETTUTS.com site has posted <a href="http://nettuts.com/videos/screencasts/scanning-folders-with-php/">a new PHP-related screencast</a> that covers a simple script to scan over the contents of folders in PHP. To illustrate, they create an image gallery script that mirrors the filesystem structure.
</p>
<blockquote>
Let's imagine that you want to build a page that will display snapshots of your latest work. [...] In such instances, the best solution is to make PHP scan your "portfolio" folder and dynamically create the code for you. If you want to update your page with a new snapshot, all that you need to do is drag the image, and its respective thumbnail, into the appropriate folders - and PHP will do the rest. Let's build it now! 
</blockquote>
<p>
The screencast comes complete with <a href="http://nettuts.s3.amazonaws.com/120_screencast/scanFolders.zip">the entire source</a> and a <a href="http://nettuts.com/demos/018_screencast/featured.php">link to a demo</a> to show the end result.
</p>]]></description>
      <pubDate>Thu, 13 Nov 2008 14:18:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Reading and Writing MP3 and Photo Metadata with PECL ]]></title>
      <guid>http://www.phpdeveloper.org/news/11384</guid>
      <link>http://www.phpdeveloper.org/news/11384</link>
      <description><![CDATA[<p>
The Zend Developer Zone has a <a href="http://devzone.zend.com/article/4025-Reading-and-Writing-MP3-and-Photo-Metadata-with-PECL-">new tutorial</a> from <i>Vikram Vaswani</i> looking at the reading and writing of metadata for mp3s and images with two handy PECL extensions.
</p>
<blockquote>
It's just that every time I sit down to have a go at [finding something in my photo or mp3 library], the sheer volume of data overwhelms me and I take the command decision to deal with something easier instead. Sounds familiar? If it does, help is at hand, in the form of PHP's ID3 and EXIF extensions. These extensions can help you organize and catalog your digital media collection so that it's easier to navigate and search. Keep reading, and I'll show you how.
</blockquote>
<p>
He installs the ID3 package first (via the pecl command line tool) and gives a few sample scripts to pull the metadata information out of a mp3 file as well as update/remove the information that's already there. He even sets up a simple SQLite database to store the information he's retrieved.
</p>
<p>
The second part of the tutorial looks at grabbing the image metadata via the <a href="http://www.php.net/exif">EXIF extension</a>. This can yield all sorts of information including date/time the photo was taken, the resolution, the model of the camera and various camera settings at the time. He includes a sample script that automatically makes thumbnails for the images via the <a href="http://www.php.net/exif_thumbnail">exif_thumbnail</a> function.
</p>]]></description>
      <pubDate>Tue, 11 Nov 2008 08:44:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Create a Photo Admin Site Using PHP and jQuery]]></title>
      <guid>http://www.phpdeveloper.org/news/11314</guid>
      <link>http://www.phpdeveloper.org/news/11314</link>
      <description><![CDATA[<p>
The NETTUTS.com site has <a href="http://nettuts.com/videos/screencasts/create-a-photo-admin-site-using-php-and-jquery/">another tutorial</a> showing how to combine a powerful language, PHP, and an equally powerful Javascript library, jQuery, to create a simple photo admin site - part one of a series.
</p>
<blockquote>
I'm pleased to present you with part one of a two part series on creating a photo site using PHP, jQuery, and AJAX. Originally, I intended to fit the entire tutorial into one screencast, but that quickly became a pipe dream as I realized that there was simply too much to cover. Nevertheless, even if you only watch this first video, you should learn a great deal.
</blockquote>
<p>
In this first part of the series he'll walk you through creating a simple login form to authenticate the user, grab images from the database and show how to keep the database updated. There's a screencast along with the code/html for the tutorial as well as a <a href="http://nettuts.s3.amazonaws.com/109_screencastPhotosSite/myPhotosWebsite.zip">source download</a> if you just want to skip straight to the good stuff.
</p>]]></description>
      <pubDate>Thu, 30 Oct 2008 08:46:30 -0500</pubDate>
    </item>
  </channel>
</rss>

