<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ian Hoar – Passion for Technology – Geeking Out &#187; Tutorials</title>
	<atom:link href="http://www.ianhoar.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ianhoar.com</link>
	<description>Technology, Web, Toys, Games, Design, Entertainment, Gadgets, &#38; Geeking Out</description>
	<lastBuildDate>Tue, 16 Mar 2010 15:11:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The mailto syntax; A comma may not work in Outlook Web Access</title>
		<link>http://www.ianhoar.com/2009/12/03/the-mailto-syntax-comma-does-not-work-in-outlook-web-access/</link>
		<comments>http://www.ianhoar.com/2009/12/03/the-mailto-syntax-comma-does-not-work-in-outlook-web-access/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 02:55:42 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=3714</guid>
		<description><![CDATA[The mailto syntax is pretty simple, but sometimes you might run into problems with some mail clients (AKA Outlook Web Access). Most of them are very forgiving and you can drop a comma for example right into the body of the mailto and have no problems, but it&#8217;s better not to do that. It&#8217;s much [...]]]></description>
			<content:encoded><![CDATA[<p>The mailto syntax is pretty simple, but sometimes you might run into problems with some mail clients (AKA Outlook Web Access). Most of them are very forgiving and you can drop a comma for example right into the body of the mailto and have no problems, but it&#8217;s better not to do that. It&#8217;s much safer if you use <a href="http://en.wikipedia.org/wiki/Hexadecimal">hexadecimal</a> numeric values for your special characters. For example a comma is %2c and a space is %20.</p>
<p><span id="more-3714"></span></p>
<h2>Why do I care? It works in the email clients I tested!</h2>
<p>That&#8217;s fine and dandy, but your audience may be using a client you haven&#8217;t tested, one like say Outlook for web. I dealt with an issue like this recently where Outlook was truncating the body copy after the first comma appeared. It was a mailto confirming attendance to an event, so losing the copy was not very helpful for for the end user or the organizer trying to get responses. Now granted a web form would have been a better option, but time restraints resulted in using a simple mailto.</p>
<p>Lets quickly go over some of the mailto syntax.</p>
<p><strong>Subject</strong></p>
<pre>mailto:me@myaddress.com?subject=Hello</pre>
<p><strong>Body</strong></p>
<pre><strong></strong>mailto:me@myaddress.com?body=I will be attending the party, it should be a blast</pre>
<p><strong>Subject and Body</strong></p>
<pre>mailto:me@myaddress.com?Hello&amp;body=I will be attending the party, it should be a blast.</pre>
<p>There  are also <strong>CC</strong> and <strong>BCC </strong>values that you can drop into your mailto string.</p>
<p>These examples will work fine in most email clients, but not all. First if you want valid XHTML syntax your ampersands should be &amp;amp;. This should not affect your mailto functionality either way, but having valid markup is always a good thing. Second you should use hexadecimal values for your spaces and commas. Here&#8217;s an example of a safer mailto.</p>
<p><strong>Subject and Body</strong></p>
<pre>mailto:me@myaddress.com?Hello&amp;amp;body=I%20will%20be%20attending%20the%20party%2c%20it%20should%20be%20a%20blast%2E</pre>
<p>The only difference with this example is %20 for spaces and %2c for commas and 2E for a period. This example is much more bullet proof than the first example although you probably don&#8217;t need it for the period, but then again I thought the comma would be safe.</p>
<p>Another character you may need is a line break. %0A will give you a line break. Using two will give you a paragraph space.</p>
<pre>mailto:me@myaddress.com?Hello&amp;amp;body=I%20will%20be%20attending%20the%20party%2c%20it%20should%20be%20a%20blast%2E%0A%0AI will be bringing a guest too%21%2E</pre>
<p>If you are ever unsure of a character just drop it&#8217;s hex value in place of it. Most of the characters should work fine, but some like the comma will not. Others like spacing must be added if breaks are needed. You can easily <a href="http://www.ascii.cl/htmlcodes.htm">find hexadecimal code lists</a> all over the web, just remember to add the percent (%) symbol in front of the hex.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=3714&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2009/12/03/the-mailto-syntax-comma-does-not-work-in-outlook-web-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS tip, declare your font family once</title>
		<link>http://www.ianhoar.com/2009/10/01/css-tip-declare-your-font-family-once/</link>
		<comments>http://www.ianhoar.com/2009/10/01/css-tip-declare-your-font-family-once/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 21:47:11 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=3630</guid>
		<description><![CDATA[Here&#8217;s a CSS tip that I wish more people would follow. When setting up a font on your site, say Verdana, there is no reason to declare it on every H tag, P tag and class you are using. Throw it up in the body and be done with it. The same goes for font [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a <abbr title="Cascading Style Sheets">CSS</abbr> tip that I wish more people would follow. When setting up a font on your site, say Verdana, there is no reason to declare it on every H tag, P tag and class you are using. Throw it up in the body and be done with it. The same goes for font sizes, colours and anything else that will be uniform across the site. Once you have done this you can override it for specific tags and classes when you need too.</p>
<pre>body {
	font-family:Verdana, Arial, sans-serif;
	font-size:12px;
	margin:0;
	line-height:130%;
	color:#333333;
}</pre>
<p>This will make your life easier and everyone else who has to work with your files will thank you. I think we should always be looking for ways to make our CSS smaller, cleaner and easier to read.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=3630&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2009/10/01/css-tip-declare-your-font-family-once/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Adobe Photoshop CS4: Blurry edges with the Rectangle Tool</title>
		<link>http://www.ianhoar.com/2009/04/27/adobe-photoshop-cs4-blurry-edges-with-the-rectangle-tool/</link>
		<comments>http://www.ianhoar.com/2009/04/27/adobe-photoshop-cs4-blurry-edges-with-the-rectangle-tool/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 03:56:15 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Frustration]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=3548</guid>
		<description><![CDATA[I was playing around with Photoshop CS4 and came across an odd setting. I&#8217;m not even sure what the default setting usually is, but for me it was my first time dealing with non-pixel perfect blurry rectangles in Photosohp and it really threw me for a loop. Below you can see two 60 pixel boxes [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-3553" title="Photoshop Icon" src="http://www.ianhoar.com/wp-content/uploads/2009/04/photoshop_icon.gif" alt="Photoshop Icon" width="120" height="116" />I was playing around with Photoshop CS4 and came across an odd setting. I&#8217;m not even sure what the default setting usually is, but for me it was my first time dealing with non-pixel perfect blurry rectangles in Photosohp and it really threw me for a loop. Below you can see two 60 pixel boxes created with the rectangle tool. Both boxes look the same, but upon further inspection you will see that the right box has blurry edges and the left box is pixel perfect and sharp.</p>
<p><span id="more-3548"></span></p>
<p><img class="size-full wp-image-3549" title="Photoshop rectangles 100 zoom" src="http://www.ianhoar.com/wp-content/uploads/2009/04/rectangles_100_zoom.gif" alt="Photoshop rectangles 100 zoom" width="156" height="85" /></p>
<p>Here are the two boxes zoomed to 300%.</p>
<p><img class="size-full wp-image-3550" title="Photoshop rectangles 300 zoom" src="http://www.ianhoar.com/wp-content/uploads/2009/04/rectangles_300_zoom.gif" alt="Photoshop rectangles 300 zoom" width="423" height="203" /></p>
<h2>What the $#%??</h2>
<p>This is enough to drive any web designer mad and I don&#8217;t really know what possible use the non pixel perfect box would have, but maybe that&#8217;s because I&#8217;m a web designer and I like clean straight edges and lines. Luckily this setting is super easy to turn off. Select the <strong>Rectangle tool</strong> then at the top of Photoshop click on the little arrow which will open the <strong>Geometry options</strong> for the rectangle. If you selected the <strong>Rectangle tool</strong>, you should be seeing the dialogue below.</p>
<p><img class="alignnone size-full wp-image-3551" title="Rectangle Options" src="http://www.ianhoar.com/wp-content/uploads/2009/04/rectangle_options.gif" alt="Rectangle Options" width="346" height="171" /></p>
<p>Select the <strong>Snap to Pixels</strong> option and now you will have clean pixel perfect rectangles. This option is also available for the <strong>Rounded Rectangle tool</strong>. No more blurry edges.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=3548&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2009/04/27/adobe-photoshop-cs4-blurry-edges-with-the-rectangle-tool/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 6 and redirected anchor links</title>
		<link>http://www.ianhoar.com/2008/11/16/internet-explorer-6-and-redirected-anchor-links/</link>
		<comments>http://www.ianhoar.com/2008/11/16/internet-explorer-6-and-redirected-anchor-links/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 21:25:39 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Frustration]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=3224</guid>
		<description><![CDATA[Why are my are my anchor links not working in IE6?
As a web designer I constantly run into browser bugs and 90% of these bugs belong to either IE6 or IE7. Remarkably these two browsers don&#8217;t even consistently break the same way. What is messed up in IE6 may be completely messed up in a [...]]]></description>
			<content:encoded><![CDATA[<h2><img class="alignright size-full wp-image-110 thumbRight" title="Internet Explorer" src="http://blog.imhmedia.net/wp-content/uploads/2008/03/ie.jpg" alt="" width="150" height="144" />Why are my are my anchor links not working in IE6?</h2>
<p>As a web designer I constantly run into browser bugs and 90% of these bugs belong to either IE6 or IE7. Remarkably these two browsers don&#8217;t even consistently break the same way. What is messed up in IE6 may be completely messed up in a different way in IE7. The standards compliant WebKit and Gecko engines used by popular browsers like FireFox, Safari and Chrome rarely see many of these annoying bugs, but the masses use IE, so we as designers and developers must make them work.</p>
<p><span id="more-3224"></span></p>
<p>Fixing these bugs usually requires a lot of head scratching and pounding of fists and Google searches until I figure out a work around or hack that will fix it. I may not run across said bug for several months or even a year or more and then inevitably I stumble across the same bug and of course not realizing it is one I have dealt in the past. The IE6 redirect bug is one of those nasty ones that has caused me much pain and suffering, and it&#8217;s very simple to fix, although sometimes remembering the fix can take precious time, so I thought this time I would write it down and share it with others.</p>
<p>An anchor link, sometimes called a jump link, is pretty straight forward HTML, so you would think IE would have no problems with it. You would be wrong though, very wrong.</p>
<pre>&lt;a href="http://www.sitename.com/yourPage.html#AnchorName"&gt;Link to anchor on page&lt;/a&gt;</pre>
<p><strong>Within yourPage.html you have an anchor</strong></p>
<pre>&lt;a name="AnchorName"&gt;&lt;/a&gt;</pre>
<h2>This is where it all went wrong</h2>
<p>Under most circumstances this will work just fine, even in old clunky IE6, but where it won&#8217;t work is when there is a redirect involved. My issue started with an anchor link from an email campaign. This link would be clicked from an email client and then sent on to the email deployment platform, where it would then be redirected to the actual page. From here a nasty 404 would pop up. This is what threw me, because usually redirecting an anchor link in IE6 will only result in the anchor not working, but the page still loads fine.</p>
<h2>The fix</h2>
<p>The fix is quite simple if you can remember it the next time this happens to you.</p>
<pre>&lt;a href="http://www.sitename.com/yourPage.html&amp;#AnchorName"&gt;Link to anchor on page&lt;/a&gt;</pre>
<p>See the difference? No? Check out the little <strong>ampersand &#8220;&amp;&#8221;</strong> at the end of the html file and before the <strong>pound &#8220;#&#8221;</strong>. This will fix your broken anchor links in IE6 and they will now jump to where they are supposed to go.</p>
<p>My issue was a little more dire since the anchor links were actually breaking the page and giving a 404 error. We probably could have just ignored the issue if the jumping was the only thing broken. I think the reason for this is IE6 must parse the URL incorrectly when being redirected and ignore pound sign &#8220;#&#8221;. My page was a PHP file and contained a query string:</p>
<pre>yourPage.php&amp;var1=foo&amp;var2=bar#AnchoreName</pre>
<p>The last <strong>var2</strong> was interpreted as <strong>bar#AnchoreName</strong> instead of <strong>bar</strong>. An ampersand &#8220;&amp;&#8221; fixed this issue also. IE6 and IE7 never cease to amaze me with how badly they interprets the HTML and CSS specs. This particular bug is only an issue in IE6. I hope this saves some people a bit of sanity.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=3224&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/11/16/internet-explorer-6-and-redirected-anchor-links/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Create a custom iPhone icon for your website</title>
		<link>http://www.ianhoar.com/2008/08/30/create-a-custom-iphone-icon-for-your-website/</link>
		<comments>http://www.ianhoar.com/2008/08/30/create-a-custom-iphone-icon-for-your-website/#comments</comments>
		<pubDate>Sat, 30 Aug 2008 18:51:49 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Smartphones]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=1581</guid>
		<description><![CDATA[If you own an iPhone you may have noticed that you can bookmark websites and add them to your home screen. These are called Webclip Icons and they are either a snapshot of the website or an actual website icon similar to a favicon that shows up in a desktop browsers address field. If you [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-1590 thumbRight" title="ianhoar.com iPhone WebClip" src="http://www.ianhoar.com/wp-content/uploads/2008/08/ian_hoar_iphone_icons.jpg" alt="ianhoar.com iPhone WebClip" width="166" height="206" />If you own an iPhone you may have noticed that you can bookmark websites and add them to your home screen. These are called Webclip Icons and they are either a snapshot of the website or an actual website icon similar to a favicon that shows up in a desktop browsers address field. If you want to add an iPhone icon to your site it&#8217;s very easy to do.</p>
<p><span id="more-1581"></span></p>
<p>First create your icon or grab your website logo. In my case I used the same logo as I used for my favicon which is the I in my name. You can make this any size you wish and it will be scaled up or down by the iPhone. I made mine a 57 x 57 pixel PNG which seems to be the size of icons when measure on screen. Anything smaller than this may appear blurry as the iPhone will upscale the image. Some people have used larger files and even jpgs without issue. Whatever size you choose, make sure the icon is square otherwise the iPhone will crop the image. Don&#8217;t worry about the icon glass effect or rounded corners, I will talk about this in a minute. The format that the iPhone does screenshots in is the PNG format and they will generally look better if done correctly, but they will be slightly larger in file size than a JPG.</p>
<p><strong>Update:</strong> Reader Tice wrote below that that the size Apple is using is 129 x 129 pixels. This is far larger than needed for current iPhone screens but I would imagine future proofs the icon for higher resolution iPhones that may be available in the years to come. The icon may also be used in other ways that I am not aware of. Link to Apple icon: <a href="http://www.apple.com/apple-touch-icon.png">http://www.apple.com/apple-touch-icon.png</a>.</p>
<p>Once you have your icon you can let an iPhone recognize it by one of two ways. Either save it as <strong>apple-touch-icon.png</strong> and add it in the root of your server, so in my case:</p>
<pre><a href="http://www.ianhoar.com/apple-touch-icon.png">http://www.ianhoar.com/apple-touch-icon.png</a></pre>
<p>Alternately, if you do not have access to the root or want multiple icons you can link to your icon in the head of your HTML.</p>
<pre>&lt;head&gt;
     &lt;title&gt;My Site&lt;/title&gt;
     &lt;link rel="apple-touch-icon" href="/directory/myicon.png" /&gt;
&lt;/head&gt;</pre>
<p>What about the glass effect and rounded corners? Well you don&#8217;t have to worry about those, the iPhone adds those effects for you, and that&#8217;s why all icons have a nice uniform look. Just upload the files and everything should be in working order. Here is an example of what my icon looks like before it shows up in an iPhone.</p>
<p style="text-align: center;"><img class="size-medium wp-image-1589 aligncenter" title="apple-touch-icon" src="http://www.ianhoar.com/wp-content/uploads/2008/08/apple-touch-icon.png" alt="apple-touch-icon" width="57" height="57" /></p>
<h2>Adding your icon goodness to the iPhones home screen</h2>
<p>If you don&#8217;t have an iPhone but want to have an icon available for iPhone users and you have followed these steps, your icon should now be working and available for iPhone users, of course you will not know for sure until you test it out for yourself.</p>
<p>Fire up Safari and load up your site. Then touch the little plus icon to add a bookmark, the screen below will pop up. Touch add to home screen and confirm, now you should have a nice glass icon somewhere on your home screen.</p>
<p style="text-align: center;"><img class="size-full wp-image-1591 aligncenter" title="iPhone Bookmark" src="http://www.ianhoar.com/wp-content/uploads/2008/08/iphone_bookmark.jpg" alt="iPhone Bookmark" width="320" height="480" /></p>
<h2>Move your icons around</h2>
<p>This may be obvious for some, if you would like to move your icon or any other icons on the home screen all you have to do is hold down on any icon. After a few seconds all the icons on the screen will start shaking and any you have added or installed will have little x marks beside them. These x marks are to remove or uninstall the link or app. To move an icon you can now just slide it around with your finger and even move if from screen to screen if you have multiple screens of icons. To set the icon just press the on button.</p>
<p style="text-align: center;"><img class="size-full wp-image-1588 aligncenter" title="iphone move" src="http://www.ianhoar.com/wp-content/uploads/2008/08/iphone_move_icon.jpg" alt="iphone move" width="320" height="480" /></p>
<p>For more information on resolution and size tips <a href="http://vjarmy.com/archives/2008/01/howto_iphone_webclip_icons.php">Dan Dickinson&#8217;s blog has a few other tips</a> if you run into any issues. Basically most of them come down to trying different resolutions, but I found the 57 x 57 worked out fine for me.</p>
<ul>
<li>Enjoy this post? <a href="http://www.ianhoar.com/feed/">Try the RSS feed</a>.</li>
</ul>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=1581&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/08/30/create-a-custom-iphone-icon-for-your-website/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
		<item>
		<title>Fun with Photoshop: The liquify filter</title>
		<link>http://www.ianhoar.com/2008/08/04/fun-with-photoshop-the-liquify-filter/</link>
		<comments>http://www.ianhoar.com/2008/08/04/fun-with-photoshop-the-liquify-filter/#comments</comments>
		<pubDate>Mon, 04 Aug 2008 21:30:47 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=825</guid>
		<description><![CDATA[Sometimes it&#8217;s fun to goof around with Photoshop and have fun. Photoshop is well known for it&#8217;s image manipulation tools. You can do all sorts of interesting things from colour correction to merging different photos together. Some examples can be found on my old deviantArt account.

This kind of image manipulation can be time consuming and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-884 thumbRight" title="Photoshop CS3" src="http://www.ianhoar.com/wp-content/uploads/2008/08/cs3.jpg" alt="Photoshop CS3" width="80" height="77" />Sometimes it&#8217;s fun to goof around with Photoshop and have fun. Photoshop is well known for it&#8217;s image manipulation tools. You can do all sorts of interesting things from colour correction to merging different photos together. Some examples can be found on <a href="http://ianmh.deviantart.com/">my old deviantArt account</a>.</p>
<p><span id="more-825"></span></p>
<p>This kind of image manipulation can be time consuming and require a good grasp of Photoshop. There is however one very fun tool to play with that can yield very funny and satisfying results almost instantly. This is of course the Photoshop liquify filter. I highly recommend doing these manipulations on photos of co-workers, pets, family or even client photos you may be working on, but be very careful one doesn&#8217;t get back to said client. Maybe you should scratch client photos from the list just in case.</p>
<h2>Huge goofy eyes</h2>
<p>The method I will describe will yield similar results to the ones you see on the front of greeting cards with goofy looking animals and humongous eyes. Here is a picture of my cat before and after a simple encounter with the liquify filter.</p>
<p style="text-align: center;"><img class="size-full wp-image-838 aligncenter" title="Huge Eyes" src="http://www.ianhoar.com/wp-content/uploads/2008/08/huge_eyes.jpg" alt="Huge Eyes" width="480" height="300" /></p>
<p>This is very simple to do, start by going to the top menu and selecting:</p>
<p><strong>Filter / Liquify &#8230; Shortcut: Shift+Ctrl+X</strong></p>
<p><img class="size-full wp-image-846 thumbLeft" title="Bloat Tool" src="http://www.ianhoar.com/wp-content/uploads/2008/08/bloat_tool.jpg" alt="Bloat Tool" width="39" height="26" />Once you are in the liquify window look for the bloat tool. <strong>Shortcut: B</strong></p>
<p>Once you have the tool selected you will want the <strong>Brush Size </strong>slider to be about twice the diameter of the the eye <strong>Shortcut: ]</strong>. You can experiment with the size as different photos yield different results. I find that you get the best results by positioning the bloat brush directly in the center of the eye or on the eyes highlight. If you think you over did it you can click <strong>Reconstruct</strong> or the <strong>Restore All</strong> buttons located on the right. Reconstruct will take you back in steps slowly reducing the effects you have added. Restore All will undo all the editing you have done. You can also use the <strong>Reconstruction Tool (Shortcut: R)</strong> to restore any part of the photo manually. This is good if you have goofed on one eye, you can then restore just that eye with the Reconstruction Tool and try again.</p>
<p>There are a load of other tools you can play with in the liquify tools and I suggest playing around with all of them. For the opposite affect of the bloat tool, try the <strong>Pucker tool</strong>. You can also stretch and warp parts of your image. There are also the <strong>Freeze Mask</strong> and <strong>Thaw Mask</strong> tools; these are useful for keeping parts of the image from being effected by your manipulations.</p>
<h2>Look at those teeth!</h2>
<p style="text-align: center;"><img class="size-full wp-image-863 aligncenter" title="Big Teeth" src="http://www.ianhoar.com/wp-content/uploads/2008/08/big_teeth.jpg" alt="Big Teeth" width="480" height="361" /></p>
<p><img class="size-full wp-image-876 thumbLeft" title="Tools" src="http://www.ianhoar.com/wp-content/uploads/2008/08/tools.jpg" alt="Tools" width="185" height="191" />I couldn&#8217;t find a good photo of me smiling up close, so a quick search on <a href="http://www.morguefile.com/">Morguefile.com</a> and I found this pretty girl smiling, who I then proceeded to transformed into a not so pretty girl smiling. This was done with a quick bloat on the teeth followed by a <strong>Sharpen</strong> and <strong>Blur</strong> and then using the <strong>Burn</strong> tool (found in the standard tools bar) on the teeth to give them that unbrushed look.</p>
<p>So next time you get bored or have time to burn and need a little laugh, fire up photoshop and play around with it.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=825&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/08/04/fun-with-photoshop-the-liquify-filter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using WordPress custom fields for toggling plugins</title>
		<link>http://www.ianhoar.com/2008/07/02/using-wordpress-custom-fields-for-toggling-plugins/</link>
		<comments>http://www.ianhoar.com/2008/07/02/using-wordpress-custom-fields-for-toggling-plugins/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 00:25:35 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=284</guid>
		<description><![CDATA[More and more I find myself using WordPress as a CMS. This requires a little more customization than you would need for the average out of the box blog experience but WordPress can make a wonderful little CMS.  Custom fields are just one way to gain finer control over your pages and posts both for [...]]]></description>
			<content:encoded><![CDATA[<p><img class="thumbRight" title="WordPress" src="http://www.ianhoar.com/wp-content/uploads/2008/07/wordpress.gif" alt="WordPress" width="290" height="66" />More and more I find myself using WordPress as a <acronym title="Content Management System">CMS</acronym>. This requires a little more customization than you would need for the average out of the box blog experience but WordPress can make a wonderful little CMS.  Custom fields are just one way to gain finer control over your pages and posts both for blog or CMS functionality.</p>
<p><span id="more-284"></span></p>
<p>One of the sites I work on that uses WordPress as a CMS needed a <em>share this article with a friend</em> link. I needed this link to appear on some of the pages, but not all of them. I used <a href="http://lesterchan.net/portfolio/programming/php/#wp-email">Lester Chan&#8217;s WP-Email</a>; this is a very powerful plugin that allows you to set up an HTML email which can be personalized with the users information and then sent to their friends.</p>
<p>The plugin allows you to embed the email link either in the template or the actual post. Unfortunately I needed something more flexible than that. I needed the <em>share this email with a friend</em> link to appear at the top and bottom of select pages and in a specific place. This is where custom fields come in.</p>
<p>Custom fields can be set up in any post or page through the WordPress admin. You will find the option below the editor. I set up a <strong>custom field</strong> called <strong>share</strong> with a value of <strong>true</strong>. Then in the template I used the following PHP code within the <a href="http://codex.wordpress.org/The_Loop">WordPress loop</a> to call the <strong>email_link()</strong> function.</p>
<pre>if (get_post_meta($post-&gt;ID, 'share', true)) {
	if(function_exists('wp_email')) { email_link(); }
}</pre>
<p>This code checks if <strong>share </strong>is set to <strong>true </strong>for this specific post or page ID. If true it then checks if <strong>wp_email</strong> function exists and if so runs the plugin function <strong>email_link</strong>. This is a great way to toggle plugins or any chunk of code for select pages in WordPress. Now all I have to do when I want a <em>share this page with a friend</em> link to show up is set the share value to true in the custom field for share.</p>
<p><a href="http://codex.wordpress.org/Using_Custom_Fields">More on Custom Fields</a> in the WordPress Codex.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=284&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/07/02/using-wordpress-custom-fields-for-toggling-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6 specific CSS</title>
		<link>http://www.ianhoar.com/2008/06/21/ie6-specific-css/</link>
		<comments>http://www.ianhoar.com/2008/06/21/ie6-specific-css/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 16:19:15 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=172</guid>
		<description><![CDATA[When Internet Explorer 7 came out it was a huge disappointment to many web designers. It&#8217;s still littered with bugs and quirks, but a lot of things that were not recognized in IE6 are fixed in 7. This adds even more problems to the mix, because now we have to code for two bad browsers [...]]]></description>
			<content:encoded><![CDATA[<p>When Internet Explorer 7 came out it was a huge disappointment to many web designers. It&#8217;s still littered with bugs and quirks, but a lot of things that were not recognized in IE6 are fixed in 7. This adds even more problems to the mix, because now we have to code for two bad browsers and IE6 still represents a huge chunk of users. With email design you also have to remember that many email programs render like IE6 or even use the IE6 engine.</p>
<p><span id="more-172"></span></p>
<h2>Always standards compliant</h2>
<p>I always like to write standards compliant code whenever I can, with email it&#8217;s not even an option. With web, unless you are working with someone else&#8217;s mess it should always be standards compliant, but what happens when something won&#8217;t work in IE6 but does in IE7. It could be a double margin float bug, or the 3 pixel gap bug. Ideally you should try not to work yourself into a situation where these bugs crop up, but usually by the time they have it&#8217;s too late.</p>
<h2>CSS that IE6 doesn&#8217;t understand</h2>
<p>Okay, this tip means using redundancy, and I really like to avoid that, but sometimes you just have to make it work in the name of saving time and your sanity. The great thing is, although some may consider it a hack this will still be standards compliant.</p>
<p>Usually what happens is one attribute is throwing off IE6, while IE7, Firefox, Safari and Opera look fine. You are out of time, what do you do? Well, he&#8217;s a quick fix, use child selectors. I have used this method on my blog.</p>
<pre>.panelLeft {
     padding:10px 0 10px 0;
}
#panels &gt; .panelLeft {
     padding:10px 10px 10px 0;
}</pre>
<p>So first we set the panelLeft class padding for everything. IE6 does not understand child selectors and ignores them, so for finer tuning we use a class selector that says the child class panelLeft of panels gets the same padding as the first declaration plus a right padding of 10 pixels. This right padding in my case was throwing off the entire layout in IE6. It&#8217;s only one example, I have used child selectors on several occasions. Sometimes absolute positioning will be totally off in IE6, this is another way you can use two positioning values.</p>
<p>Anytime you have CSS that is only breaking in IE6, you can track down what is causing the bug and use this method to set IE6 specific values. I hope this saves some people a bit of time and sanity.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=172&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/06/21/ie6-specific-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Photoshop Tip #4: How do I make arrows in Photoshop?</title>
		<link>http://www.ianhoar.com/2008/05/10/photoshop-tip-4-how-do-i-make-arrows-in-photoshop/</link>
		<comments>http://www.ianhoar.com/2008/05/10/photoshop-tip-4-how-do-i-make-arrows-in-photoshop/#comments</comments>
		<pubDate>Sat, 10 May 2008 20:41:06 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.imhmedia.net/?p=132</guid>
		<description><![CDATA[A co-worker asked me this a few weeks ago. It&#8217;s not something you often need in Photoshop, and the way it is done has changed over time. These directions apply to Photoshop CS 3, but they may work in other versions as well.

Select the Photoshop line tool from your toolbar.

Select Geometry options from the line [...]]]></description>
			<content:encoded><![CDATA[<p>A co-worker asked me this a few weeks ago. It&#8217;s not something you often need in Photoshop, and the way it is done has changed over time. These directions apply to Photoshop CS 3, but they may work in other versions as well.</p>
<p><span id="more-132"></span></p>
<p>Select the Photoshop line tool from your toolbar.</p>
<p><img title="Photoshop line tool" src="http://www.ianhoar.com/wp-content/uploads/2008/05/photoshop_line_tool.gif" alt="Photoshop line tool" width="32" height="27" /></p>
<p>Select Geometry options from the line tools toolbar.</p>
<p><a href="http://www.ianhoar.com/wp-content/uploads/2008/05/photoshop_geometry_options.gif"><img title="Photoshop Geometry options" src="http://www.ianhoar.com/wp-content/uploads/2008/05/photoshop_geometry_options.gif" alt="Photoshop Geometry options" width="159" height="28" /></a></p>
<p>Now you will see the Arrowheads dialogue. Here you can select a start or end arrowhead. You can also specify the width and length of the arrowhead.</p>
<p><img title="Arrowheads dialogue" src="http://www.ianhoar.com/wp-content/uploads/2008/05/photoshop_arrowheads.gif" alt="Arrowheads dialogue" width="144" height="128" /></p>
<p>The last option Concvaity changes the look of your arrowhead. The arrowheads below show different concavity settings.</p>
<p><img title="Arrowhead types" src="http://www.ianhoar.com/wp-content/uploads/2008/05/photoshop_arrows.gif" alt="Arrowhead types" width="134" height="115" /></p>
<p>That&#8217;s it, pretty easy.</p>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=132&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/05/10/photoshop-tip-4-how-do-i-make-arrows-in-photoshop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Outlook 2007 borders and 1px padding on table cells!</title>
		<link>http://www.ianhoar.com/2008/04/29/outlook-2007-borders-and-1px-padding-on-table-cells/</link>
		<comments>http://www.ianhoar.com/2008/04/29/outlook-2007-borders-and-1px-padding-on-table-cells/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 23:59:01 +0000</pubDate>
		<dc:creator>Ian Hoar</dc:creator>
				<category><![CDATA[Bugs]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Frustration]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.ianhoar.com/?p=151</guid>
		<description><![CDATA[Anyone creating email newsletters on a daily basis will tell you how hard it is to get them to render properly in all email clients, but getting them to work in Outlook 2007 can be maddening as any quick Google search will show.
Today I came across a bug that left me fuming. I could not [...]]]></description>
			<content:encoded><![CDATA[<p>Anyone creating email newsletters on a daily basis will tell you how hard it is to get them to render properly in all email clients, but getting them to work in Outlook 2007 can be maddening as any quick Google search will show.</p>
<p>Today I came across a bug that left me fuming. I could not figure out why every single cell in my table heavy layout had a 1px padding around it and in some cases I was even missing my table borders. For those of you working in the sane world of web design, tables are a thing of the past, but in the world of email, tables are back with a vengeance.</p>
<p>As I became more and more disillusioned I started trying anything and stumbled across the fix. I knew I had to share this, so if you are experiencing any of the above, here is the fix and it&#8217;s a simple one.</p>
<p>Here&#8217;s an example of what a two cell table with an image and text would look like before the fix. Notice the 1px white border/padding around the table.</p>
<p><img title="Outlook no collapse" src="http://www.ianhoar.com/wp-content/uploads/2008/04/outlook_no_collapse.gif" alt="" width="202" height="44" /></p>
<p>And here is how it&#8217;s supposed to look after the fix. No white border / padding.</p>
<p><img title="Outlook collapse" src="http://www.ianhoar.com/wp-content/uploads/2008/04/outlook_collapse.gif" alt="" width="201" height="42" /></p>
<p>And the fix?</p>
<pre>table td {
    border-collapse: collapse;
}</pre>
<p>I don&#8217;t think I&#8217;ve ever even used this css before, but once I started grasping at straws I began to fiddle around with the CSS border attributes and tried it. I&#8217;ve never seen any browser or mail client except Outlook 2007 do this to table cells.</p>
<p>Here&#8217;s the full HTML from the example, and thank you Microsoft, for delivering the worst email rendering experience yet, we all thought Hotmail was bad, but you really stepped up to the plate!</p>
<pre>&lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;title&gt;Outlook 2007 Test&lt;/title&gt;
  &lt;style media="all" type="text/css"&gt;
  table td {
    border-collapse: collapse;
  }
  &lt;/style&gt;
  &lt;/head&gt;
&lt;body&gt;
  &lt;table width="200" border="0" cellspacing="0" cellpadding="0" style="border:solid 1px #48463b;"&gt;
  &lt;tr&gt;
  &lt;td width="80"&gt;&lt;img src="http://yourserver/graphic.gif" width="80" height="40" alt="graphic"&gt;&lt;/td&gt;
  &lt;td width="120" style="background-color:#c1beb1; color:#ffffff; font-family:Verdana, Arial, Helvetica, sans-serif; text-align:center; font-size:11px;"&gt;Another column&lt;br&gt;
  plain text.&lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>You may also want to check out my other entries on this topic.</p>
<ul>
<li><a href="http://www.ianhoar.com/2007/10/20/outlook-2007-when-is-200-pixels-not-200-pixels/">Outlook 2007 &#8211; When is 200 pixels not 200 pixels? Spacer gifs</a></li>
<li><a href="http://www.ianhoar.com/2008/03/07/email-design-and-deployment-quick-tips/">Email html design and deployment quick tips</a></li>
</ul>
<img src="http://www.ianhoar.com/?ak_action=api_record_view&id=151&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.ianhoar.com/2008/04/29/outlook-2007-borders-and-1px-padding-on-table-cells/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>
