<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">

<title type="text">Digital Drivel (Full)</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/" />
<link rel="self" type="application/atom+xml" href="http://digitaldrivel.com/feeds/atom" />
<updated>2010-08-26T18:52:29Z</updated>
<rights>Copyright (c) 2010, Steve Abraham</rights>
<generator uri="http://expressionengine.com/" version="2.1.0">ExpressionEngine</generator>
<id>tag:digitaldrivel.com,2010:08:26</id>


<entry>
<title>Motorola&#8217;s Android 2.2 Rollout</title>
<link rel="alternate" type="text/html" href="http://www.pcworld.com/article/203891/" />
<id>tag:digitaldrivel.com,2010:/3.39</id>
<published>2010-08-26T17:50:28Z</published>
<updated>2010-08-26T18:52:29Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>Give me Apple&#8217;s &#8220;walled garden&#8221; approach any day.</p>

<p>/via <a href="http://daringfireball.net/">Daring Fireball</a>
</p>]]></content></entry>

<entry>
<title>Problem Solving</title>
<link rel="alternate" type="text/html" href="http://www.boingboing.net/2010/08/24/problem-solving-flow.html" />
<id>tag:digitaldrivel.com,2010:/3.38</id>
<published>2010-08-26T17:49:04Z</published>
<updated>2010-08-26T18:50:05Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>Not a bad approach to take&#8230;</p>

<p>/via <a href="http://www.boingboing.net/2010/08/24/problem-solving-flow.html">BoingBoing</a>
</p>]]></content></entry>

<entry>
<title>The Fridge: Facebook, but private</title>
<link rel="alternate" type="text/html" href="http://www.frid.ge/" />
<id>tag:digitaldrivel.com,2010:/3.34</id>
<published>2010-08-24T21:54:54Z</published>
<updated>2010-08-24T22:56:56Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>An interesting option aimed at groups looking for Facebook like features, but on an invite only basis.</p>

<blockquote><p>For your fraternity or family, wedding or bachelor party, BFFs or Club, or any reason.</p></blockquote>]]></content></entry>

<entry>
<title>Sergey Larenkov&#8217;s computational rephotography</title>
<link rel="alternate" type="text/html" href="http://sergey-larenkov.livejournal.com/" />
<id>tag:digitaldrivel.com,2010:/3.32</id>
<published>2010-08-19T20:03:27Z</published>
<updated>2010-08-19T21:06:28Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>From <a href="http://www.core77.com/blog/object_culture/ghosts_now_officially_exist_thanks_to_sergey_larenkovs_computational_rephotography_17049.asp">Core77</a>:
</p><blockquote><p>Photographer Sergey Larenkov uses computational rephotography (as shown above and explained here by Wired) to overlay extant WWII-era photographs on their corresponding modern settings. The results are both spooky and stunning</p></blockquote>]]></content></entry>

<entry>
<title>Adobe partners with Typekit to bring legendary typefaces to the web</title>
<link rel="alternate" type="text/html" href="http://blog.typekit.com/2010/08/16/typekit-and-adobe/" />
<id>tag:digitaldrivel.com,2010:/3.30</id>
<published>2010-08-16T15:59:55Z</published>
<updated>2010-08-16T16:59:56Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>Finally!</p>

<blockquote><p>Adobe and Typekit are teaming up to bring some of the world’s most popular, recognizable, and respected fonts to the web. Starting today, you’ll be able to use classics like Adobe Garamond, News Gothic, Myriad, and Minion plus many more on your website — all of them newly optimized and hinted for the screen. These fonts look fantastic.</p></blockquote>]]></content></entry>

<entry>
<title>Controlling which iOS keyboard is shown</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/controlling-which-ios-keyboard-is-shown" />
<id>tag:digitaldrivel.com,2010:/1.21</id>
<published>2010-08-14T18:00:45Z</published>
<updated>2010-08-14T19:00:46Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="iPhone" scheme="http://digitaldrivel.com/categories/iphone" label="iPhone" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>One of my pet hates (there are many), is being presented with the incorrect keyboard, or having auto capitalisation forced upon me, when entering information into web forms on my iPhone or iPad.&nbsp; This is something that&#8217;s very easy to control and can be done so with a little sprinkle of HTML5.&nbsp; You don&#8217;t even have to worry about old browsers - I&#8217;ve tested this to work perfectly well even in IE6.</p>

<p>The screenshots used in this post are from a UK based iPhone 4 running iOS4; previous versions of iPhone OS and the iPad will differ.</p>

<p>Your standard text input field code will look something like this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">input</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p><img src="/uploads/general/iphone-keyboard-text.jpg"  alt="" width="300" height="202"  /></p>

<p>In order to display the telephone keyboard, use this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"tel"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">input</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Tester: <input type="tel"></input></p>

<p><img src="/uploads/general/iphone-keyboard-tel.jpg"  alt="" width="300" height="202"  /></p>

<p>For URLs you want this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"url"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">input</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Tester: <input type="url"></input></p>

<p><img src="/uploads/general/iphone-keyboard-web.jpg"  alt="" width="300" height="202"  /></p>

<p>For email addresses, you want this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"email"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">input</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Tester: <input type="email"></input></p>

<p><img src="/uploads/general/iphone-keyboard-email.jpg"  alt="" width="300" height="202"  /></p>

<p>And finally, for a simple numerical keyboard (similar to the telephone one but with no +, * and # key:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"&nbsp;</span><span style="color: #0000BB">pattern</span><span style="color: #007700">=</span><span style="color: #DD0000">"&#91;0-9&#93;*"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">input</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Tester: <input type="text" pattern="[0-9]*"></input></p>

<p><img src="/uploads/general/iphone-keyboard-numerical.jpg"  alt="" width="300" height="202"  /></p>

<p>It&#8217;s also possible to control auto correct with the use of the following paramater:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">autocorrect</span><span style="color: #007700">=</span><span style="color: #DD0000">"off"&nbsp;</span>
</span>
</code></div>

<p>Last, but by no means least, turning on or off auto capitalisation:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">autocapitalize</span><span style="color: #007700">=</span><span style="color: #DD0000">"off"&nbsp;</span>
</span>
</code></div>

<p>So the next time you&#8217;re creating a login field that takes an email address, use something like this:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"email"&nbsp;</span><span style="color: #0000BB">autocorrect</span><span style="color: #007700">=</span><span style="color: #DD0000">"off"&nbsp;</span><span style="color: #0000BB">autocapitalize</span><span style="color: #007700">=</span><span style="color: #DD0000">"off"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">input</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Tester: <input type="email" autocorrect="off" autocapitalize="off"></input>
</p>]]></content></entry>

<entry>
<title>Eye of the Tiger played entirely on iPad apps</title>
<link rel="alternate" type="text/html" href="http://www.youtube.com/watch?v=Mn4mcA-9WCE&amp;feature=player_embedded#!" />
<id>tag:digitaldrivel.com,2010:/3.29</id>
<published>2010-08-14T17:48:31Z</published>
<updated>2010-08-14T18:51:32Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>More interesting from a technology point of view than actually that great as a musical piece&#8230; still, worth a watch.
</p>]]></content></entry>

<entry>
<title>Using phpThumb() in ExpressionEngine (Part 2)</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/using-phpthumb-in-expressionengine-part-2" />
<id>tag:digitaldrivel.com,2010:/1.28</id>
<published>2010-08-13T18:16:24Z</published>
<updated>2010-08-16T15:21:25Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="ExpressionEngine" scheme="http://digitaldrivel.com/categories/expressionengine" label="ExpressionEngine" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>For this next step I&#8217;m going to explore practical uses for phpThumb() within ExpressionEngine.</p>

<p>Since writing <a href="/archive/using-phpthumb-in-expressionengine-part-1">Part 1</a> of this I&#8217;ve added a gallery feature to this site that allows photos or images to be uploaded with each blog post.&nbsp; These appear as small thumbnails in rows under each post and are integrated with a JS lightbox script so they can be clicked on to view at a larger size. This functionality will form the basis for the following post.</p>

<p>If you want to follow along at home in true Blue Peter fashion, you&#8217;ll need the following:
</p><ul>
<li>An ExpressionEngine 2 site</li>
<li><a href="http://pixelandtonic.com/matrix">Pixel and Tonic Maxtrix fieldtype</a></li>
<li><a href="http://pixelandtonic.com/divebar">Pixel and Tonic Field Pack fieldtypes</a> (Dropdown)</li>
<li><a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox 2</a></li>
<li>Sticky backed plastic (no, not really)</li>
</ul>

<p>Before continuing I&#8217;d like to say that I&#8217;m completely open to suggestions for improvements to any of this, and will update in future posts with any suggestions that I feel are worth mentioning.</p>

<h3>Setting Up The Custom Fields</h3><p>
The first thing to do is start setting up the custom fields to hold our photos and set some options.</p>

<p>For this I&#8217;ve added a custom field to my blog field group called &#8220;post_gallery&#8221; and set it as a Matrix field type.&nbsp; In the Matrix field settings I&#8217;ve added two columns, the first is a file fieldtype called &#8220;image&#8221; and the second is a Dropdown fieldtype called &#8220;cropping&#8221;.</p>

<p>The &#8220;cropping&#8221; box offers a quick and easy way to tell phpThumb() how to crop the image, e.g. centre, bottom left, right, etc.&nbsp; In the Dropdown Options field, I&#8217;ve added the following:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">1&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Centre<br />T&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Top<br />R&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Right<br />B&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Bottom<br />L&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Left<br />TL&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Top&nbsp;Left<br />TR&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Top&nbsp;Right<br />BL&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Bottom&nbsp;Left<br />BR&nbsp;</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Bottom&nbsp;Right&nbsp;</span>
</span>
</code></div>

<p>These options can be changed, of course, to suit your needs, as you may only require a much simpler list.&nbsp; If you do change these options, remember to change the code below too.</p>

<p><a href="/uploads/general/gallery-matrixfield.gif" rel="lightbox"><img src="/scripts/img/img.php?src=/uploads/general/gallery-matrixfield.gif&amp;w=600&amp;q=90" /></a></p>

<p>
</p><h3>Setting Up Lightbox 2</h3><p>
At this point it&#8217;s wise to go ahead and set up <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox 2</a>.&nbsp; This is a little beyond the scope of this article, and the documentation over at the <a href="http://www.huddletogether.com/projects/lightbox2/">official website</a> is excellent (as are the examples).</p>

<h3>The Template Code</h3><p>
We&#8217;ll start by opening the Matrix field in the usual fashion:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;post_gallery&#125;&nbsp;</span>
</span>
</code></div>

<p>We only want to open the gallery div once and only if at least one image has been uploaded, so we&#8217;ll check that with a conditional that triggers only for the first Matrix row:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;if&nbsp;image&nbsp;</span><span style="color: #007700">AND&nbsp;</span><span style="color: #0000BB">row_count</span><span style="color: #007700">==</span><span style="color: #DD0000">"1"</span><span style="color: #0000BB">&#125;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"gallery&nbsp;clearfix"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">if&#125;&nbsp;</span>
</span>
</code></div>

<p>Then we open a div for each thumbnail, making use of the switch variable if necessary for row end styling. Again, a conditional checks that at least one image has been uploaded:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;if&nbsp;image&#125;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">div&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"thumb&#123;switch="</span><span style="color: #007700">|||||&nbsp;</span><span style="color: #0000BB">lastthumb</span><span style="color: #DD0000">"&#125;"</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Now we open the A tag that will wrap the thumbnail.&nbsp; The HREF for this tag references the larger file that will appear in the Lightbox window (not the thumbnail that&#8217;s displayed on the website).&nbsp; This uses the same code from <a href="/archive/using-phpthumb-in-expressionengine-part-1">Part 1</a>, specifying a width and height, and also a REL that enables the Lightbox functionality. I&#8217;m also passing the current entry ID to Lightbox so it groups all the attachments for this post together:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">a&nbsp;href</span><span style="color: #007700">=</span><span style="color: #DD0000">"/scripts/img/img.php?src=&#123;image&#125;<br />&amp;amp;w=800&amp;amp;h=600"&nbsp;</span><span style="color: #0000BB">rel</span><span style="color: #007700">=</span><span style="color: #DD0000">"lightbox&#91;&#123;entry_id&#125;&#93;"</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>After opening the A tag, we can now output the thumbnail image. Firstly, the IMG tag and phpThumb() code to create the thumbnail sized image:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">img&nbsp;src</span><span style="color: #007700">=</span><span style="color: #DD0000">"/scripts/img/img.php?src=&#123;image&#125;<br />&amp;amp;w=75&amp;amp;h=75&amp;amp;zc=&#123;cropping&#125;"&nbsp;</span><span style="color: #007700">/&gt;&lt;/</span><span style="color: #0000BB">a</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<p>Close the thumbnail DIV and the conditional:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&lt;!--.</span><span style="color: #0000BB">thumb</span><span style="color: #007700">--&gt;</span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">if&#125;&nbsp;</span>
</span>
</code></div>

<p>Conditional to check if this is the last row so we can close the gallery DIV:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;if&nbsp;image&nbsp;</span><span style="color: #007700">AND&nbsp;</span><span style="color: #0000BB">row_count</span><span style="color: #007700">==</span><span style="color: #0000BB">total_rows&#125;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&lt;!--.</span><span style="color: #0000BB">gallery</span><span style="color: #007700">--&gt;</span><span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">if&#125;&nbsp;</span>
</span>
</code></div>

<p>And finally, we close the Matrix field:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;</span><span style="color: #007700">/</span><span style="color: #0000BB">post_gallery&#125;&nbsp;</span>
</span>
</code></div>

<p>If that all made sense (and I didn&#8217;t typo!) you should now have a functioning basic gallery.&nbsp; I&#8217;ve attached a number of images to this post to show you the end result.</p>

<h3>Until Next Time</h3><p>
Once again, I hope this has been of some help to someone out there, and if so, please pass it along.&nbsp; In the next post I intend to continue where <a href="/archive/using-phpthumb-in-expressionengine-part-1">Part 1</a> left off, and cover some of the more advanced parameters for phpThumb() such as watermarking.</p>

<h3><b>Update - 16th August 2010:</b></h3><p>
Post updated with changes suggested by <a href="http://erikreagan.com/">Erik Reagan</a> (see comments below).
</p>]]></content></entry>

<entry>
<title>Pencil Tip Micro Sculptures by Dalton Ghetti</title>
<link rel="alternate" type="text/html" href="http://kronikle.kidrobot.com/pencil-tip-micro-sculptures-by-dalton-ghetti/" />
<id>tag:digitaldrivel.com,2010:/3.25</id>
<published>2010-08-12T20:49:52Z</published>
<updated>2010-08-12T21:50:53Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>Utterly astounding - amazing work.
</p>]]></content></entry>

<entry>
<title>Tweet Button</title>
<link rel="alternate" type="text/html" href="http://twitter.com/goodies/tweetbutton" />
<id>tag:digitaldrivel.com,2010:/3.24</id>
<published>2010-08-12T19:36:46Z</published>
<updated>2010-08-12T20:38:47Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>Twitter have launched their &#8220;Tweet Button&#8221;, very similar Facebook&#8217;s &#8220;Like&#8221; button - finally a social networking button worth using!
</p>]]></content></entry>

<entry>
<title>Lens Coffee Cup</title>
<link rel="alternate" type="text/html" href="http://photojojo.com/store/awesomeness/camera-lens-mug/" />
<id>tag:digitaldrivel.com,2010:/3.23</id>
<published>2010-08-12T18:43:59Z</published>
<updated>2010-08-12T19:45:00Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<content type="html"><![CDATA[<p>Needing a new cup for the office? You could do a lot worse than this&#8230;
</p>]]></content></entry>

<entry>
<title>DPI Doesn&#8217;t Matter</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/dpi-doesnt-matter" />
<id>tag:digitaldrivel.com,2010:/1.17</id>
<published>2010-08-03T13:55:51Z</published>
<updated>2010-08-03T14:55:52Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>OK, so I should probably clarify the rather misleading title with &#8220;for web use&#8221;.</p>

<p>I frequently have to ask for photos or images at a certain size, and because I&#8217;m one of those web types I use pixels as my measurement of choice.&nbsp; Invariably one of the first questions I get asked is &#8220;What DPI?&#8221;.&nbsp; When I explain that the DPI doesn&#8217;t matter for the web I get looked at like I&#8217;m from another planet.&nbsp; So for those that are already thinking I&#8217;m a little green man, let me show you an example.</p>

<p>Here we have a 500x200px photo at 72 DPI:</p>

<p><img src="/uploads/general/london-eye-72.jpg"  alt="" width="500" height="200"  /></p>

<p>Here we have the same image, this time at 300 PDI:</p>

<p><img src="/uploads/general/london-eye-300.jpg"  alt="" width="500" height="200"  /></p>

<p>And finally, here we have the image again, now at 1 DPI:</p>

<p><img src="/uploads/general/london-eye-1.jpg"  alt="" width="500" height="200"  /></p>

<p>All three are identical in file size, at around 20Kb and all are exactly the same quality.&nbsp; Feel free to download and check them in Fireworks, or your image editor of choice, to make sure I&#8217;m not lying to you.</p>

<p>DPI, standing for <em>Dots Per Inch</em>, clearly has no affect on web images since an inch isn&#8217;t a unit of measurement that has any bearing on-screen.</p>

<p>A 20x20px image is a 20x20px image at 1 DPI or at a 1000 DPI.
</p>]]></content></entry>

<entry>
<title>Using phpThumb() in ExpressionEngine (Part 1)</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/using-phpthumb-in-expressionengine-part-1" />
<id>tag:digitaldrivel.com,2010:/1.16</id>
<published>2010-08-02T16:53:02Z</published>
<updated>2010-08-13T19:19:03Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="ExpressionEngine" scheme="http://digitaldrivel.com/categories/expressionengine" label="ExpressionEngine" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>One of the things that is most often misunderstood and feared by end users is the manipulation of images for website use.&nbsp; There are addons available for <a href="http://www.expressionengine.com/index.php?affiliate=sja">ExpressionEngine</a> to help with this, allowing the end user to upload virtually any size of image and have it resized automatically to suit.&nbsp; The huge advantage of this kind of method of working with files is that should the design of the website change there&#8217;s no need to go back and resize a load of images, a simple parameter change and it&#8217;s all done.</p>

<p>I&#8217;ve used these addons on and off for sites I&#8217;ve developed over the years, but quite often I&#8217;ve hit various limitations such as the need to create rounded corners, or cropping images to the top rather than the centre.&nbsp; What I&#8217;ve continually fallen back on is an extremely useful collection of scripts called <a href="http://phpthumb.sourceforge.net/">phpThumb()</a> which I&#8217;ve always managed to crowbar into doing what I&#8217;ve needed.</p>

<p>I&#8217;ve decided to pull this post together to help others that have always relied on the available ExpressionEngine addons and maybe don&#8217;t realise that there are alternatives out there.&nbsp; The added bonus of phpThumb() is that because it&#8217;s a standalone script, it doesn&#8217;t matter which version of ExpressionEngine you&#8217;re using, it will work in exactly the same way with no code changes regardless of platform.</p>

<h3>Installation and setup</h3><p>
The first thing to do is <a href="http://sourceforge.net/projects/phpthumb/files/phpThumb()/">grab the latest version</a>, 1.7.9 at the time of writing, and unzip it onto your computer.&nbsp; You&#8217;ll end up with a folder called <em>phpThumb_1.7.9</em> or similar, depending on what version you downloaded.&nbsp; Inside will be a collection of PHP scripts and folders, most of which you can ignore.</p>

<p>You are clearly welcome to make any changes you see fit, but what follows are my recommendations which I&#8217;ll explain as I go.</p>

<p>The next step is to rename the folder and one of the files to help make links and code shorter.&nbsp; I&#8217;d recommend renaming the whole phpThumb() folder to something like <em>img</em>, and likewise rename <em>phpThumb.php</em> to <em>img.php</em>.</p>

<p>Next we need to delve into the configuration file called <em>phpThumb.config.php.default</em>, and the first thing we need to do is rename it to remove the <em>.default</em>.</p>

<p>Now go ahead and open the <em>phpThumb.config</em> in your favourite editor so we can make a couple of config changes.</p>

<p>By default phpThumb() uses a rather ludicrous cache structure, but one small config change will fix that. Somewhere round about line 47 you&#8217;ll find:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">$PHPTHUMB_CONFIG&#91;</span><span style="color: #DD0000">'cache_directory_depth'</span><span style="color: #0000BB">&#93;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">;&nbsp;</span>
</span>
</code></div>

<p>Change that to:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">$PHPTHUMB_CONFIG&#91;</span><span style="color: #DD0000">'cache_directory_depth'</span><span style="color: #0000BB">&#93;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">;&nbsp;</span>
</span>
</code></div>

<p>Finally, to ensure the most flexibility we want to make sure that phpThumb() will allow us to process files referenced using the full URL (i.e. <em>http://yourdomain.com/images/sample.jpg</em> rather than just <em>/images/sample.jpg</em>).&nbsp; On or around line 222 you&#8217;ll find:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">$PHPTHUMB_CONFIG&#91;</span><span style="color: #DD0000">'allow_local_http_src'</span><span style="color: #0000BB">&#93;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">;&nbsp;</span>
</span>
</code></div>

<p>Change that to:
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">$PHPTHUMB_CONFIG&#91;</span><span style="color: #DD0000">'allow_local_http_src'</span><span style="color: #0000BB">&#93;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">true</span><span style="color: #007700">;&nbsp;</span>
</span>
</code></div>

<p>Finally, save that file and upload the whole folder to somewhere in your document root.</p>

<p>If required, you will need to set the cache folder to world writeable (777), not all hosts require this to be done, but having installed ExpressionEngine you&#8217;ll know if this is needed.</p>

<p>The last step is to check that phpThumb() is working correctly and has access to all the right files - to do this browse to the <em>phpThumb.demo.check.php</em> file in the demo folder - something like <em>http://yourdomain.com/path/to/img/demo/phpThumb.demo.check.php</em>.</p>

<p>This script will check that phpThumb() can write to the cache folder and that all required server modules are available.&nbsp; Troubleshooting the output of this file is beyond the realm of this post, but any issues should be fairly easy to solve by either yourself or your host.</p>

<h3>The basics</h3><p>
Having got this far, the rest is really pretty simple.&nbsp; I&#8217;m going to start by uploading a photo straight from my camera, in this case a dusk shot of the London Eye.</p>

<p>Here&#8217;s the <a href="/uploads/general/london-eye.jpg">original, unedited photo</a>, it&#8217;s 2592x1936px weighing in at around 1.6Mb.</p>

<p>So, let&#8217;s now display that sample image using phpThumb(). For the above example file, you&#8217;d use an IMG tag like this:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">img&nbsp;src</span><span style="color: #007700">=</span><span style="color: #DD0000">"/scripts/img/img.php?src=&#123;filedir_1&#125;london-eye.jpg"&nbsp;</span><span style="color: #007700">/&gt;&nbsp;</span>
</span>
</code></div>

<p>Not a particularly useful example, because what you&#8217;ll end up with is once again the full size image, completely untouched.&nbsp; It does however prove that the script is running properly and that your paths and photo locations are correct.&nbsp; Let&#8217;s display the same image, but this time we&#8217;ll make it fit within this column of text by making it 500px wide.&nbsp; To do that we make use of the &#8220;w&#8221; parameter to specify the width in pixels.</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">img&nbsp;src</span><span style="color: #007700">=</span><span style="color: #DD0000">"/scripts/img/img.php?src=&#123;filedir_1&#125;london-eye.jpg&amp;w=500"&nbsp;</span><span style="color: #007700">/&gt;&nbsp;</span>
</span>
</code></div>

<p>This should result in the following - much more useful!</p>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=500" /></p>

<p>As you can see, this is now down to 500x373px and around 22Kb.</p>

<p>Let&#8217;s say you wanted to show the photo in a square and a little smaller, you use make use of the &#8220;w&#8221; and &#8220;h&#8221; (height) parameters, along with &#8220;zc&#8221; (zoom-crop), as follows.</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...&amp;</span><span style="color: #0000BB">w</span><span style="color: #007700">=</span><span style="color: #0000BB">100</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">h</span><span style="color: #007700">=</span><span style="color: #0000BB">100</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">zc</span><span style="color: #007700">=</span><span style="color: #0000BB">1&nbsp;</span>
</span>
</code></div>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=100&amp;h=100&amp;zc=1" /></p>

<p>Specificing &#8220;zc=1&#8221; means the resized photo will be exactly the size you specify with the &#8220;h&#8221; and &#8220;w&#8221; paramaters with any extra height or width cropped off based on the centre of the image.&nbsp; The same code but with &#8220;zc=0&#8221; results in the following.</p>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=100&amp;h=100&amp;zc=0" /></p>

<p>Now let&#8217;s display this image in a more awkward shape, 500px wide, but only 100px high, and we&#8217;ll re-enable zoom-crop.</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...&amp;</span><span style="color: #0000BB">w</span><span style="color: #007700">=</span><span style="color: #0000BB">500</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">h</span><span style="color: #007700">=</span><span style="color: #0000BB">100</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">zc</span><span style="color: #007700">=</span><span style="color: #0000BB">1&nbsp;</span>
</span>
</code></div>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=500&amp;h=100&amp;zc=1" /></p>

<p>As you can see, the top and bottom of the photo have been cropped off, and a strip from the centre of the photo is being shown.&nbsp; Let&#8217;s say though that you wanted to show the top of the image, rather than the centre - this is particularly useful if you&#8217;re creating thumbnails of people shots - you don&#8217;t want to see a lot of heads cut off!&nbsp; We change the paramaters to the following&#8230;</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...&amp;</span><span style="color: #0000BB">w</span><span style="color: #007700">=</span><span style="color: #0000BB">500</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">h</span><span style="color: #007700">=</span><span style="color: #0000BB">100</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">zc</span><span style="color: #007700">=</span><span style="color: #0000BB">T&nbsp;</span>
</span>
</code></div>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=500&amp;h=100&amp;zc=T" /></p>

<p>Now let&#8217;s try something a little different, rounded corners.&nbsp; Speficially in this case, a 10px rounded corner on all four corners.</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...&amp;</span><span style="color: #0000BB">w</span><span style="color: #007700">=</span><span style="color: #0000BB">200</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">h</span><span style="color: #007700">=</span><span style="color: #0000BB">200</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">zc</span><span style="color: #007700">=</span><span style="color: #0000BB">1</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">fltr&#91;&#93;</span><span style="color: #007700">=</span><span style="color: #0000BB">ric</span><span style="color: #007700">|</span><span style="color: #0000BB">10</span><span style="color: #007700">|</span><span style="color: #0000BB">10&nbsp;</span>
</span>
</code></div>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=200&amp;h=200&amp;zc=1&amp;fltr[]=ric|10|10" /></p>

<p>Finally, let&#8217;s take a look at image quality and file size - this can be controlled using the &#8220;q&#8221; parameter, taking values from 1 to 100.</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...&amp;</span><span style="color: #0000BB">w</span><span style="color: #007700">=</span><span style="color: #0000BB">200</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">q</span><span style="color: #007700">=</span><span style="color: #0000BB">10&nbsp;</span>
</span>
</code></div>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=200&amp;q=10" /></p>

<p>This has been set to a quality of 10 and produces a rather poor quality image, but the file size is only around 1.5Kb.</p>

<p><img src="/scripts/img/img.php?src=/uploads/general/london-eye.jpg&amp;w=200&amp;q=100" /></p>

<p>Here the same code has been used, but this time the quality has been changed to 100.&nbsp; The result is a much higher quality file, but this time the size is now around 20Kb.</p>

<p>This how-to has been thrown together very quickly, however I hope it&#8217;s been of some help to someone out there - and if so, pass the link on!</p>

<p>I&#8217;ll try and expand on this with more practical examples based on ExpressionEngine template code in the near future.&nbsp; In the meanwhile if there&#8217;s anything in particular you&#8217;d like to see in the next part, make use of the comment system to let me know.
</p>]]></content></entry>

<entry>
<title>The Internet is full, and a reboot won&#8217;t fix it.</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/the-internet-is-full-and-a-reboot-wont-fix-it" />
<id>tag:digitaldrivel.com,2010:/1.15</id>
<published>2010-08-02T16:33:49Z</published>
<updated>2010-08-04T16:46:50Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Internet (General)" scheme="http://digitaldrivel.com/categories/internet-general" label="Internet (General)" />
<content type="html"><![CDATA[<p>Current estimations suggest that available IP address space on the Internet will run out in less than a year.&nbsp; There are of course solutions to this in place, however currently the long term solution being adopted is being picked up incredibly slowly and I suspect the next few months are going to be quite interesting.</p>

<h3>The problem</h3><p>
Every single device connected directly to the Internet is assigned a unique address called an IP address. Back in 1981 when the current Internet Protocol (IP) revision was <a href="http://tools.ietf.org/html/rfc791">being specified</a> (IPv4), the Internet was in relative infancy. Computers were not common household items, mobile phones were very rare and certainly not Internet enabled and as such the for-seen requirement for IP address space was minimal.</p>

<p>IPv4 specified an address space of around 4 billion address which sounds like a sizeable amount, however as of today around only 6% of IPv4 address space remains unallocated, that&#8217;s less than 225 million addresses.&nbsp; If we keep consuming IPv4 at the current rate (which is vastly increasing year on year), <a href="http://www.potaroo.net/tools/ipv4/index.html">it is estimated</a> to run dry in July 2011 - less than 12 months away.</p>

<h3>The solution</h3><p>
In December 1998 a new version of IP <a href="http://tools.ietf.org/html/rfc2460">was specified</a> to succeed IPv4 as a long term solution to the address space exhaustion, IPv6.</p>

<blockquote><p>Space is big. Really big. You just won&#8217;t believe how vastly, hugely, mind-bogglingly big it is. I mean, you may think it&#8217;s a long way down the road to the chemist&#8217;s, but that&#8217;s just peanuts to space.<br />
<em>The Hitchhiker&#8217;s Guide to the Galaxy by Douglas Adams</em></p></blockquote>

<p>IPv6 is huge - mind-bogglingly so. The available address space for IPv6, in non technical notation, is 340 trillion, trillion, trillion.&nbsp; Want to see that as a number? 340,282,366,920,938,463,463,374,607,431,768,211,456.&nbsp; Now <em>that&#8217;s</em> a big numer, so big in fact it really is almost impossible to comprehend.&nbsp; Here&#8217;s a quote I came across that might help put it in perspective&#8230;</p>

<blockquote><p>The earth is about 4.5 billion years old. If we had been assigning IPv6 addresses at a rate of 1 billion per second since the earth was formed, we would have by now used up less than one trillionth of the address space.<br />
<em><a href="http://www.tcpipguide.com/free/t_IPv6AddressSizeandAddressSpace-2.htm">Charles M. Kozierok</a></em></p></blockquote>

<h3>So what now?</h3><p>
The problem is that IPv6 adoption by hardware vendors and broadband suppliers has been abysmally slow. Current penetration is estimated to be around 1% - considering IPv6 is over 10 years old and we have less than a year of IPv4 left, things are not looking too good.</p>

<p>We all need to take an active interest in this and putting pressure on the industry to start moving more quickly.&nbsp; This can be as simple as nagging your broadband providers about their plans for IPv6 adoption or the next time you&#8217;re buying a new broadband router, try and source one that&#8217;s IPv6 compatible. These simple things will make all the difference.&nbsp; For more information I can recommend having a look at <a href="http://www.ipv6actnow.org/">IPv6 Act Now</a>.
</p>]]></content></entry>

<entry>
<title>The new mini CMS from Ellislab, MojoMotor!</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/the-new-mini-cms-from-ellislab-mojomotor" />
<id>tag:digitaldrivel.com,2010:/1.14</id>
<published>2010-07-29T20:10:44Z</published>
<updated>2010-07-29T20:15:45Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="ExpressionEngine" scheme="http://digitaldrivel.com/categories/expressionengine" label="ExpressionEngine" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>I&#8217;ve been using <a href="http://www.expressionengine.com/index.php?affiliate=sja">ExpressEngine</a> from <a href="http://www.ellislab.com/">Ellislab</a> for some time now, in fact it&#8217;s the basis for every web job I do these days, and tonight the family got a new arrival; <a href="http://mojomotor.com/">MojoMotor</a>.</p>

<p>Priced at a give-away $49.95, it&#8217;s well worth a look for those simple websites that don&#8217;t require the power and depth of ExpressEngine.
</p>]]></content></entry>

<entry>
<title>Prevent iPhone auto adjusting web font sizes</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/prevent-iphone-auto-adjusting-web-font-sizes" />
<id>tag:digitaldrivel.com,2010:/1.13</id>
<published>2010-07-28T08:02:35Z</published>
<updated>2010-07-28T08:16:36Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="iPhone" scheme="http://digitaldrivel.com/categories/iphone" label="iPhone" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>When viewing websites on the iPhone it will auto adjust font sizes at will to improve readability - this can be especially useful when switching from landscape to portrait, for example.</p>

<p>However, on certain web layouts this can cause problems and may result in an undesired layout.</p>

<p>To prevent this, simply add the following to any element in your CSS:</p>

<p><code>-webkit-text-size-adjust:none;</code></p>

<p>Safari will now no longer auto adjust the font size.
</p>]]></content></entry>

<entry>
<title>Windows file permission/ownership woes</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/windows-file-permission-ownership-woes" />
<id>tag:digitaldrivel.com,2010:/1.12</id>
<published>2010-07-27T11:05:02Z</published>
<updated>2010-07-27T11:27:03Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Desktop Computing" scheme="http://digitaldrivel.com/categories/desktop-computing" label="Desktop Computing" />
<category term="Windows" scheme="http://digitaldrivel.com/categories/windows" label="Windows" />
<content type="html"><![CDATA[<p>Over the last few months, on various occasions, I&#8217;ve hit issues when trying to access files in Windows.&nbsp; Generally this seems to be down to a permissions/ownership problem, and in many cases I&#8217;ve been completely unable to change the security settings.&nbsp; The security tab in the file/folder properties only displays <strong>&#8220;The requested security information is either unavailable or can&#8217;t be displayed&#8221;</strong> and offers no further options.</p>

<p>Today, I found a solution: <a href="http://www.ztree.com/html/ztreewin.htm">ZTreeWin</a>.</p>

<blockquote><p>ZTreeWin is a fast and flexible text-mode file/directory manager for all versions of Windows. It has been developed as the successor to the legendary DOS file-manager XTreeGold. Anyone who has used that remarkable program would be aware of its superior capabilities as a text-mode, tree-structured file-manager - but would also likely be aware that its limited memory support, and lack of long filename support are today a major issue.</p>

<p>ZTreeWin is a 32-bit Windows program that has been developed to provide all the powerful functionality of the past (and much more!), while avoiding all the limitations of the old DOS-based program. </p></blockquote>

<p>ZTreeWin can access any file (even those that Windows wouldn&#8217;t touch with a bargepole) and allows you to rename, move or delete as required without any permissions or ownership issues.&nbsp; For me simply renaming the affected file was enough to solve the problem - as soon as the file was renamed I was able to access it again through normal Windows explorer.</p>

<p>A very useful and inexpensive tool - highly recommended.
</p>]]></content></entry>

<entry>
<title>Speed up your iPhone 3G</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/speed-up-your-iphone-3g" />
<id>tag:digitaldrivel.com,2010:/1.10</id>
<published>2010-07-26T08:56:34Z</published>
<updated>2010-07-26T10:44:35Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="iPhone" scheme="http://digitaldrivel.com/categories/iphone" label="iPhone" />
<category term="Smartphones" scheme="http://digitaldrivel.com/categories/smartphones" label="Smartphones" />
<content type="html"><![CDATA[<p>If, like many, you&#8217;re finding your old iPhone 3G a bit sluggish, here&#8217;s a handy tip from <a href="http://twitter.com/philipzaengle">@philipzaengle</a> and <a href="http://twitter.com/johnwilliams713">@johnwilliams713</a>... turn off Spotlight Search (providing you don&#8217;t use it, of course). Here&#8217;s how:</p>

<p><strong>Settings</strong> &raquo; <strong>General</strong> &raquo; <strong>Spotlight Search</strong> &raquo; <strong>Turn off all items</strong>.</p>

<p>You should notice a sigificant increase in how responsive the phone is.
</p>]]></content></entry>

<entry>
<title>Site Update - Atom, etc.</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/site-update-atom-etc" />
<id>tag:digitaldrivel.com,2010:/1.9</id>
<published>2010-07-24T14:36:14Z</published>
<updated>2010-07-27T22:13:15Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Site" scheme="http://digitaldrivel.com/categories/site" label="Site" />
<content type="html"><![CDATA[<p>An <a href="/feeds/atom">Atom feed</a> is now available, and I&#8217;ve included a couple of other minor things that were missing, namely the Apple Touch Icon and Favicon.</p>

<p><strong>Update 27/7/2010:</strong><br />
Comments are now active also.
</p>]]></content></entry>

<entry>
<title>Creating an Apple Touch Icon</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/creating-an-apple-touch-icon" />
<id>tag:digitaldrivel.com,2010:/1.8</id>
<published>2010-07-24T13:05:36Z</published>
<updated>2010-07-24T13:29:37Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>Something worth remembering when signing off the finishing touches to a website is to create the Apple Touch Icon.&nbsp; This is the icon that shows on your iPhone, iPod Touch or iPad home screen if you chose that option when bookmarking a website.</p>

<p>Up until now I&#8217;ve always created these as a 59x59px PNG (named &#8220;apple-touch-icon.png&#8221; and placed in the web root), however on the iPhone 4 and to a certain extent the iPad, these always looked fuzzy and low res.</p>

<p>The fix is quite simple - create the same file at 129x129px and Bob&#8217;s your uncle!
</p>]]></content></entry>

<entry>
<title>Apple’s Rotten Response</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/apples-rotten-response" />
<id>tag:digitaldrivel.com,2010:/1.7</id>
<published>2010-07-24T11:35:21Z</published>
<updated>2010-07-24T11:45:23Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="Smartphones" scheme="http://digitaldrivel.com/categories/smartphones" label="Smartphones" />
<content type="html"><![CDATA[<p>This made me laugh.</p>

<p><a href="http://www.newsweek.com/2010/07/16/apple-s-rotten-reponse.html">Newsweek&#8217;s take</a> on <a href="http://events.apple.com.edgesuite.net/100716iab73asc/event/">Apple&#8217;s iPhone 4 press conference</a>, and <a href="http://daringfireball.net/2010/07/lyons">John Gruber&#8217;s response</a>.
</p>]]></content></entry>

<entry>
<title>Smartphone Satifaction</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/smartphone-satifaction" />
<id>tag:digitaldrivel.com,2010:/1.6</id>
<published>2010-07-24T10:44:49Z</published>
<updated>2010-07-24T10:50:50Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="Smartphones" scheme="http://digitaldrivel.com/categories/smartphones" label="Smartphones" />
<content type="html"><![CDATA[<p>From <a href="http://money.cnn.com/2010/07/23/technology/iphone_4_att/index.htm?section=money_latest">CNN</a>:</p>

<blockquote><p>77% of iPhone owners say they&#8217;ll buy another iPhone, compared to 20% of Android customers who say they&#8217;ll buy another Android phone.</p></blockquote>

<p>As reported via <a href="http://daringfireball.net/">Daring Fireball</a>, I&#8217;m not entire sure how accurate that figure is, nor what demographic was tested to come up with those figures.&nbsp; It does however mirror <a href="http://twitter.com/steveabraham/status/14831071687">my own feelings</a> on the subject.
</p>]]></content></entry>

<entry>
<title>Thoughts on Flash</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/thoughts-on-flash" />
<id>tag:digitaldrivel.com,2010:/1.5</id>
<published>2010-07-24T10:41:45Z</published>
<updated>2010-07-24T10:59:46Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Apple" scheme="http://digitaldrivel.com/categories/apple" label="Apple" />
<category term="Web Development" scheme="http://digitaldrivel.com/categories/web-development" label="Web Development" />
<content type="html"><![CDATA[<p>From <a href="http://nevali.net/post/846154647/thoughts-on-flash">Tumbled Logic</a>:</p>

<blockquote><p>And so we’re beginning to arrive at a situation where Flash authors are, for the first time, confronted with a situation where Flash isn’t in a position of unanimous support: the proportion of users without Flash support is growing, and it’s growing quite quickly. From a business perspective, there is a tipping point at which you have to make a decision, based on the numbers.</p></blockquote>

<p>Well worth a read.
</p>]]></content></entry>

<entry>
<title>A dumping ground&#8230;</title>
<link rel="alternate" type="text/html" href="http://digitaldrivel.com/archive/a-dumping-ground" />
<id>tag:digitaldrivel.com,2010:/1.4</id>
<published>2010-07-22T15:02:22Z</published>
<updated>2010-07-24T14:27:23Z</updated>
<author>
<name>Steve Abraham</name>
<email>steve@sja.co.uk</email>
</author>

<category term="Site" scheme="http://digitaldrivel.com/categories/site" label="Site" />
<content type="html"><![CDATA[<p>I&#8217;ve been planning for some time to build a blog that I can use to store links and articles of interest, share opinions and maybe even write some of the tutorials/how-tos that I&#8217;ve been planning for a long time.</p>

<p>I&#8217;m not sure how often this will be updated, and whilst an RSS feed will be available should you wish to stay informed, it&#8217;s not there just yet.&nbsp; I will post using the <a href="/categories/site">site</a> category to update you on any changes relating to this blog.</p>

<p>Comments are currently not implemented, and there&#8217;s no contact form just yet either&#8230;</p>

<p>...so much for throwing together a simple blog, it would appear the to-do list has become rather extensive!</p>

<p>Welcome to <span class="digital">digital</span><span class="drivel">drivel</span>!
</p>]]></content></entry>


</feed>