<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2enclosuresfull.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-9135631724096562642</atom:id><lastBuildDate>Mon, 28 Nov 2011 00:44:42 +0000</lastBuildDate><category>linux</category><category>templates</category><category>Photoshop Tutorials</category><category>commands</category><category>css</category><category>Project Management</category><category>templatre</category><category>Javascript</category><category>php</category><category>shinegrafix</category><category>ubuntu</category><category>functions</category><category>strings</category><category>Adobe Photoshop</category><category>Ajax</category><category>Deviantart</category><title>Shinegrafix</title><description>It's my gallery for my designed wallpapers on different abstract images, and photography by me!</description><link>http://shinegrafix.blogspot.com/</link><managingEditor>noreply@blogger.com (Danyal Ali Butt)</managingEditor><generator>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Shinegrafix" /><feedburner:info uri="shinegrafix" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><itunes:explicit>no</itunes:explicit><itunes:subtitle>It's my gallery for my designed wallpapers on different abstract images, and photography by me!</itunes:subtitle><feedburner:browserFriendly></feedburner:browserFriendly><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-1824768541595682824</guid><pubDate>Tue, 10 Feb 2009 19:47:00 +0000</pubDate><atom:updated>2009-02-10T11:47:55.995-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">strings</category><category domain="http://www.blogger.com/atom/ns#">php</category><category domain="http://www.blogger.com/atom/ns#">functions</category><title>5 custom PHP functions: Strings</title><description>&lt;span class="Apple-style-span" style="color: rgb(31, 27, 26); font-family: Verdana; font-size: 13px; line-height: 18px; "&gt;&lt;h2 style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; color: rgb(57, 49, 44); font: normal normal normal 16pt/normal Arial, Verdana, sans-serif; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "&gt;5 custom PHP functions: Strings&lt;/h2&gt;&lt;br /&gt;&lt;div class="entryBody" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; line-height: 135%; "&gt;It's now time for some PHP that isn't Cake related. This is the first part in a series of "Basic/Common PHP functions that all programmers should know". This series has to deal with manipulating strings. I try to make my functions short, sweet and powerful, and I hope you learn something from them.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Truncate&lt;/strong&gt;&lt;br /&gt;This function takes a long string and shortens it to a defined length and adds appends an ellipsis (or custom string) to the end. Instead of chopping a word in half (if the limit finished within it), it moves the pointer up to the previous space.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-width: initial; border-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(219, 219, 219); border-right-color: rgb(219, 219, 219); border-bottom-color: rgb(219, 219, 219); border-left-width: 10px; border-left-style: solid; border-left-color: rgb(153, 199, 71); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; width: 650px; overflow-x: auto; overflow-y: auto; background-position: initial initial; "&gt;/**  * Truncates a string to a certain length  * @param string $text  * @param int $limit  * @param string $ending  * @return string  */ function truncate($text, $limit = 25, $ending = '...') {  if (strlen($text) &gt; $limit) {   $text = strip_tags($text);   $text = substr($text, 0, $limit);   $text = substr($text, 0, -(strlen(strrchr($text, ' '))));   $text = $text . $ending;  }    return $text; }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Shorten&lt;/strong&gt;&lt;br /&gt;This function works similarly to truncate(), but instead of chopping off the end of the string, it chops out the middle. This is useful for shortening users long names or websites.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-width: initial; border-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(219, 219, 219); border-right-color: rgb(219, 219, 219); border-bottom-color: rgb(219, 219, 219); border-left-width: 10px; border-left-style: solid; border-left-color: rgb(153, 199, 71); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; width: 650px; overflow-x: auto; overflow-y: auto; background-position: initial initial; "&gt;/**  * If a string is too long, shorten it in the middle  * @param string $text  * @param int $limit  * @return string  */ function shorten($text, $limit = 25) {  if (strlen($text) &gt; $limit) {   $pre = substr($text, 0, ($limit / 2));    $suf = substr($text, -($limit / 2));    $text = $pre .' ... '. $suf;  }    return $text; }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Obfuscate&lt;/strong&gt;&lt;br /&gt;Now this function doesn't directly scramble the text and confuse the user, instead it scrambles the source code. This is useful for displaying emails or other strings that you don't want to show up directly in your source code.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-width: initial; border-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(219, 219, 219); border-right-color: rgb(219, 219, 219); border-bottom-color: rgb(219, 219, 219); border-left-width: 10px; border-left-style: solid; border-left-color: rgb(153, 199, 71); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; width: 650px; overflow-x: auto; overflow-y: auto; background-position: initial initial; "&gt;/**  * Scrambles the source of a string  * @param string $text  * @return string  */ function obfuscate($text) {  $length = strlen($text);  $scrambled = '';    for ($i = 0; $i &lt; $length; ++$i) {   $scrambled .= '&amp;amp;#' . ord(substr($text, $i, 1)) . ';';  }    return $scrambled; }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Slugify&lt;/strong&gt;&lt;br /&gt;This function takes a string and makes it SEO and URL friendly (for example in the address bar for my blog posts). It lowercases all words, replaces spaces with a dash, removes foreign/illegal characters and follows the guidelines for the best possible SEO. For example "Hello, my name is Miles Johnson!" would convert to "hello-my-name-is-miles-johnson".&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-width: initial; border-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(219, 219, 219); border-right-color: rgb(219, 219, 219); border-bottom-color: rgb(219, 219, 219); border-left-width: 10px; border-left-style: solid; border-left-color: rgb(153, 199, 71); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; width: 650px; overflow-x: auto; overflow-y: auto; background-position: initial initial; "&gt;/**  * Rewrite strings to be URL/SEO friendly  * @param string $text  * @return string  */ function slugify($text) {  // Map thanks to CakePHP  $map = array(   '/à|á|å|â/' =&gt; 'a',   '/è|é|ê|?|ë/' =&gt; 'e',   '/ì|í|î/' =&gt; 'i',   '/ò|ó|ô|ø/' =&gt; 'o',   '/ù|ú|?|û/' =&gt; 'u',   '/ç/' =&gt; 'c',   '/ñ/' =&gt; 'n',   '/ä|æ/' =&gt; 'ae',   '/ö/' =&gt; 'oe',   '/ü/' =&gt; 'ue',   '/Ä/' =&gt; 'Ae',   '/Ü/' =&gt; 'Ue',   '/Ö/' =&gt; 'Oe',   '/ß/' =&gt; 'ss',   '/[^\w\s]/' =&gt; ' ',  );     $text = preg_replace(array_keys($map), array_values($map), $text);  $text = preg_replace('/[^-a-zA-Z0-9&amp;amp;\s]/i', '', $text);  $text = trim(strtolower($text));  $text = str_replace(array('-', ' ', '&amp;amp;'), array('_', '-', 'and'), $text);  $text = urlencode($text);    return $text; }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Listing&lt;/strong&gt;&lt;br /&gt;This final function takes an array of items and turns them into an ordered list with the last item having the word "and" in front of it instead of a comma. Very good for making lists.&lt;br /&gt;&lt;br /&gt;&lt;pre style="border-width: initial; border-color: initial; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-top-color: rgb(219, 219, 219); border-right-color: rgb(219, 219, 219); border-bottom-color: rgb(219, 219, 219); border-left-width: 10px; border-left-style: solid; border-left-color: rgb(153, 199, 71); background-image: initial; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: rgb(255, 255, 255); padding-top: 15px; padding-right: 15px; padding-bottom: 15px; padding-left: 15px; margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 20px; width: 650px; overflow-x: auto; overflow-y: auto; background-position: initial initial; "&gt;/**  * Creates a comma seperated list with the last item having an "and"  * @param array $items  * @param string $and  * @return string  */ function listing($items, $and = 'and') {  if (is_array($items)) {   $lastItem = array_pop($items);   $items = implode(', ', $items);   $items = $items .' '. $and .' '. $lastItem;  }    return $items; }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Now thats all I have for now, and I know you will use this in your code constantly just like I do! Be patient for my next series which will be dealing with basic date/time functions.&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-1824768541595682824?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2009/02/5-custom-php-functions-strings.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-59754859991953055</guid><pubDate>Wed, 29 Oct 2008 13:22:00 +0000</pubDate><atom:updated>2008-10-29T06:26:47.973-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">commands</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Linux Commands -1</title><description>&lt;h1&gt;An A-Z Index of the  &lt;span class="grn"&gt;Bash&lt;/span&gt; command line for Linux.&lt;/h1&gt;   &lt;a href="http://www.ss64.com/bash/alias.html"&gt;alias&lt;/a&gt;    Create an alias   apropos  Search Help manual pages (man -k)   &lt;a href="http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html"&gt;apt-get&lt;/a&gt;  Search for and install software packages (Debian)   &lt;a href="http://aspell.net/"&gt;aspell&lt;/a&gt;   Spell Checker   &lt;a href="http://www.ss64.com/bash/awk.html"&gt;awk&lt;/a&gt;      Find and Replace text, database sort/validate/index b   bash     GNU Bourne-Again SHell    &lt;a href="http://www.ss64.com/bash/bc.html"&gt;bc&lt;/a&gt;       Arbitrary precision calculator language    &lt;a href="http://www.ss64.com/bash/bg.html"&gt;bg&lt;/a&gt;       Send to background   &lt;a href="http://www.ss64.com/bash/break.html"&gt;break&lt;/a&gt;    Exit from a loop   &lt;a href="http://www.ss64.com/bash/builtin.html"&gt;builtin&lt;/a&gt;  Run a shell builtin   &lt;a href="http://www.bzip.org/"&gt;bzip2&lt;/a&gt;    Compress or decompress named file(s) c   &lt;a href="http://www.ss64.com/bash/cal.html"&gt;cal&lt;/a&gt;      Display a calendar   &lt;a href="http://www.ss64.com/bash/case.html"&gt;case&lt;/a&gt;     Conditionally perform a command   &lt;a href="http://www.ss64.com/bash/cat.html"&gt;cat&lt;/a&gt;      Display the contents of a file   &lt;a href="http://www.ss64.com/bash/cd.html"&gt;cd&lt;/a&gt;       Change Directory   &lt;a href="http://www.ss64.com/bash/cfdisk.html"&gt;cfdisk&lt;/a&gt;   Partition table manipulator for Linux   &lt;a href="http://www.ss64.com/bash/chgrp.html"&gt;chgrp&lt;/a&gt;    Change group ownership   &lt;a href="http://www.ss64.com/bash/chmod.html"&gt;chmod&lt;/a&gt;    Change access permissions   &lt;a href="http://www.ss64.com/bash/chown.html"&gt;chown&lt;/a&gt;    Change file owner and group   &lt;a href="http://www.ss64.com/bash/chroot.html"&gt;chroot&lt;/a&gt;   Run a command with a different root directory   &lt;a href="http://www.ss64.com/bash/cksum.html"&gt;cksum&lt;/a&gt;    Print CRC checksum and byte counts   clear    Clear terminal screen   &lt;a href="http://www.ss64.com/bash/cmp.html"&gt;cmp&lt;/a&gt;      Compare two files   &lt;a href="http://www.ss64.com/bash/comm.html"&gt;comm&lt;/a&gt;     Compare two sorted files line by line   &lt;a href="http://www.ss64.com/bash/command.html"&gt;command&lt;/a&gt;  Run a command - ignoring shell functions   &lt;a href="http://www.ss64.com/bash/continue.html"&gt;continue&lt;/a&gt; Resume the next iteration of a loop   &lt;a href="http://www.ss64.com/bash/cp.html"&gt;cp&lt;/a&gt;       Copy one or more files to another location   &lt;a href="http://www.ss64.com/bash/cron.html"&gt;cron&lt;/a&gt;     Daemon to execute scheduled commands   &lt;a href="http://www.ss64.com/bash/crontab.html"&gt;crontab&lt;/a&gt;  Schedule a command to run at a later time   &lt;a href="http://www.ss64.com/bash/csplit.html"&gt;csplit&lt;/a&gt;   Split a file into context-determined pieces   &lt;a href="http://www.ss64.com/bash/cut.html"&gt;cut&lt;/a&gt;      Divide a file into several parts d   &lt;a href="http://www.ss64.com/bash/date.html"&gt;date&lt;/a&gt;     Display or change the date &amp;amp; time   &lt;a href="http://www.ss64.com/bash/dc.html"&gt;dc&lt;/a&gt;       Desk Calculator   &lt;a href="http://www.ss64.com/bash/dd.html"&gt;dd&lt;/a&gt;       Convert and copy a file, write disk headers, boot records   &lt;a href="http://www.ss64.com/bash/ddrescue.html"&gt;ddrescue&lt;/a&gt; Data recovery tool   &lt;a href="http://www.ss64.com/bash/declare.html"&gt;declare&lt;/a&gt;  Declare variables and give them attributes   &lt;a href="http://www.ss64.com/bash/df.html"&gt;df&lt;/a&gt;       Display free disk space   &lt;a href="http://www.ss64.com/bash/diff.html"&gt;diff&lt;/a&gt;     Display the differences between two files   &lt;a href="http://www.ss64.com/bash/diff3.html"&gt;diff3&lt;/a&gt;    Show differences among three files   &lt;a href="http://www.ss64.com/bash/dig.html"&gt;dig&lt;/a&gt;      DNS lookup   &lt;a href="http://www.ss64.com/bash/dir.html"&gt;dir&lt;/a&gt;      Briefly list directory contents   &lt;a href="http://www.ss64.com/bash/dircolours.html"&gt;dircolors&lt;/a&gt; Colour setup for `ls'   &lt;a href="http://www.ss64.com/bash/dirname.html"&gt;dirname&lt;/a&gt;  Convert a full pathname to just a path   &lt;a href="http://www.ss64.com/bash/dirs.html"&gt;dirs&lt;/a&gt;     Display list of remembered directories   &lt;a href="http://www.ss64.com/bash/du.html"&gt;du&lt;/a&gt;       Estimate file space usage e   &lt;a href="http://www.ss64.com/bash/echo.html"&gt;echo&lt;/a&gt;     Display message on screen   &lt;a href="http://www.ss64.com/bash/egrep.html"&gt;egrep&lt;/a&gt;    Search file(s) for lines that match an extended expression   eject    Eject removable media   &lt;a href="http://www.ss64.com/bash/enable.html"&gt;enable&lt;/a&gt;   Enable and disable builtin shell commands   &lt;a href="http://www.ss64.com/bash/env.html"&gt;env&lt;/a&gt;      Environment variables   ethtool  Ethernet card settings   &lt;a href="http://www.ss64.com/bash/eval.html"&gt;eval&lt;/a&gt;     Evaluate several commands/arguments   &lt;a href="http://www.ss64.com/bash/exec.html"&gt;exec&lt;/a&gt;     Execute a command   &lt;a href="http://www.ss64.com/bash/exit.html"&gt;exit&lt;/a&gt;     Exit the shell   &lt;a href="http://en.wikipedia.org/wiki/Expect"&gt;expect&lt;/a&gt;   Automate arbitrary applications accessed over a terminal   &lt;a href="http://www.ss64.com/bash/expand.html"&gt;expand&lt;/a&gt;   Convert tabs to spaces   &lt;a href="http://www.ss64.com/bash/export.html"&gt;export&lt;/a&gt;   Set an environment variable   &lt;a href="http://www.ss64.com/bash/expr.html"&gt;expr&lt;/a&gt;     Evaluate expressions f   &lt;a href="http://www.ss64.com/bash/false.html"&gt;false&lt;/a&gt;    Do nothing, unsuccessfully   &lt;a href="http://www.ss64.com/bash/fdformat.html"&gt;fdformat&lt;/a&gt; Low-level format a floppy disk   &lt;a href="http://www.ss64.com/bash/fdisk.html"&gt;fdisk&lt;/a&gt;    Partition table manipulator for Linux   &lt;a href="http://www.ss64.com/bash/fg.html"&gt;fg&lt;/a&gt;       Send job to foreground    &lt;a href="http://www.ss64.com/bash/fgrep.html"&gt;fgrep&lt;/a&gt;    Search file(s) for lines that match a fixed string   file     Determine file type   &lt;a href="http://www.ss64.com/bash/find.html"&gt;find&lt;/a&gt;     Search for files that meet a desired criteria   &lt;a href="http://www.ss64.com/bash/fmt.html"&gt;fmt&lt;/a&gt;      Reformat paragraph text   &lt;a href="http://www.ss64.com/bash/fold.html"&gt;fold&lt;/a&gt;     Wrap text to fit a specified width.   &lt;a href="http://www.ss64.com/bash/for.html"&gt;for&lt;/a&gt;      Expand &lt;var&gt;words&lt;/var&gt;, and execute &lt;var&gt;commands&lt;/var&gt;   format   Format disks or tapes   free     Display memory usage   &lt;a href="http://www.ss64.com/bash/fsck.html"&gt;fsck&lt;/a&gt;     File system consistency check and repair   ftp      File Transfer Protocol   &lt;a href="http://www.ss64.com/bash/function.html"&gt;function&lt;/a&gt; Define Function Macros g   &lt;a href="http://www.ss64.com/bash/awk.html"&gt;gawk&lt;/a&gt;     Find and Replace text within file(s)   &lt;a href="http://www.ss64.com/bash/getopts.html"&gt;getopts&lt;/a&gt;  Parse positional parameters   &lt;a href="http://www.ss64.com/bash/grep.html"&gt;grep&lt;/a&gt;     Search file(s) for lines that match a given pattern   &lt;a href="http://www.ss64.com/bash/groups.html"&gt;groups&lt;/a&gt;   Print group names a user is in   &lt;a href="http://www.ss64.com/bash/gzip.html"&gt;gzip&lt;/a&gt;     Compress or decompress named file(s) h   &lt;a href="http://www.ss64.com/bash/hash.html"&gt;hash&lt;/a&gt;     Remember the full pathname of a name argument   &lt;a href="http://www.ss64.com/bash/head.html"&gt;head&lt;/a&gt;     Output the first part of file(s)   &lt;a href="http://www.ss64.com/bash/history.html"&gt;history&lt;/a&gt;  Command History   &lt;a href="http://www.ss64.com/bash/hostname.html"&gt;hostname&lt;/a&gt; Print or set system name i   &lt;a href="http://www.ss64.com/bash/id.html"&gt;id&lt;/a&gt;       Print user and group id's   &lt;a href="http://www.ss64.com/bash/if.html"&gt;if&lt;/a&gt;       Conditionally perform a command   &lt;a href="http://www.ss64.com/bash/ifconfig.html"&gt;ifconfig&lt;/a&gt; Configure a network interface   &lt;a href="http://www.ss64.com/bash/ifup.html"&gt;ifdown&lt;/a&gt;   Stop a network interface    &lt;a href="http://www.ss64.com/bash/ifup.html"&gt;ifup&lt;/a&gt;     Start a network interface up   &lt;a href="http://www.ss64.com/bash/import.html"&gt;import&lt;/a&gt;   Capture an X server screen and save the image to file   &lt;a href="http://www.ss64.com/bash/install.html"&gt;install&lt;/a&gt;  Copy files and set attributes j   &lt;a href="http://www.ss64.com/bash/join.html"&gt;join&lt;/a&gt;     Join lines on a common field k   &lt;a href="http://www.ss64.com/bash/kill.html"&gt;kill&lt;/a&gt;     Stop a process from running l   &lt;a href="http://www.ss64.com/bash/less.html"&gt;less&lt;/a&gt;     Display output one screen at a time   &lt;a href="http://www.ss64.com/bash/let.html"&gt;let&lt;/a&gt;      Perform arithmetic on shell variables   &lt;a href="http://www.ss64.com/bash/ln.html"&gt;ln&lt;/a&gt;       Make links between files   &lt;a href="http://www.ss64.com/bash/local.html"&gt;local&lt;/a&gt;    Create variables   &lt;a href="http://www.ss64.com/bash/locate.html"&gt;locate&lt;/a&gt;   Find files   &lt;a href="http://www.ss64.com/bash/logname.html"&gt;logname&lt;/a&gt;  Print current login name   &lt;a href="http://www.ss64.com/bash/logout.html"&gt;logout&lt;/a&gt;   Exit a login shell   &lt;a href="http://www.ss64.com/bash/look.html"&gt;look&lt;/a&gt;     Display lines beginning with a given string   &lt;a href="http://www.ss64.com/bash/lpc.html"&gt;lpc&lt;/a&gt;      Line printer control program   &lt;a href="http://www.ss64.com/bash/lpr.html"&gt;lpr&lt;/a&gt;      Off line print   lprint   Print a file   lprintd  Abort a print job   lprintq  List the print queue   &lt;a href="http://www.ss64.com/bash/lprm.html"&gt;lprm&lt;/a&gt;     Remove jobs from the print queue   &lt;a href="http://www.ss64.com/bash/ls.html"&gt;ls&lt;/a&gt;       List information about file(s)   lsof     List open files m   make     Recompile a group of programs   &lt;a href="http://www.ss64.com/bash/man.html"&gt;man&lt;/a&gt;      Help manual   &lt;a href="http://www.ss64.com/bash/mkdir.html"&gt;mkdir&lt;/a&gt;    Create new folder(s)   &lt;a href="http://www.ss64.com/bash/mkfifo.html"&gt;mkfifo&lt;/a&gt;   Make FIFOs (named pipes)   mkisofs  Create an hybrid ISO9660/JOLIET/HFS filesystem   &lt;a href="http://www.ss64.com/bash/mknod.html"&gt;mknod&lt;/a&gt;    Make block or character special files   &lt;a href="http://www.ss64.com/bash/more.html"&gt;more&lt;/a&gt;     Display output one screen at a time   &lt;a href="http://www.ss64.com/bash/mount.html"&gt;mount&lt;/a&gt;    Mount a file system   &lt;a href="http://www.ss64.com/bash/mtools.html"&gt;mtools&lt;/a&gt;   Manipulate MS-DOS files   &lt;a href="http://www.ss64.com/bash/mv.html"&gt;mv&lt;/a&gt;       Move or rename files or directories n   netstat  Networking information   &lt;a href="http://www.ss64.com/bash/nice.html"&gt;nice&lt;/a&gt;     Set the priority of a command or job   &lt;a href="http://www.ss64.com/bash/nl.html"&gt;nl&lt;/a&gt;       Number lines and write files   &lt;a href="http://www.ss64.com/bash/nohup.html"&gt;nohup&lt;/a&gt;    Run a command immune to hangups   &lt;a href="http://www.ss64.com/bash/nslookup.html"&gt;nslookup&lt;/a&gt; Query Internet name servers interactively o   &lt;a href="http://www.ss64.com/bash/open.html"&gt;open&lt;/a&gt;     Open a file in its default application   &lt;a href="http://www.ss64.com/bash/op.html"&gt;op&lt;/a&gt;       Operator access  p   &lt;a href="http://www.ss64.com/bash/passwd.html"&gt;passwd&lt;/a&gt;   Modify a user password   &lt;a href="http://www.ss64.com/bash/paste.html"&gt;paste&lt;/a&gt;    Merge lines of files   pathchk  Check file name portability   &lt;a href="http://www.ss64.com/bash/ping.html"&gt;ping&lt;/a&gt;     Test a network connection   &lt;a href="http://www.ss64.com/bash/popd.html"&gt;popd&lt;/a&gt;     Restore the previous value of the current directory   &lt;a href="http://www.ss64.com/bash/pr.html"&gt;pr&lt;/a&gt;       Prepare files for printing   printcap Printer capability database   printenv Print environment variables   &lt;a href="http://www.ss64.com/bash/printf.html"&gt;printf&lt;/a&gt;   Format and print data   &lt;a href="http://www.ss64.com/bash/ps.html"&gt;ps&lt;/a&gt;       Process status   &lt;a href="http://www.ss64.com/bash/pushd.html"&gt;pushd&lt;/a&gt;    Save and then change the current directory   &lt;a href="http://www.ss64.com/bash/pwd.html"&gt;pwd&lt;/a&gt;      Print Working Directory q   &lt;a href="http://www.ss64.com/bash/quota.html"&gt;quota&lt;/a&gt;    Display disk usage and limits   &lt;a href="http://www.ss64.com/bash/quotacheck.html"&gt;quotacheck&lt;/a&gt; Scan a file system for disk usage   &lt;a href="http://www.ss64.com/bash/quotactl.html"&gt;quotactl&lt;/a&gt; Set disk quotas r   &lt;a href="http://www.ss64.com/bash/ram.html"&gt;ram&lt;/a&gt;      ram disk device   &lt;a href="http://www.ss64.com/bash/rcp.html"&gt;rcp&lt;/a&gt;      Copy files between two machines.   &lt;a href="http://www.ss64.com/bash/read.html"&gt;read&lt;/a&gt;     read a line from standard input   &lt;a href="http://www.ss64.com/bash/readonly.html"&gt;readonly&lt;/a&gt; Mark variables/functions as readonly   renice   Alter priority of running processes    remsync  Synchronize remote files via email   &lt;a href="http://www.ss64.com/bash/return.html"&gt;return&lt;/a&gt;   Exit a shell function   &lt;a href="http://www.ss64.com/bash/rm.html"&gt;rm&lt;/a&gt;       Remove files   &lt;a href="http://www.ss64.com/bash/rmdir.html"&gt;rmdir&lt;/a&gt;    Remove folder(s)   &lt;a href="http://www.ss64.com/bash/rsync.html"&gt;rsync&lt;/a&gt;    Remote file copy (Synchronize file trees) s   &lt;a href="http://www.ss64.com/bash/screen.html"&gt;screen&lt;/a&gt;   Multiplex terminal, run remote shells via ssh   scp      Secure copy (remote file copy)   &lt;a href="http://www.ss64.com/bash/sdiff.html"&gt;sdiff&lt;/a&gt;    Merge two files interactively   &lt;a href="http://www.ss64.com/bash/sed.html"&gt;sed&lt;/a&gt;      Stream Editor   &lt;a href="http://www.ss64.com/bash/select.html"&gt;select&lt;/a&gt;   Accept keyboard input   &lt;a href="http://www.ss64.com/bash/seq.html"&gt;seq&lt;/a&gt;      Print numeric sequences   &lt;a href="http://www.ss64.com/bash/set.html"&gt;set&lt;/a&gt;      Manipulate shell variables and functions   sftp     Secure File Transfer Program   &lt;a href="http://www.ss64.com/bash/shift.html"&gt;shift&lt;/a&gt;    Shift positional parameters   &lt;a href="http://www.ss64.com/bash/shopt.html"&gt;shopt&lt;/a&gt;    Shell Options   &lt;a href="http://www.ss64.com/bash/shutdown.html"&gt;shutdown&lt;/a&gt; Shutdown or restart linux   &lt;a href="http://www.ss64.com/bash/sleep.html"&gt;sleep&lt;/a&gt;    Delay for a specified time   &lt;a href="http://www.ss64.com/bash/slocate.html"&gt;slocate&lt;/a&gt;  Find files   &lt;a href="http://www.ss64.com/bash/sort.html"&gt;sort&lt;/a&gt;     Sort text files   &lt;a href="http://www.ss64.com/bash/source.html"&gt;source&lt;/a&gt;   Run commands from a file `.'   &lt;a href="http://www.ss64.com/bash/split.html"&gt;split&lt;/a&gt;    Split a file into fixed-size pieces   &lt;a href="http://en.wikipedia.org/wiki/Secure_Shell"&gt;ssh&lt;/a&gt;      Secure Shell client (remote login program)   strace   Trace system calls and signals   &lt;a href="http://www.ss64.com/bash/su.html"&gt;su&lt;/a&gt;       Substitute user identity   &lt;a href="http://www.ss64.com/bash/sudo.html"&gt;sudo&lt;/a&gt;     Execute a command as another user   &lt;a href="http://www.ss64.com/bash/sum.html"&gt;sum&lt;/a&gt;      Print a checksum for a file   &lt;a href="http://www.ss64.com/bash/symlink.html"&gt;symlink&lt;/a&gt;  Make a new name for a file   &lt;a href="http://www.ss64.com/bash/sync.html"&gt;sync&lt;/a&gt;     Synchronize data on disk with memory t   &lt;a href="http://www.ss64.com/bash/tail.html"&gt;tail&lt;/a&gt;     Output the last part of files   &lt;a href="http://www.ss64.com/bash/tar.html"&gt;tar&lt;/a&gt;      Tape ARchiver   &lt;a href="http://www.ss64.com/bash/tee.html"&gt;tee&lt;/a&gt;      Redirect output to multiple files   &lt;a href="http://www.ss64.com/bash/test.html"&gt;test&lt;/a&gt;     Evaluate a conditional expression   &lt;a href="http://www.ss64.com/bash/time.html"&gt;time&lt;/a&gt;     Measure Program running time   &lt;a href="http://www.ss64.com/bash/times.html"&gt;times&lt;/a&gt;    User and system times   &lt;a href="http://www.ss64.com/bash/touch.html"&gt;touch&lt;/a&gt;    Change file timestamps   &lt;a href="http://www.ss64.com/bash/top.html"&gt;top&lt;/a&gt;      List processes running on the system   &lt;a href="http://www.ss64.com/bash/traceroute.html"&gt;traceroute&lt;/a&gt; Trace Route to Host   trap     Run a command when a signal is set(bourne)   &lt;a href="http://www.ss64.com/bash/tr.html"&gt;tr&lt;/a&gt;       Translate, squeeze, and/or delete characters   &lt;a href="http://www.ss64.com/bash/true.html"&gt;true&lt;/a&gt;     Do nothing, successfully   &lt;a href="http://www.ss64.com/bash/tsort.html"&gt;tsort&lt;/a&gt;    Topological sort   &lt;a href="http://www.ss64.com/bash/tty.html"&gt;tty&lt;/a&gt;      Print filename of terminal on stdin   &lt;a href="http://www.ss64.com/bash/type.html"&gt;type&lt;/a&gt;     Describe a command u   &lt;a href="http://www.ss64.com/bash/ulimit.html"&gt;ulimit&lt;/a&gt;   Limit user resources   &lt;a href="http://www.ss64.com/bash/umask.html"&gt;umask&lt;/a&gt;    Users file creation mask   umount   Unmount a device   &lt;a href="http://www.ss64.com/bash/alias.html"&gt;unalias&lt;/a&gt;  Remove an alias   &lt;a href="http://www.ss64.com/bash/uname.html"&gt;uname&lt;/a&gt;    Print system information   &lt;a href="http://www.ss64.com/bash/unexpand.html"&gt;unexpand&lt;/a&gt; Convert spaces to tabs   &lt;a href="http://www.ss64.com/bash/uniq.html"&gt;uniq&lt;/a&gt;     Uniquify files   &lt;a href="http://www.ss64.com/bash/units.html"&gt;units&lt;/a&gt;    Convert units from one scale to another   &lt;a href="http://www.ss64.com/bash/unset.html"&gt;unset&lt;/a&gt;    Remove variable or function names   &lt;a href="http://www.ss64.com/bash/unshar.html"&gt;unshar&lt;/a&gt;   Unpack shell archive scripts   &lt;a href="http://www.ss64.com/bash/until.html"&gt;until&lt;/a&gt;    Execute commands (until error)   &lt;a href="http://www.ss64.com/bash/useradd.html"&gt;useradd&lt;/a&gt;  Create new user account   &lt;a href="http://www.ss64.com/bash/usermod.html"&gt;usermod&lt;/a&gt;  Modify user account   &lt;a href="http://www.ss64.com/bash/users.html"&gt;users&lt;/a&gt;    List users currently logged in   &lt;a href="http://www.ss64.com/bash/uuencode.html"&gt;uuencode&lt;/a&gt; Encode a binary file    &lt;a href="http://www.ss64.com/bash/uuencode.html"&gt;uudecode&lt;/a&gt; Decode a file created by uuencode v   v        Verbosely list directory contents (`ls -l -b')   vdir     Verbosely list directory contents (`ls -l -b')   &lt;a href="http://www.ss64.com/bash/vi.html"&gt;vi&lt;/a&gt;       Text Editor   &lt;a href="http://www.ss64.com/bash/vmstat.html"&gt;vmstat&lt;/a&gt;   Report virtual memory statistics w   &lt;a href="http://www.ss64.com/bash/watch.html"&gt;watch&lt;/a&gt;    Execute/display a program periodically   &lt;a href="http://www.ss64.com/bash/wc.html"&gt;wc&lt;/a&gt;       Print byte, word, and line counts   &lt;a href="http://www.ss64.com/bash/whereis.html"&gt;whereis&lt;/a&gt;  Report all known instances of a command       &lt;a href="http://www.ss64.com/bash/which.html"&gt;which&lt;/a&gt;    Locate a program file in the user's path.    &lt;a href="http://www.ss64.com/bash/while.html"&gt;while&lt;/a&gt;    Execute commands   &lt;a href="http://www.ss64.com/bash/who.html"&gt;who&lt;/a&gt;      Print all usernames currently logged in   &lt;a href="http://www.ss64.com/bash/whoami.html"&gt;whoami&lt;/a&gt;   Print the current user id and name (`id -un')   Wget     Retrieve web pages or files via HTTP, HTTPS or FTP x   &lt;a href="http://www.ss64.com/bash/xargs.html"&gt;xargs&lt;/a&gt;    Execute utility, passing constructed argument list(s)   &lt;a href="http://www.ss64.com/bash/yes.html"&gt;yes&lt;/a&gt;      Print a string until interrupted   &lt;a href="http://www.ss64.com/bash/source.html"&gt;.&lt;/a&gt;        Run a command script in the current shell   &lt;a href="http://www.ss64.com/bash/rem.html"&gt;###&lt;/a&gt;      Comment / Remark&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-59754859991953055?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/10/linux-commands-1.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-2920084441423182166</guid><pubDate>Tue, 07 Oct 2008 09:04:00 +0000</pubDate><atom:updated>2008-10-07T02:05:56.265-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Javascript</category><category domain="http://www.blogger.com/atom/ns#">Ajax</category><title>Introduction to Ajax</title><description>&lt;div id="learn-excerpt"&gt;&lt;p&gt;Prototype framework enables you to deal with Ajax calls in a very easy and fun way that is also safe (cross-browser). Besides simple requests, this module also deals in a smart way with JavaScript code returned from a server and provides helper classes for polling.&lt;/p&gt;&lt;/div&gt;   &lt;div id="abody"&gt;&lt;p&gt;Ajax functionality is contained in the global &lt;code&gt;Ajax&lt;/code&gt; object. The transport for Ajax requests is &lt;em&gt;xmlHttpRequest&lt;/em&gt;, with browser differences safely abstracted from the user. Actual requests are made by creating instances of the &lt;a href="http://prototypejs.org/api/ajax/request"&gt;&lt;code&gt;Ajax.Request&lt;/code&gt;&lt;/a&gt; object.&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Request&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'/some_url'&lt;/span&gt;, { method:&lt;span class="string"&gt;'get'&lt;/span&gt; }&lt;span class="brackets"&gt;)&lt;/span&gt;;&lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;The first parameter is the URL of the request; the second is the options hash. The &lt;em&gt;method&lt;/em&gt; option refers to the HTTP method to be used; default method is POST.&lt;/p&gt;  &lt;p class="notice"&gt;Remember that for security reasons (that is preventing cross-site scripting attacks) &lt;em&gt;Ajax requests can only be made to URLs of the same protocol, host and port of the page containing the Ajax request&lt;/em&gt;. Some browsers might allow arbitrary URLs, but you shouldn't rely on support for this.&lt;/p&gt;  &lt;h3&gt;Ajax response callbacks&lt;/h3&gt;  &lt;p&gt;Ajax requests are by default &lt;em&gt;asynchronous&lt;/em&gt;, which means you must have callbacks that will handle the data from a response. Callback methods are passed in the options hash when making a request:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Request&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'/some_url'&lt;/span&gt;,   {     method:&lt;span class="string"&gt;'get'&lt;/span&gt;,     onSuccess: &lt;span class="keywords"&gt;function&lt;/span&gt;&lt;span class="brackets"&gt;(&lt;/span&gt;transport&lt;span class="brackets"&gt;)&lt;/span&gt;{       &lt;span class="keywords"&gt;var&lt;/span&gt; response = transport.responseText || &lt;span class="string"&gt;"no response text"&lt;/span&gt;;       alert&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;"Success! \n\n"&lt;/span&gt; + response&lt;span class="brackets"&gt;)&lt;/span&gt;;     },     onFailure: &lt;span class="keywords"&gt;function&lt;/span&gt;&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;{ alert&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'Something went wrong...'&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt; }   }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;Here, two callbacks are passed in the hash that alert of either success or failure; &lt;code&gt;onSuccess&lt;/code&gt; and &lt;code&gt;onFailure&lt;/code&gt; are called accordingly based on the status of the response. The first parameter passed to both is the native &lt;em&gt;xmlHttpRequest&lt;/em&gt; object from which you can use its &lt;code&gt;responseText&lt;/code&gt; and &lt;code&gt;responseXML&lt;/code&gt; properties, respectively.&lt;/p&gt;  &lt;p&gt;You can specify both callbacks, one or none - it's up to you. Other available callbacks are:&lt;/p&gt;  &lt;ul&gt; &lt;li&gt;&lt;code&gt;onUninitialized&lt;/code&gt;,&lt;/li&gt; &lt;li&gt;&lt;code&gt;onLoading&lt;/code&gt;,&lt;/li&gt; &lt;li&gt;&lt;code&gt;onLoaded&lt;/code&gt;,&lt;/li&gt; &lt;li&gt;&lt;code&gt;onInteractive&lt;/code&gt;,&lt;/li&gt; &lt;li&gt;&lt;code&gt;onComplete&lt;/code&gt; and&lt;/li&gt; &lt;li&gt;&lt;code&gt;onException&lt;/code&gt;.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;They all match a certain state of the &lt;em&gt;xmlHttpRequest&lt;/em&gt; transport, except for &lt;code&gt;onException&lt;/code&gt; which fires when there was an exception while dispatching other callbacks.&lt;/p&gt;  &lt;p&gt;Also available are &lt;code&gt;onXXX&lt;/code&gt; callbacks, where XXX is the HTTP response status like 200 or 404. Be aware that, when using those, your &lt;code&gt;onSuccess&lt;/code&gt; and &lt;code&gt;onFailure&lt;/code&gt; won't fire because &lt;code&gt;onXXX&lt;/code&gt; takes precedence, therefore using these means you know what you're doing.&lt;/p&gt;  &lt;p class="notice"&gt;The &lt;code&gt;onUninitialized&lt;/code&gt;, &lt;code&gt;onLoading&lt;/code&gt;, &lt;code&gt;onLoaded&lt;/code&gt;, and &lt;code&gt;onInteractive&lt;/code&gt; callbacks are not implemented consistently by all browsers. In general, it's best to avoid using these.&lt;/p&gt;  &lt;h3&gt;Parameters and the HTTP method&lt;/h3&gt;  &lt;p&gt;You can pass the parameters for the request as the &lt;code&gt;parameters&lt;/code&gt; property in options:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Request&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'/some_url'&lt;/span&gt;, {   method: &lt;span class="string"&gt;'get'&lt;/span&gt;,   parameters: {company: &lt;span class="string"&gt;'example'&lt;/span&gt;, limit: 12}   }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;Parameters are passed in as a hash (preferred) or a string of key-value pairs separated by ampersands (like &lt;code&gt;company=example&amp;amp;limit=12&lt;/code&gt;).&lt;/p&gt;  &lt;p&gt;You can use parameters with both GET and POST requests. Keep in mind, however, that GET requests to your application should never cause data to be changed. Also, browsers are less likely to cache a response to a POST request, but more likely to do so with GET.&lt;/p&gt;  &lt;p&gt;One of the primary applications for the parameters property is sending the contents of a FORM with an Ajax request, and Prototype gives you a helper method for this, called &lt;a href="http://prototypejs.org/api/form/serialize"&gt;&lt;code&gt;Form.serialize&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Request&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'/some_url'&lt;/span&gt;, {   parameters: $&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'id_of_form_element'&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;.serialize&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="keywords"&gt;true&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;   }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;If you need to push custom HTTP request headers, you can do so with the &lt;code&gt;requestHeaders&lt;/code&gt; option. Just pass name-value pairs as a hash or in a flattened array, like: &lt;code&gt;['X-Custom-1', 'value', 'X-Custom-2', 'other value']&lt;/code&gt;.&lt;/p&gt;  &lt;p&gt;If, for some reason, you have to POST a request with a custom post body (not parameters from the &lt;code&gt;parameters&lt;/code&gt; option), there is a &lt;code&gt;postBody&lt;/code&gt; option exactly for that. Be aware that when using &lt;code&gt;postBody&lt;/code&gt;, parameters passed will never be posted because &lt;code&gt;postBody&lt;/code&gt; takes precedence as a body - using the option means you know what you're doing.&lt;/p&gt;  &lt;h3&gt;Evaluating a JavaScript response&lt;/h3&gt;  &lt;p&gt;Sometimes the application is designed to send JavaScript code as a response. If the content type of the response matches the MIME type of JavaScript then this is true and Prototype will automatically &lt;code&gt;eval()&lt;/code&gt; returned code. You don't need to handle the response explicitly if you don't need to.&lt;/p&gt;  &lt;p&gt;Alternatively, if the response holds a X-JSON header, its content will be parsed, saved as an object and sent to the callbacks as the second argument:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Request&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'/some_url'&lt;/span&gt;, { method:&lt;span class="string"&gt;'get'&lt;/span&gt;,   onSuccess: &lt;span class="keywords"&gt;function&lt;/span&gt;&lt;span class="brackets"&gt;(&lt;/span&gt;transport, json&lt;span class="brackets"&gt;)&lt;/span&gt;{       alert&lt;span class="brackets"&gt;(&lt;/span&gt;json ? Object.inspect&lt;span class="brackets"&gt;(&lt;/span&gt;json&lt;span class="brackets"&gt;)&lt;/span&gt; : &lt;span class="string"&gt;"no JSON object"&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;;     }   }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;Use this functionality when you want to fetch non-trivial data with Ajax but want to avoid the overhead of parsing XML responses. JSON is much faster (and lighter) than XML.&lt;/p&gt;  &lt;h3&gt;Global responders&lt;/h3&gt;  &lt;p&gt;There is an object that is informed about every Ajax request: &lt;code&gt;Ajax.Responders&lt;/code&gt;. With it, you can register callbacks that will fire on a certain state of any &lt;code&gt;Ajax.Request&lt;/code&gt; issued:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;Ajax.Responders.register&lt;span class="brackets"&gt;(&lt;/span&gt;{   onCreate: &lt;span class="keywords"&gt;function&lt;/span&gt;&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;{     alert&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'a request has been initialized!'&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;;   },    onComplete: &lt;span class="keywords"&gt;function&lt;/span&gt;&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;{     alert&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'a request completed'&lt;/span&gt;&lt;span class="brackets"&gt;)&lt;/span&gt;;   } }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;Every callback matching an &lt;em&gt;xmlHttpRequest&lt;/em&gt; transport state is allowed here, with an addition of &lt;code&gt;onCreate&lt;/code&gt;. Globally tracking requests like this can be useful in many ways: you can log them for debugging purposes using a JavaScript logger of your choice or make a global exception handler that informs the users of a possible connection problem.&lt;/p&gt;  &lt;h3&gt;Updating your page dynamically with &lt;code&gt;Ajax.Updater&lt;/code&gt;&lt;/h3&gt;  &lt;p&gt;Developers often want to make Ajax requests to receive HTML fragments that update parts of the document. With &lt;code&gt;Ajax.Request&lt;/code&gt; with an &lt;code&gt;onComplete&lt;/code&gt; callback this is fairly easy, but with &lt;a href="http://prototypejs.org/api/ajax/updater"&gt;&lt;code&gt;Ajax.Updater&lt;/code&gt;&lt;/a&gt; it's even easier!&lt;/p&gt;  &lt;p&gt;Suppose you have this code in your HTML document:&lt;/p&gt;  &lt;pre&gt;&lt;code class="html"&gt;&lt;&lt;span class="tag"&gt;h&lt;/span&gt;2&gt;Our fantastic products&lt;/&lt;span class="tag"&gt;h&lt;/span&gt;2&gt; &lt;&lt;span class="tag"&gt;div &lt;/span&gt;&lt;span class="attribute"&gt;id&lt;/span&gt;=&lt;span class="string"&gt;"products"&lt;/span&gt;&gt;(fetching product list ...)&lt;/&lt;span class="tag"&gt;div&lt;/span&gt;&gt; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;The 'products' container is empty and you want to fill it with HTML returned from an Ajax response. No problem:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Updater&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'products'&lt;/span&gt;, &lt;span class="string"&gt;'/some_url'&lt;/span&gt;, { method: &lt;span class="string"&gt;'get'&lt;/span&gt; }&lt;span class="brackets"&gt;)&lt;/span&gt;;&lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;That's all, no more work. The arguments are the same of &lt;code&gt;Ajax.Request&lt;/code&gt;, except there is the receiver element in the first place. Prototype will automagically update the container with the response using the &lt;code&gt;Element.update()&lt;/code&gt; method.&lt;/p&gt;  &lt;p&gt;If your HTML comes with inline scripts, they will be stripped by default. You'll have to pass &lt;code&gt;true&lt;/code&gt; as the &lt;code&gt;evalScripts&lt;/code&gt; option in order to see your scripts being executed.&lt;/p&gt;  &lt;p&gt;But what if an error occurs, and the server returns an error message instead of HTML? Often you don't want insert errors in places where users expected content. Fortunately, Prototype provides a convenient solution: instead of the actual container as the first argument you can pass in a hash of 2 different containers in this form: &lt;code&gt;{ success:'products', failure:'errors' }&lt;/code&gt;. Content will be injected in the &lt;em&gt;success&lt;/em&gt; container if all went well, but errors will be written to the &lt;em&gt;failure&lt;/em&gt; container. By using this feature your interfaces can become much more user-friendly.&lt;/p&gt;  &lt;p&gt;You might also choose not to overwrite the current container contents, but insert new HTML on top or bottom like you would do with &lt;code&gt;Insertion.Top&lt;/code&gt; or &lt;code&gt;Insertion.Bottom&lt;/code&gt;. Well, you can. Just pass the insertion object as the &lt;code&gt;insertion&lt;/code&gt; parameter to Ajax:&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.Updater&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'products'&lt;/span&gt;, &lt;span class="string"&gt;'/some_url'&lt;/span&gt;, {   method: &lt;span class="string"&gt;'get'&lt;/span&gt;,   insertion: Insertion.Top   }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;&lt;code&gt;Ajax.Updater&lt;/code&gt; will use the given object to make the insertion of returned HTML in the container ('products') element. Nifty.&lt;/p&gt;  &lt;h3&gt;Automate requests with the &lt;code&gt;Ajax.PeriodicalUpdater&lt;/code&gt;&lt;/h3&gt;  &lt;p&gt;You find the &lt;code&gt;Ajax.Updater&lt;/code&gt; cool, but want to run it in periodical intervals to repeatedly fetch content from the server? Prototype framework has that, too - it's called &lt;a href="http://prototypejs.org/api/ajax/periodicalupdater"&gt;&lt;code&gt;Ajax.PeriodicalUpdater&lt;/code&gt;&lt;/a&gt;, and basically it's running &lt;code&gt;Ajax.Updater&lt;/code&gt; at regular intervals.&lt;/p&gt;  &lt;pre&gt;&lt;code class="javascript"&gt;&lt;span class="keywords"&gt;new&lt;/span&gt; Ajax.PeriodicalUpdater&lt;span class="brackets"&gt;(&lt;/span&gt;&lt;span class="string"&gt;'products'&lt;/span&gt;, &lt;span class="string"&gt;'/some_url'&lt;/span&gt;,   {     method: &lt;span class="string"&gt;'get'&lt;/span&gt;,     insertion: Insertion.Top,     frequency: 1,     decay: 2   }&lt;span class="brackets"&gt;)&lt;/span&gt;; &lt;/code&gt;&lt;/pre&gt;  &lt;p&gt;Two new options here are &lt;code&gt;frequency&lt;/code&gt; and &lt;code&gt;decay&lt;/code&gt;. Frequency is the interval in seconds at which the requests are to be made. Here, it's 1 second, which means we have an Ajax request every second. The default frequency is 2 seconds. Our users might be happy because the responsiveness of the application, but our servers might be taking quite a load if enough people leave their browsers open on the page for quite some time. That's why we have &lt;em&gt;the decay option&lt;/em&gt; - it is the factor by which the frequency is multiplied every time when current response body is the same as previous one. First Ajax request will then be made in 1 second, second in 2, third in 4 seconds, fourth in 8 and so on. Of course, if the server always returns different content, decay will never take effect; this factor only makes sense when your content doesn't change so rapidly and your application tends to return the same content over and over.&lt;/p&gt;  &lt;p&gt;Having frequency falloff can take the load off the servers considerably because the overall number of requests is reduced. You can experiment with this factor while monitoring server load, or you can turn it off completely by passing 1 (which is default) or simply omitting it.&lt;/p&gt;  &lt;h3&gt;Move along&lt;/h3&gt;  &lt;p&gt;Learn more about &lt;a href="http://prototypejs.org/api/ajax/request"&gt;&lt;code&gt;Ajax.Request&lt;/code&gt;&lt;/a&gt;, &lt;a href="http://prototypejs.org/api/ajax/updater"&gt;&lt;code&gt;Ajax.Updater&lt;/code&gt;&lt;/a&gt; and &lt;a href="http://prototypejs.org/api/ajax/options"&gt;&lt;code&gt;Ajax options&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-2920084441423182166?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/10/introduction-to-ajax.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-8253248802380099089</guid><pubDate>Mon, 06 Oct 2008 10:59:00 +0000</pubDate><atom:updated>2008-10-06T04:01:40.788-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Project Management</category><title>Project Management - See how it works</title><description>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_tqd8xqlPQwU/SOnwBJAbe1I/AAAAAAAAAFA/axPiXWXluTQ/s1600-h/3260585819-project_management.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_tqd8xqlPQwU/SOnwBJAbe1I/AAAAAAAAAFA/axPiXWXluTQ/s320/3260585819-project_management.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5253994342692649810" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-8253248802380099089?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/10/project-management-see-how-it-works.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><media:thumbnail url="http://3.bp.blogspot.com/_tqd8xqlPQwU/SOnwBJAbe1I/AAAAAAAAAFA/axPiXWXluTQ/s72-c/3260585819-project_management.jpg" height="72" width="72" /><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-8081861228960322130</guid><pubDate>Mon, 28 Jul 2008 06:13:00 +0000</pubDate><atom:updated>2008-07-27T23:17:18.844-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">shinegrafix</category><category domain="http://www.blogger.com/atom/ns#">templates</category><category domain="http://www.blogger.com/atom/ns#">Deviantart</category><category domain="http://www.blogger.com/atom/ns#">css</category><title>Deviantart journal CSS Template Rundown II</title><description>&lt;h2&gt;Applying the custom divs in your journal&lt;/h2&gt;     &lt;p&gt;This is the part that may confuse some people without actually being told what to do. This will give you a rough idea of how to use the divs I've provided in my template. Just reading this should give you a good idea of how to create your own. &lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltext &lt;span class="style2"&gt;.jcustom&lt;/span&gt; {&lt;br /&gt;  margin: 0px 5px 0px 5px !important;&lt;br /&gt;  background-color: #------ !important;&lt;br /&gt;  color: #------ !important;&lt;br /&gt;  font-size: 11px !important;&lt;br /&gt;  padding: 15px 15px 15px 15px !important;&lt;br /&gt;  display: block !important;&lt;br /&gt;  border-style: solid !important;&lt;br /&gt;  border-width: 1px 1px 1px 1px !important;&lt;br /&gt;  border-color: #------ !important;&lt;br /&gt;  width: auto !important;&lt;br /&gt;  }&lt;/p&gt;     &lt;p&gt;That is our div for the 'section box' as I like to call them. Just check out this screenshot below on the test journal I did using the same CSS I've provided:&lt;/p&gt;     &lt;p align="center"&gt;&lt;img src="http://www.nyssajbrown.net/da/cssrundown/images/journal1.jpg" alt="image1" height="148" width="402" /&gt; &lt;/p&gt;     &lt;p align="left"&gt;As you can see, there are three differences in the content. The darker background is the main content of your journal. The lighter grey is the custom div I explained above, and the darker grey inside this one is the second div, as shown below.&lt;/p&gt;     &lt;p class="code" align="left"&gt;.journalbox .journaltext &lt;span class="style2"&gt;.titles&lt;/span&gt; {&lt;br /&gt;  font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif !important;&lt;br /&gt;  font-size: 20px !important;&lt;br /&gt;  color: #------ !important;&lt;br /&gt;  text-align: center !important;&lt;br /&gt;  border-style: solid !important;&lt;br /&gt;  border-width: 1px 1px 1px 1px !important;&lt;br /&gt;  border-color: #------ !important;&lt;br /&gt;  background-color: #------ !important;&lt;br /&gt;  width: auto !important;&lt;br /&gt;  } &lt;/p&gt;     &lt;p&gt;So, how does one get it to display like this? Quite easily. If you've been using deviantART journals for a while, you will know how to align your text using &lt;span class="code"&gt;&lt;div align="center"&gt;textext&lt;span class="code"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;, for example. Using the custom divs works in pretty much the same way, only using class instead of align. &lt;/p&gt;     &lt;p&gt;Use something like below. I've put it into a 'tree' type of order, to make more sense of it: &lt;/p&gt;     &lt;p&gt;&lt;span class="code"&gt;&lt;div class="jcustom"&gt;&lt;br /&gt;  &lt;span class="code"&gt;&lt;div class="titles"&gt;Your Title Here&lt;span class="code"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;br /&gt;The text that will be displayed in the first div will go here. Eg, if you were talking about your cat, put all the text and ramblings here.&lt;br /&gt;  &lt;span class="code"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;As you can see, we have a div class inside another div class. When writing your journal, you don't have to format it in the way I did above, but you can do it like this:&lt;/p&gt;     &lt;p&gt;&lt;span class="code"&gt;&lt;div class="jcustom"&gt;&lt;div class="titles"&gt;Your Title Here&lt;span class="code"&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;The text that will be displayed in the first div will go here. Eg, if you were talking about your cat, put all the text and ramblings here.&lt;span class="code"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;     &lt;p&gt;Each time you want a new box around your content, just do it all over again. Just remember to close the div classes with &lt;span class="code"&gt;&lt;/span&gt; when you want a box to finish. &lt;/p&gt;     &lt;p&gt;Also, remember that in my template, the custom divs have the names &lt;span class="code"&gt;.jcustom&lt;/span&gt; (the main box around the content) and &lt;span class="code"&gt;.titles&lt;/span&gt; (the box around the title within the main content box). You don't have to use these for class names. In my own journal CSS, one is for example &lt;span class="code"&gt;.nycustom&lt;/span&gt; and I have another one for the links the top of my journal which is simply &lt;span class="code"&gt;.links&lt;/span&gt;.&lt;/p&gt;     &lt;p&gt;Also, my template has used a 'long way' for custom divs, to keep the journal structure (this is for beginners afterall), but it can be shorted to something like this if you want to change it and keep it simple: &lt;/p&gt;     &lt;p class="code"&gt;&lt;span class="style2"&gt;div.jcustom&lt;/span&gt; {&lt;br /&gt;margin: 0px 5px 0px 5px !important;&lt;br /&gt;background-color: #------ !important;&lt;br /&gt;color: #------ !important;&lt;br /&gt;font-size: 11px !important;&lt;br /&gt;padding: 15px 15px 15px 15px !important;&lt;br /&gt;display: block !important;&lt;br /&gt;border-style: solid !important;&lt;br /&gt;border-width: 1px 1px 1px 1px !important;&lt;br /&gt;border-color: #------ !important;&lt;br /&gt;width: auto !important;&lt;br /&gt;}     &lt;/p&gt;     &lt;p&gt;It works both ways, so it's up to you whether you want to keep using the longer version or use the shortened &lt;span class="code"&gt;div.jcustom &lt;/span&gt;/ &lt;span class="code"&gt;div.titles&lt;/span&gt;.&lt;/p&gt;     &lt;p&gt;If you're still not sure or understand, feel free to ask any questions on the deviation page where you downloaded this tutorial. I'd be happy to answer them or help out. Alternatively, you can just keep reading until you get that "Ohh, I get it". ;) &lt;/p&gt;     &lt;p&gt;Oh and if you're wondering what your journal will look like (with the exception of colours), it will look something like below:&lt;/p&gt;&lt;p&gt;&lt;img src="file:///C:/DOCUME%7E1/danyal/LOCALS%7E1/Temp/moz-screenshot-1.jpg" alt="" /&gt;&lt;img src="http://www.nyssajbrown.net/da/cssrundown/images/journalc.jpg" alt="image2" height="828" width="700" /&gt;&lt;img src="file:///C:/DOCUME%7E1/danyal/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-8081861228960322130?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/07/css-template-rundown-ii.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-7920545530116022507</guid><pubDate>Mon, 28 Jul 2008 06:11:00 +0000</pubDate><atom:updated>2008-07-27T23:16:16.160-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">templatre</category><category domain="http://www.blogger.com/atom/ns#">Deviantart</category><category domain="http://www.blogger.com/atom/ns#">css</category><title>Deviantart journal CSS Template Rundown I</title><description>&lt;p&gt;This is a rundown of my template. It will explain what each section will do to your journal. What will change what.&lt;/p&gt;     &lt;p class="code"&gt;&lt;span class="style2"&gt;.journalbox&lt;/span&gt; {&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     border-color: #------ !important;&lt;br /&gt;     border-width: 1px !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p&gt;This is what contains everything in your journal. You can think of it like a wrapper if you like, holding a chocolate bar. If you look at journals, you can see they have a border around them. This can be changed here, as well as the colour changed.&lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.journaltop&lt;/span&gt; {&lt;br /&gt;     font-family: Verdana, Arial, Helvetica, sans-serif !important;&lt;br /&gt;     font-size: 10px !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     height: 90px !important;&lt;br /&gt;     text-align: center !important;&lt;br /&gt;     } &lt;/p&gt;     &lt;p&gt;Controls the header area of a journal where you find  the date and time it was posted etc. Using  &lt;span class="code"&gt;background-image: url ('url') !important;&lt;/span&gt; would apply an image into the header, but since I've removed these from my template, we won't go over it (yet anyway). This section will, as it is now, change the background colour, height, alignment of the test and change the text itself. &lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltop &lt;span class="style2"&gt;img&lt;/span&gt; {&lt;br /&gt;     display: none !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p&gt;What is this?! Nothing too important. You can delete it if you want to. All it does is remove the journal icon from the header of the journal, which can look pretty good.&lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltop &lt;span class="style2"&gt;h2&lt;/span&gt; {&lt;br /&gt;     font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif !important;&lt;br /&gt;     font-size: 22px !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     padding-top: 15px !important;&lt;br /&gt;     text-align: center !important;&lt;br /&gt;     } &lt;/p&gt;     &lt;p&gt;This one controls the title of the journal. Say you title your journal "My Wonderful Journal", this will control how it is displayed to yourself, and everyone else. &lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.list&lt;/span&gt; {&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     text-align: center !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.list .a&lt;/span&gt; {&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     text-align: center !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p&gt;These two will control the display of the currently sections you fill in (or not) when you write a new journal. If you want the rows of these to display as different/alternate colours, just a different colour in &lt;span class="code"&gt;.list .a&lt;/span&gt; from &lt;span class="code"&gt;.list&lt;/span&gt;. &lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.journaltext&lt;/span&gt; {&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     font-family: Verdana, Arial, Helvetica, sans-serif !important;&lt;br /&gt;     font-size: 11px !important;&lt;br /&gt;     padding-top: 0px !important;&lt;br /&gt;     padding-left: 15px !important;&lt;br /&gt;     padding-right: 15px !important;&lt;br /&gt;     background: #------ !important;&lt;br /&gt;     text-align: justify !important;&lt;br /&gt;     }&lt;br /&gt;   &lt;/p&gt;     &lt;p&gt;This controls the content WITHIN the journal. Like before, think of it like a chocolate bar. The first wrapper holds the whole chocolate bar, and the inner wrapper would be like the chocolate around the inner ingredients of the chocolate bar. &lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltext &lt;span class="style2"&gt;.jcustom&lt;/span&gt; {&lt;br /&gt;     margin: 0px 5px 0px 5px !important;&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     font-size: 11px !important;&lt;br /&gt;     padding: 15px 15px 15px 15px !important;&lt;br /&gt;     display: block !important;&lt;br /&gt;     border-style: solid !important;&lt;br /&gt;     border-width: 1px 1px 1px 1px !important;&lt;br /&gt;     border-color: #------ !important;&lt;br /&gt;     width: auto !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p&gt;Okay, this is where we start on the custom divs. Divs can add a whole new look to your journal. It can give a different style for each 'section' of your journal, quite like mine, if you've already seen it. Basically, it applies a 1px border around the content, as well as a different background colour from the rest of your journal content. Border styles, widths etc can be changed here too.&lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltext &lt;span class="style2"&gt;.titles&lt;/span&gt; {&lt;br /&gt;     font-family: 'Trebuchet MS', Verdana, Arial, Helvetica, sans-serif !important;&lt;br /&gt;     font-size: 20px !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     text-align: center !important;&lt;br /&gt;     border-style: solid !important;&lt;br /&gt;     border-width: 1px 1px 1px 1px !important;&lt;br /&gt;     border-color: #------ !important;&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     width: auto !important;&lt;br /&gt;     } &lt;/p&gt;     &lt;p&gt;Another custom div, the second one. This has been created to go INSIDE the first one, for the titles of each 'section' of your journal. It's not all that much different from the first div.&lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltext &lt;span class="style2"&gt;a&lt;/span&gt; {&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     text-decoration: none !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p class="code"&gt;.journalbox .journaltext &lt;span class="style2"&gt;a:hover&lt;/span&gt; {&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     text-decoration: underline !important;&lt;br /&gt;     } &lt;/p&gt;     &lt;p&gt;Controls links within the journal content. &lt;span class="code"&gt;a:hover&lt;/span&gt; controls the colour and style when your mouse pointer is over the link.&lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.journalbottom&lt;/span&gt; {&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     } &lt;/p&gt;     &lt;p&gt;Contains the links at the bottom of your journal. You really only need to change the background colour here. In my journal, it has the same background colour as my &lt;span class="code"&gt;.journaltop&lt;/span&gt; and the &lt;span class="code"&gt;.journaltext&lt;/span&gt;.&lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.commentslink&lt;/span&gt; {&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     font-size: 11px !important;&lt;br /&gt;     text-decoration: none !important;&lt;br /&gt;     font-weight: bold !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p class="code"&gt;.journalbox &lt;span class="style2"&gt;.prevlink&lt;/span&gt; {&lt;br /&gt;     background-color: #------ !important;&lt;br /&gt;     color: #------ !important;&lt;br /&gt;     font-size: 11px !important;&lt;br /&gt;     text-decoration: none !important;&lt;br /&gt;     font-weight: bold !important;&lt;br /&gt;     }&lt;/p&gt;     &lt;p&gt;These two are pretty straight forward. On the userpage at the bottom of a journal, you will see two links. One leads to the comments of the journal on the userpage. One leads to the previous journal entries. &lt;span class="code"&gt;.commentslink&lt;/span&gt; obviously controls the link to the comments and &lt;span class="code"&gt;.prevlink&lt;/span&gt; controls the link to previous journals. &lt;/p&gt;     &lt;p&gt;If none of these explainations have helped, ^&lt;a href="http://thespook.deviantart.com/" target="_blank"&gt;thespook&lt;/a&gt; has a visual aid which might be a little easier to understand, although not everything in my template is shown on it, and just the very basics. You can see it &lt;a href="http://www.deviantart.com/deviation/40419950/" target="_blank"&gt;here&lt;/a&gt;. An excellent and must have resource, even if you understood this rundown.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-7920545530116022507?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/07/css-template-rundown-i.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-2268762069863539569</guid><pubDate>Sat, 29 Mar 2008 22:21:00 +0000</pubDate><atom:updated>2008-03-29T15:29:56.319-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Adobe Photoshop</category><category domain="http://www.blogger.com/atom/ns#">Photoshop Tutorials</category><title>Blue glow dreamy portrait</title><description>&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 1&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Here you can see the original photo and the end result.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 451px; height: 339px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step1_47cfd443ba398.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 2&lt;/h2&gt;&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Make a background copy.&lt;br /&gt;Layer&gt;duplicate layer&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 459px; height: 478px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step2_47cfd53285ed3.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 3&lt;/h2&gt;&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;We need a bit more contrast.&lt;br /&gt;Layer&gt;&lt;br /&gt;new adjustment layer&gt;&lt;br /&gt;brightness/contrast&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 456px; height: 474px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step3_47cfd5ad0ffca.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 4&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Every time you use a layer adjustment, check (v) -use previous layer to create clipping mask-&lt;br /&gt;In other steps, when we change the color or the levels, we always create a clipping mask.&lt;br /&gt;I used +20 for brightness and contrast, but it differs for every photo, so play a bit with the settings till you are happy about it.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 457px; height: 407px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step4_47cfd9ef584e5.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 5&lt;/h2&gt;If you are happy about the contrast, merge the clipping mask. &lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 459px; height: 296px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step5_47cfd78e524ce.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 6&lt;/h2&gt;With a soft brush on low opacity, soften the skin.&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; You can make a new layer first&lt;br /&gt;Layer&gt;new&gt; layer and work on that, so if you do something wrong, you can erase on that layer and you won't have to start all over again.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 461px; height: 235px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step6_47cfdb651b77a.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 7&lt;/h2&gt;Now we are going to change the color.&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; Layer&gt;new adjustment layer&gt;color balance&lt;br /&gt;Remember to check -use previous layer to create clipping mask-&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 462px; height: 294px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step7_47cfdc653a355.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 8&lt;/h2&gt;Change the color balance to cyan and blue, till you are happy about the result.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 464px; height: 242px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step8_47cfdd1eeb4ea.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 9&lt;/h2&gt;Merge the clipping mask&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 459px; height: 317px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step9_47cfdd5eb3c32.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 10&lt;/h2&gt;Make a second background copy.&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; Layer&gt;duplicate layer&lt;br /&gt;Set the colors in the tools menu to white and pale blue.&lt;br /&gt;You can use the eyedropper tool to pick the colors.&lt;br /&gt;Make sure the pale blue is in the background box (you can use the little arrow to switch them if necessary.&lt;br /&gt;Filter&gt;distort&gt;diffuse glow&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 458px; height: 448px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step10_47cfdf63e877c.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 11&lt;/h2&gt;Play a bit with the settings, it has to be soft and not too bright.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 464px; height: 250px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step11_47cfe05aa4905.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 12&lt;/h2&gt;Layer&gt;new adjustment layer&gt;levels&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; Remember to check -use previous layer to create clipping mask-&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 462px; height: 322px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step12_47cfe0b781936.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 13&lt;/h2&gt;Make the portrait a little bit darker by playing with the levels. &lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 461px; height: 254px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step13_47cfe197ee634.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 14&lt;/h2&gt;Merge the clipping mask.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 446px; height: 302px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step14_47cfe1d03203f.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 15&lt;/h2&gt;Make a third background copy.&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; Layer&gt;duplicate layer&lt;br /&gt;Filter&gt;artistic&gt;poster edges&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 463px; height: 302px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step15_47cfe223a75a7.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 16&lt;/h2&gt;Make the poster edges softer by playing with the settings. &lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 464px; height: 334px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step16_47cfe272893aa.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 17&lt;/h2&gt;Erase the background on the poster edge layer (background copy 3) so the background stays very soft and the girl is sharper.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 465px; height: 337px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step17_47cfe402090e7.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 18&lt;/h2&gt;Merge background copy 2 and background copy 3&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; ctrl&gt;click both layers&gt;merge&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 462px; height: 286px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step18_47cfe4854f9b3.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 19&lt;/h2&gt;Now put the white square in the background box.&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; Filter&gt;distort&gt;diffuse glow&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 454px; height: 446px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step19_47cfe4e03b43d.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 20&lt;/h2&gt;Play with the settings till it's soft and not too bright.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 448px; height: 322px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step20_47cfe540b67d5.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 21&lt;/h2&gt;With a soft brush, I made the background behind her head a bit lighter.&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt; After that a last color change.&lt;br /&gt;Layer&gt;new adjustment layer&gt;color balance&lt;br /&gt;Remember to check -use previous layer to create clipping mask-&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 479px; height: 373px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step21_47cfe5e6e993f.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 22&lt;/h2&gt;A final touch of blue and cyan.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 455px; height: 331px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step22_47cfe63db3396.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 23&lt;/h2&gt;Finished.&lt;div class="div_entry"&gt;&lt;div class="txt_center"&gt;&lt;img style="width: 460px; height: 674px;" class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20glow_step23_47cfe70655dd7.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-2268762069863539569?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/03/blue-glow-dreamy-portrait.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-2892157092876907617</guid><pubDate>Wed, 19 Mar 2008 14:59:00 +0000</pubDate><atom:updated>2008-03-19T08:01:58.423-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Adobe Photoshop</category><category domain="http://www.blogger.com/atom/ns#">Photoshop Tutorials</category><title>Colorful Typography in Photoshop</title><description>&lt;span class="step"&gt;&lt;/span&gt;&lt;br /&gt;Let’s start out by creating a new file. I used a 600×300 pixels canvas set at 72dpi, and I filled my background with a black color. Just to be organize make a new layer set and put all your future text layers inside the layer set. Now select the Horizontal Type Tool and set the font family to Bauhus 93, regular, 140 pt, smooth and white color shade. To achieve the final colorful ‘OriginMaker’ text we have to create each letter in its own text layer, in a new text layer type the first letter of your typography. &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/1.gif" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 2:&lt;/span&gt;&lt;br /&gt;Under Layer Style (Layer &gt; Layer Style) add a Satin and Gradient Overlay blending options to your first text layer.&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/2b.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/2c.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/2.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 3:&lt;/span&gt;&lt;br /&gt;In a new text layer type the first letter in black color. Position the black letter as shown below.&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/2008/colorful-typography-photoshop-tutorial/2/images/3.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 4:&lt;/span&gt;&lt;br /&gt;Now add another copy this time with a #8A2C00 color shade. Make note of this step if you want different color for your first letter which will be covered in step six and seven.&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/4.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 5:&lt;/span&gt;&lt;br /&gt;Under Layer Style (Layer &gt; Layer Style) add an Inner Shadow, Satin and Gradient Overlay blending options to your colored letter layer.&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/5.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/5b.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/5c.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/5d.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 6:&lt;/span&gt;&lt;br /&gt;Now add your second letter in this case ‘r’ from OriginMaker. All you have to do is duplicate your layer set with your first letter layers then modify the colored font to a #738100 color shade.&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/6.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/6b.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 7:&lt;/span&gt;&lt;br /&gt;Here are some suggested colors you can use that will work perfect.&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(129, 121, 0);"&gt;#817900&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(129, 0, 0);"&gt;#810000&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(115, 1, 129);"&gt;#730181&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="color: rgb(1, 131, 154);"&gt;#01839A&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/7.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;span class="step"&gt;Step 8:&lt;/span&gt;&lt;br /&gt;Add the rest of the letters and your done. You can set them up as you wish, my way of set-up might not work for your name.&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/8.gif" alt="" /&gt;&lt;/p&gt; &lt;p&gt;&lt;img src="http://originmaker.com/DesignTips/ColorfulTypography/images/Result2.gif" alt="" /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-2892157092876907617?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/03/design-colorful-typography-in-photoshop.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-3824834926257479645</guid><pubDate>Wed, 19 Mar 2008 11:54:00 +0000</pubDate><atom:updated>2008-03-19T05:48:07.058-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Adobe Photoshop</category><category domain="http://www.blogger.com/atom/ns#">Photoshop Tutorials</category><title>Turn A New Photo Into An Old Photo</title><description>&lt;span style="font-weight: bold;"&gt;Written By Steve Patterson&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's the image I'll be working with in this tutorial:&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/mom-with-kids.jpg" alt="Adobe Photoshop tutorial image." style="margin-bottom: 12px;" height="458" width="684" /&gt;           &lt;div class="image-desc"&gt;The original image. &lt;/div&gt;           &lt;p&gt;And here's what it will look like when we're done:&lt;/p&gt;           &lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/old-photo-effect.jpg" alt="Adobe Photoshop tutorial image." style="margin-bottom: 12px;" height="458" width="684" /&gt;           &lt;div class="image-desc"&gt;The final "old photo" result.&lt;/div&gt;           &lt;p&gt;Of course, there's lots of different ways to age a photo in Photoshop. This, as they say, is one of them.&lt;/p&gt;           &lt;p&gt;There's quite a few steps involved, so let's get started!&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 1:&lt;/span&gt; Add A Hue/Saturation Adjustment Layer&lt;/h3&gt;           &lt;p&gt;With our image newly opened in Photoshop, the first thing we're going to do is replace the photo's bright colors with a classic sepia tone, and we can do that easily using a &lt;span class="em"&gt;Hue/Saturation&lt;/span&gt; adjustment layer. Click on the &lt;span class="em"&gt;New Adjustment Layer&lt;/span&gt; icon at the bottom of the Layers palette:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/new-adjustment-layer.gif" alt="Adobe Photoshop tutorial image." height="201" width="290" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Clicking on the "New Adjustment Layer" icon at the bottom of the Layers palette. &lt;/div&gt;           &lt;p&gt;Then choose &lt;span class="em"&gt;Hue/Saturation&lt;/span&gt; from the list of adjustment layers that appears:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/hue-saturation.gif" alt="Adobe Photoshop tutorial image." height="149" width="212" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Choose a "Hue/Saturation" adjustment layer. &lt;/div&gt;           &lt;p&gt;This brings up the Hue/Saturation dialog box. Click inside the checkbox to the left of the &lt;span class="em"&gt;Colorize&lt;/span&gt; option in the bottom right of the dialog box, then drag the &lt;span class="em"&gt;Hue&lt;/span&gt; slider to around &lt;span class="em"&gt;40&lt;/span&gt; for a nice sepia tone:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/hue-saturation-db.gif" alt="Adobe Photoshop tutorial image." height="321" width="419" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt; Select the "Colorize" option in the bottom right of the Hue/Saturation dialog box, then set the "Hue" value to around 40.&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the dialog box. If we look in our Layers palette now, we can see the Hue/Saturation adjustment layer that we've added above the Background layer (the layer which contains our original image):&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/photoshop-layers-palette.gif" alt="Adobe Photoshop tutorial image." height="231" width="332" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Layers palette in Photoshop showing the newly added Hue/Saturation adjustment layer.&lt;/div&gt;           &lt;p&gt;And if we look at our image in the document window, we can see that the original color has been replaced with a sepia tone:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/sepia-tone.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The photo's original colors have been replaced with a sepia tone.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 2:&lt;/span&gt; Merge Both Layers Onto A New Layer&lt;/h3&gt;           &lt;p&gt;For our next step, we need to have of our existing layers merged on to a new layer above them. To do that, with the adjustment layer still selected in the Layers palette, hold down your &lt;span class="em"&gt;Alt&lt;/span&gt; (Win) / &lt;span class="em"&gt;Option&lt;/span&gt; (Mac) key, then while holding the key down, go up to the &lt;span class="em"&gt;Layer&lt;/span&gt; menu at the top of the screen and select &lt;span class="em"&gt;Merge Visible&lt;/span&gt;. You can also use the keyboard shortcut for this, which is &lt;span class="em"&gt;Shift+Ctrl+Alt+E&lt;/span&gt; (Win) / &lt;span class="em"&gt;Shift+Command+Option+E&lt;/span&gt; (Mac):&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/merge-visible.gif" alt="Adobe Photoshop tutorial image." height="121" width="257" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The "Merge Visible" option under the "Layer" menu.&lt;/div&gt;           &lt;p&gt;Normally when we select the Merge Visible option, Photoshop merges all the layers onto an existing layer in the Layers palette, which is usually not what we want to have happen since we lose the original layers in the process. By holding down the Alt/Option key while selecting Merge Visible (or adding it to the keyboard shortcut), we tell Photoshop to create a brand new layer for us and merge everything onto that new layer while keeping our original layers intact. If we look now in the Layers palette, we can see that sure enough, Photoshop has created a new layer above the previous two layers and has merged the other two layers onto it. We can see our sepia tone image in the new layer's preview thumbnail:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/merged-layers.gif" alt="Adobe Photoshop tutorial image." height="292" width="332" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Layers palette showing our original two layers now merged onto a third layer above them.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 3:&lt;/span&gt; Rename The New Layer "Glow"&lt;/h3&gt;           &lt;p&gt;We're going to use our merged layer to give our image a nice high contrast glow to it, and since we'll be adding a few more layers after that, let's keep track of what we're doing with each layer by giving them more informative names than simply "Layer 1", "Layer 2", and so on. Double-click directly on the name "Layer 1" in the Layers palette and rename it to "Glow":&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/rename-layer-1.gif" alt="Adobe Photoshop tutorial image." height="292" width="332" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Rename the merged layer "Glow". &lt;/div&gt;           &lt;p&gt;Of course, you don't &lt;em&gt;have&lt;/em&gt; to rename your layers if you feel you don't have that extra 5 seconds of your life to spare, but when you get into some serious Photoshop work where you could easily have hundreds of layers and they all have names like "Layer 10 copy 2" and "Layer 50 copy 7", you'll probably find yourself spending a lot more than 5 seconds trying to find the layer you're looking for.&lt;/p&gt;        &lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 4:&lt;/span&gt; Apply The Gaussian Blur Filter To The Merged Layer&lt;/h3&gt;           &lt;p&gt;To create our high contrast glow effect, we need to blur out our merged layer. To do that, with the "Glow" layer selected in the Layers palette (I'll assume from here on that you're renaming your layers), go up to the &lt;span class="em"&gt;Filter&lt;/span&gt; menu at the top of the screen, choose &lt;span class="em"&gt;Blur&lt;/span&gt;, and then choose &lt;span class="em"&gt;Gaussian Blur&lt;/span&gt;, which is by far the most commonly used filter for blurring an image in &lt;a itxtdid="3003215" target="_blank" href="http://www.photoshopessentials.com/photo-effects/old-photo/page-2.php#" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" classname="iAs" class="iAs"&gt;Photoshop&lt;/a&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/select-gaussian-blur.gif" alt="Adobe Photoshop tutorial image." height="155" width="127" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Go to Filter &gt; Blur &gt; Gaussian Blur.&lt;/div&gt;           &lt;p&gt;When the Gaussian Blur dialog box appears, drag the &lt;span class="em"&gt;Radius&lt;/span&gt; slider at the bottom of the dialog box towards the right until your Radius value is around &lt;span class="em"&gt;6 pixels&lt;/span&gt;. I'm working with a low resolution image for this tutorial, but if you're using a high resolution image, you'll want to try a slightly higher setting. You want to apply just enough blur so that you remove most of the detail from the image without going so far that you can't make anything out at all:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/gaussian-blur-db.gif" alt="Adobe Photoshop tutorial image." height="339" width="330" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Blur the layer using the Gaussian Blur filter.&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the dialog box. Here's my image after applying the blur to the merged layer. Notice how I've blurred it without going beyond the point where it would be impossible to figure out what's in the photo:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-blurred.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The image now appears blurred in the document window.&lt;/div&gt;                      &lt;h3&gt;&lt;span&gt;Step 5:&lt;/span&gt; Change The Blend Mode Of The Blurred Layer To "Overlay"&lt;/h3&gt;           &lt;p&gt;Now that we've blurred out our merged layer, go up to the &lt;span class="em"&gt;Blend Mode&lt;/span&gt; option in the top left corner of the Layers palette. It doesn't actually say "Blend Mode" anywhere, so just look for the selection box that is currently set to "Normal". Click on the down-pointing arrow to bring up a list of available blend modes and select &lt;span class="em"&gt;Overlay&lt;/span&gt; from the list:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/overlay-blend-mode.gif" alt="Adobe Photoshop tutorial image." height="292" width="352" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Change the blend mode of the "Glow" layer to "Overlay".&lt;/div&gt;           &lt;p&gt;If we look at our image in the document window, we can see that it now has a soft, high contrast glow to it, which is a great effect to use on a photo even if you're not trying to make it appear older:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-overlay.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The image now appears with a soft glow and with higher contrast.&lt;/div&gt;                      &lt;h3&gt;&lt;span&gt;Step 6:&lt;/span&gt; Lower The Opacity Of The "Glow" Layer&lt;/h3&gt;           &lt;p&gt;If you find, and you most likely will, that your glow effect appears too intense, you can adjust it by simply lowering the opacity of the "Glow" layer. The &lt;span class="em"&gt;Opacity&lt;/span&gt; option is directly across from the Blend Mode option at the top of the Layers palette. I'm going to lower mine all the way down to about 70%:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/lowered-opacity.gif" alt="Adobe Photoshop tutorial image." height="292" width="316" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Fine-tune the glow effect by adjusting the opacity of the "Glow" layer. &lt;/div&gt;           &lt;p&gt;If we look at my image again, the glow effect isn't quite as intense as it was before:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-reduced-glow.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The photo after lowering the opacity of the "Glow" layer.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 7:&lt;/span&gt; Add A New Blank Layer And Name It "Edges"&lt;/h3&gt;           &lt;p&gt;So far in our quest to turn a new photo into an old photo in &lt;a itxtdid="3003215" target="_blank" href="http://www.photoshopessentials.com/photo-effects/old-photo/page-3.php#" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" classname="iAs" class="iAs"&gt;Photoshop&lt;/a&gt;, we've replaced the photo's original colors with a classic sepia tone and we've given our photo a soft glow effect which helps remove some of the finer details from the image. The next thing we'll do is darken the edges of the photo. For that, we'll need a new layer. With the "Glow" layer currently selected in the Layers palette, hold down your &lt;span class="em"&gt;Alt&lt;/span&gt; (Win) / &lt;span class="em"&gt;Option&lt;/span&gt; (Mac) key and click on the &lt;span class="em"&gt;New Layer&lt;/span&gt; icon at the bottom of the Layers palette:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/new-layer-icon.gif" alt="Adobe Photoshop tutorial image." height="300" width="316" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Hold down "Alt" (Win) / "Option" (Mac) and click on the "New Layer" icon.&lt;/div&gt;           &lt;p&gt;By holding down the "Alt/Option" key when we click on the "New Layer" icon, we tell Photoshop to pop up the &lt;span class="em"&gt;New Layer&lt;/span&gt; dialog box for us so we can name the layer before it's added. We can also set some other options in the dialog box, but all we need to do here is name it. Name your layer "Edges":&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/new-layer-db.gif" alt="Adobe Photoshop tutorial image." height="176" width="429" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Name the new layer "Edges".&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the dialog box and Photoshop will add the new layer. If we look in the Layers palette, we can see our new layer, named "Edges", above the other layers:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/edges-layer.gif" alt="Adobe Photoshop tutorial image." height="289" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;A new blank layer named "Edges" appears at the top of the Layers palette.&lt;/div&gt;                                      &lt;h3&gt;&lt;span&gt;Step 8:&lt;/span&gt; Fill The Layer With Black&lt;/h3&gt;           &lt;p&gt;We need to fill the new layer with black. To do that, we'll use Photoshop's &lt;span class="em"&gt;Fill&lt;/span&gt; command. Go up to the &lt;span class="em"&gt;Edit&lt;/span&gt; menu at the top of the screen and choose &lt;span class="em"&gt;Fill&lt;/span&gt;, or use the keyboard shortcut &lt;span class="em"&gt;Shift+F5&lt;/span&gt;. Either way brings up the Fill dialog box. Use the selection box in the &lt;span class="em"&gt;Contents&lt;/span&gt; section at the top of the dialog box to select &lt;span class="em"&gt;Black&lt;/span&gt; as the color we want to fill the layer with. Also, make sure in the &lt;span class="em"&gt;Blending&lt;/span&gt; section in the bottom half of the dialog box that &lt;span class="em"&gt;Mode&lt;/span&gt; is set to &lt;span class="em"&gt;Normal&lt;/span&gt; and &lt;span class="em"&gt;Opacity&lt;/span&gt; is set to &lt;span class="em"&gt;100%&lt;/span&gt;. They probably are, but better safe than sorry:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/fill-db.gif" alt="Adobe Photoshop tutorial image." height="257" width="330" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Select black as the color you want to fill the new layer with.&lt;/div&gt;            &lt;p&gt;Click OK when you're done to exit out of the dialog box and have Photoshop fill the new layer with black. Your image will now appear filled with solid black in the document window:&lt;/p&gt;               &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/filled-with-black.gif" alt="Adobe Photoshop tutorial image." height="308" width="431" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The document window is now filled with solid black.&lt;/div&gt;                      &lt;h3&gt;&lt;span&gt;Step 9:&lt;/span&gt; Select The Elliptical Marquee Tool&lt;/h3&gt;           &lt;p&gt;Select the &lt;span class="em"&gt;Elliptical Marquee Tool&lt;/span&gt; from the Tools palette. By default, it's hiding behind the Rectangular Marquee Tool, so you'll need to hold your mouse down on the Rectangular Marquee Tool for a second or two until a fly-out menu appears, then select the Elliptical Marquee Tool from the menu:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/elliptical-marquee-tool.gif" alt="Adobe Photoshop tutorial image." height="134" width="265" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Select the Elliptical Marquee Tool from the Tools palette.&lt;/div&gt;                       &lt;h3&gt;&lt;span&gt;Step 10:&lt;/span&gt; Drag Out A Large Elliptical Selection&lt;/h3&gt;           &lt;p&gt;With the Elliptical Marquee Tool selected, click in the top left corner of the image and drag down to the bottom right corner, which will create a large elliptical selection inside the document:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/drag-selection.gif" alt="Adobe Photoshop tutorial image." height="358" width="534" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Click in the top left corner and drag down to the bottom right corner of the image to create a large elliptical selection.&lt;/div&gt;                      &lt;h3&gt;&lt;span&gt;Step 11:&lt;/span&gt; Add A Layer Mask&lt;/h3&gt;           &lt;p&gt;We're going to use our elliptical selection to punch a hole through the solid black fill, allowing us to see our photo underneath, and we can do that by adding a &lt;span class="em"&gt;layer mask&lt;/span&gt;. Now, whenever we add a layer mask with a selection active, Photoshop uses the selection to determine which part(s) of the layer should remain visible and which part(s) should be hidden. By default, anything inside the selection remains visible, while anything outside the selection becomes hidden from view. That means that if we were to add a layer mask right now with our elliptical selection active, Photoshop would keep the solid black fill area inside the selection visible and it would hide the area outside the selection, which is exactly the opposite of what we want. We want the area inside the selection to be hidden so we can see our photo underneath, while the area outside the selection remains visible. &lt;/p&gt;           &lt;p&gt;We need to tell Photoshop to do the exact opposite of what it normally would when we add our layer mask, and we can do that simply by holding down the &lt;span class="em"&gt;Alt&lt;/span&gt; (Win) / &lt;span class="em"&gt;Option&lt;/span&gt; (Mac) key and then clicking on the &lt;span class="em"&gt;Layer Mask&lt;/span&gt; icon at the bottom of the Layers palette:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/add-layer-mask.gif" alt="Adobe Photoshop tutorial image." height="294" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Hold down "Alt" (Win) / "Option" (Mac) and click on the "Layer Mask" icon at the bottom of the Layers palette.&lt;/div&gt;           &lt;p&gt;We can see in the Layers palette now that Photoshop has added a &lt;span class="em"&gt;layer mask thumbnail&lt;/span&gt; to the "Edges" layer, and we can see in the thumbnail that the area inside the selection was filled with black, which means it's being hidden from view, while the area outside the selection was filled with white, meaning it remains visible in the document:&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/layer-mask-thumbnail.gif" alt="Adobe Photoshop tutorial image." height="289" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The newly added layer mask thumbnail on the "Edges" layer.&lt;/div&gt;           &lt;p&gt;And if we look at the image in the document window, we can see that we've successfully punched a hole through the solid black fill, allowing us to see our photo through it:&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-mask.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The photo is now visible through the hole created by the layer mask.&lt;/div&gt;           &lt;p&gt;Just as a side note before we continue, you may have noticed that this was the third time in this tutorial that we've managed to do something a little differently by holding down the Alt/Option key when we did it. The next time you go to do something in Photoshop, try holding down your Alt/Option key while you do it and see what happens. The worst that will happen is absolutely nothing. But who knows that sorts of little-known features you may discover!&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 12:&lt;/span&gt; Apply The Gaussian Blur Filter&lt;/h3&gt;           &lt;p&gt;At the moment, all we've really created is a rather uninteresting photo frame. Let's apply &lt;a itxtdid="3003215" target="_blank" href="http://www.photoshopessentials.com/photo-effects/old-photo/page-4.php#" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" classname="iAs" class="iAs"&gt;Photoshop's&lt;/a&gt; Gaussian Blur filter to the "Edges" layer to soften the transition between the solid black area and the photo. With the "Edges" layer selected in the Layers palette, go up to the &lt;span class="em"&gt;Filter&lt;/span&gt; menu just as we did before, choose &lt;span class="em"&gt;Blur&lt;/span&gt;, and then choose &lt;span class="em"&gt;Gaussian Blur&lt;/span&gt; to once again bring up the Gaussian Blur dialog box. Drag the &lt;span class="em"&gt;Radius&lt;/span&gt; slider at the bottom towards the right and as you drag, you'll see the sharp edge separating the black area from the photo begin to blur and soften. I'm going to increase my Radius value to somewhere around &lt;span class="em"&gt;25 pixels&lt;/span&gt;. For a high resolution image, you'll want to use an even higher setting, maybe around &lt;span class="em"&gt;40 pixels&lt;/span&gt; or so:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/photoshop-gaussian-blur.jpg" alt="Adobe Photoshop tutorial image." height="339" width="330" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Increase the Radius value in the Gaussian Blur dialog box to soften the transition between the outer black area and the photo.&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the dialog box and apply the blurring effect. Here's my image now with a smooth transition between the outer black area and the photo:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-smooth.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The outer black area now blends smoothly into the photo.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 13:&lt;/span&gt; Lower The Opacity Of The "Edges" Layer&lt;/h3&gt;           &lt;p&gt;The only problem remaining with our darkened edge effect is that the solid black area is completely blocking the areas of the photo underneath it from view. We want to darken the edges of the photo, not cover them up. As a final step then with our edge effect, all we need to do is lower the opacity of the "Edges" layer. With the "Edges" layer still selected, go up to the &lt;span class="em"&gt;Opacity&lt;/span&gt; option at the top of the Layers palette and lower the opacity value all the way down to around &lt;span class="em"&gt;35%&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/lower-edge-opacity.gif" alt="Adobe Photoshop tutorial image." height="289" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Lowering the opacity of the "Edges" layer.&lt;/div&gt;           &lt;p&gt;This gives us a much more subtle edge darkening effect:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-edges.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt; The edges of the photo are now darkened.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 14:&lt;/span&gt; Add A New Blank Layer And Name It "Noise"&lt;/h3&gt;           &lt;p&gt;At this point, we're done with our edge effect, so let's move on by adding a little noise to the image, giving it a slightly grainy look. Again, we'll need a new layer for this, so once again hold down your &lt;span class="em"&gt;Alt&lt;/span&gt; (Win) / &lt;span class="em"&gt;Option&lt;/span&gt; (Mac) key and click on the &lt;span class="em"&gt;New Layer&lt;/span&gt; icon at the bottom of the Layers palette:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/new-noise-layer.gif" alt="Adobe Photoshop tutorial image." height="295" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Hold down "Alt" (Win) / "Option" (Mac) and click on the "New Layer" icon.&lt;/div&gt;           &lt;p&gt;Just as before, by holding down "Alt/Option", we tell Photoshop to pop up the &lt;span class="em"&gt;New Layer&lt;/span&gt; dialog box which allows us to name the new layer before it's added. Name this layer "Noise":&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/new-layer-noise.gif" alt="Adobe Photoshop tutorial image." height="176" width="429" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Name the new layer "Noise".&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the dialog box, at which point Photoshop creates a new blank layer for us at the top of the Layers palette and names it "Noise":&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/noise-layer-added.gif" alt="Adobe Photoshop tutorial image." height="288" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Layers palette in Photoshop showing the new "Noise" layer at the top.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 15:&lt;/span&gt; Fill The New Layer With Black&lt;/h3&gt;           &lt;p&gt;Again, we're going to fill this new layer with black, so let's again bring up Photoshop's &lt;span class="em"&gt;Fill&lt;/span&gt; command by going up to the &lt;span class="em"&gt;Edit&lt;/span&gt; menu and choosing &lt;span class="em"&gt;Fill&lt;/span&gt; or by using the keyboard shortcut &lt;span class="em"&gt;Shift+F5&lt;/span&gt;. When the Fill dialog box comes up, you should see that all of the options are automatically set to the way we set them last time, with the &lt;span class="em"&gt;Contents&lt;/span&gt; section at the top set to &lt;span class="em"&gt;Black&lt;/span&gt;, the &lt;span class="em"&gt;Mode&lt;/span&gt; option set to &lt;span class="em"&gt;Normal&lt;/span&gt; and the &lt;span class="em"&gt;Opacity&lt;/span&gt; option set to &lt;span class="em"&gt;100%&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/fill-db.gif" alt="Adobe Photoshop tutorial image." height="257" width="330" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Fill dialog box should still be set to the same options we used last time.&lt;/div&gt;           &lt;p&gt;Click OK to accept the options and exit out of the dialog box. Photoshop again fills the new layer with black:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/noise-black.gif" alt="Adobe Photoshop tutorial image." height="358" width="502" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The image once again appears completely filled with black in the document window.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 16:&lt;/span&gt; Add Noise&lt;/h3&gt;           &lt;p&gt;With the "Noise" layer selected, go up to the &lt;span class="em"&gt;Filter&lt;/span&gt; menu at the top of the screen, choose &lt;span class="em"&gt;Noise&lt;/span&gt;, and then choose &lt;span class="em"&gt;Add Noise&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/add-noise.gif" alt="Adobe Photoshop tutorial image." height="111" width="151" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Go to Filter &gt; Noise &gt; Add Noise.&lt;/div&gt;           &lt;p&gt;This brings up Photoshop's "Add Noise" dialog box. We want to add a lot of noise, so drag the &lt;span class="em"&gt;Amount&lt;/span&gt; slider to somewhere around &lt;span class="em"&gt;130%&lt;/span&gt; or so. There's no exact value to set it to. Just make sure you're adding lots of noise. Also, make sure you select the &lt;span class="em"&gt;Gaussian&lt;/span&gt; and &lt;span class="em"&gt;Monochromatic&lt;/span&gt; options at the bottom of the dialog box:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/add-noise-db.gif" alt="Adobe Photoshop tutorial image." height="427" width="336" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Set the "Amount" value to around 130% to add lots of noise to the layer, and select the "Gaussian" and "Monochromatic" options at the bottom.&lt;/div&gt;           &lt;p&gt;Click OK to exit out of the dialog box. Your image in the document window will now appear completely filled with black and white noise:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/filled-with-noise.gif" alt="Adobe Photoshop tutorial image." height="308" width="431" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The "Noise" layer is now filled with noise.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 17:&lt;/span&gt; Change The Blend Mode Of The "Noise" Layer To "Soft Light"&lt;/h3&gt;           &lt;p&gt;We need to blend all that noise into our image, and the first step in doing that is to change the layer's blend mode. With the "Noise" layer still selected, go up to the &lt;span class="em"&gt;Blend Mode&lt;/span&gt; option in the top left corner of the Layers palette and change it from "Normal" to &lt;span class="em"&gt;Soft Light&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/soft-light.gif" alt="Adobe Photoshop tutorial image." height="288" width="293" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;&lt;a itxtdid="3003215" target="_blank" href="http://www.photoshopessentials.com/photo-effects/old-photo/page-5.php#" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" classname="iAs" class="iAs"&gt;Photoshop&lt;/a&gt; Tutorials: Change the blend mode of the "Noise" layer to "Soft Light".&lt;/div&gt;           &lt;p&gt;As soon as you change the blend mode to "Soft Light", you'll be able to see your photo through the noise, even though there's still far too much of it:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-soft-light.jpg" alt="Adobe Photoshop tutorial image." height="408" width="609" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The photo is now visible through the noise after changing the blend mode.&lt;/div&gt;                                &lt;h3&gt;&lt;span&gt;Step 18:&lt;/span&gt; Lower The Opacity Of The "Noise" Layer&lt;/h3&gt;           &lt;p&gt;Go up to the &lt;span class="em"&gt;Opacity&lt;/span&gt; option at the top of the Layers palette and lower the opacity of the "Noise" layer all the way down to somewhere between &lt;span class="em"&gt;10-15%&lt;/span&gt; so there's just a hint of graininess remaining. I'm going to lower mine to 13%:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/noise-opacity.gif" alt="Adobe Photoshop tutorial image." height="288" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Reduce the intensity of the noise by lowering the opacity of the layer.&lt;/div&gt;           &lt;p&gt;Here's my photo now after lowering the opacity of the noise:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-noise-opacity.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The noise is now much more natural looking in the image after lowering its opacity.&lt;/div&gt;           &lt;p&gt;Another effect complete! Now let's add a little bit of wear and tear to the image by creating a few specks of dust and some scratches. Nothing extreme, just a subtle amount.&lt;/p&gt;                      &lt;h3&gt;&lt;span&gt;Step 19:&lt;/span&gt; Add A New Layer Named "Grain" And Fill It With Black&lt;/h3&gt;           &lt;p&gt;We need yet another new layer and we need to fill it with black. Since we've already done this twice, I'll save us a little time here and combine the whole process into one step. Hold down your &lt;span class="em"&gt;Alt&lt;/span&gt; (Win) / &lt;span class="em"&gt;Option&lt;/span&gt; (Mac) key and click on the &lt;span class="em"&gt;New Layer&lt;/span&gt; icon at the bottom of the Layers palette. When the &lt;span class="em"&gt;New Layer&lt;/span&gt; dialog box appears, name the layer &lt;span class="em"&gt;Grain&lt;/span&gt;. We're naming it that because we'll be using Photoshop's "Grain" filter in a moment. Click OK to exit out of the dialog box and have Photoshop add the new layer at the top of the Layers palette.&lt;/p&gt;           &lt;p&gt;Then, to fill the layer with black, go up to the &lt;span class="em"&gt;Edit&lt;/span&gt; menu at the top of the screen and choose &lt;span class="em"&gt;Fill&lt;/span&gt; or use the keyboard shortcut &lt;span class="em"&gt;Shift+F5&lt;/span&gt;. When the Fill dialog box appears, make sure all the options are still set to the way we had them before, with &lt;span class="em"&gt;Contents&lt;/span&gt; set to &lt;span class="em"&gt;Black&lt;/span&gt;, &lt;span class="em"&gt;Mode&lt;/span&gt; set to &lt;span class="em"&gt;Normal&lt;/span&gt; and &lt;span class="em"&gt;Opacity&lt;/span&gt; set to &lt;span class="em"&gt;100%&lt;/span&gt;, then click OK to exit out of the dialog box and have Photoshop fill the new layer with black.&lt;/p&gt;           &lt;p&gt;When you're done, you should have a new layer at the top of your Layers palette named "Grain", and the layer should be filled with solid black:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/new-grain-layer.gif" alt="Adobe Photoshop tutorial image." height="288" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Layers palette showing a new layer named "Grain" above the other layers, with its preview thumbnail showing that the layer is filled with black.&lt;/div&gt;           &lt;p&gt;Your image in the document window will also once again be filled with black.&lt;/p&gt;                      &lt;h3&gt;&lt;span&gt;Step 20:&lt;/span&gt; Apply The "Grain" Filter&lt;/h3&gt;           &lt;p&gt;We're going to use Photoshop's "Grain" filter to add a little wear and tear to our image by adding some dust and scratches. Again, we're not going for an extreme amount of wear and tear here, just a little something to help make the photo look like it's been sitting in someone's shoe box for a few years. With the new "Grain" layer selected in the Layers palette, go up to the &lt;span class="em"&gt;Filter&lt;/span&gt; menu at the top of the screen, choose &lt;span class="em"&gt;Texture&lt;/span&gt;, and then choose &lt;span class="em"&gt;Grain&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/grain.gif" alt="Adobe Photoshop tutorial image." height="122" width="137" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Go to Filter &gt; Texture &gt; Grain.&lt;/div&gt;           &lt;p&gt;When the Grain filter dialog box appears, first set the &lt;span class="em"&gt;Grain Type&lt;/span&gt; option to &lt;span class="em"&gt;Vertical&lt;/span&gt;, then increase the &lt;span class="em"&gt;Intensity&lt;/span&gt; value to around &lt;span class="em"&gt;70&lt;/span&gt; and the &lt;span class="em"&gt;Contrast&lt;/span&gt; value to around &lt;span class="em"&gt;80&lt;/span&gt;. You may need to play around with those values a bit while keeping an eye on the preview area. What you're looking for is just a few broken vertical white lines which will become dust and scratches on the image:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/grain-options.gif" alt="Adobe Photoshop tutorial image." height="190" width="282" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Adjust the Grain filter options to create a few broken vertical white lines to use as dust and scratches.&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the dialog box. If you look at your image in the document window, you should see something like this:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-grain.gif" alt="Adobe Photoshop tutorial image." height="358" width="534" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The broken vertical white lines are now visible in the document window against the solid black.&lt;br /&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 21:&lt;/span&gt; Change The Blend Mode Of The "Grain" Layer To "Screen"&lt;/h3&gt;           &lt;p&gt;To turn those white dots and lines into something that looks more like dust and scratches, simply go up to the &lt;span class="em"&gt;Blend Mode&lt;/span&gt; option at the top of the Layers palette and change the "Grain" layer's blend mode from "Normal" to &lt;span class="em"&gt;Screen&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/screen-blend-mode.gif" alt="Adobe Photoshop tutorial image." height="288" width="295" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt; Tutorials: Change the blend mode of the "Grain" layer to "Screen".&lt;/div&gt;           &lt;p&gt;The "Screen" blend mode will instantly hide all the black areas on the layer, leaving only the white dots and lines visible, creating our subtle dust and scratches effect:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-grain.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The image now appears to suffer from a few specks of dust and some scratches.&lt;/div&gt;                     &lt;p&gt;You may be wondering why we named this layer "Grain" and not something more obvious like "Dust &amp;amp; Scratches". The reason is simply because there is an actual Dust &amp;amp; Scratches filter in Photoshop which is used to remove things like, well, dust and scratches. To avoid confusion, I thought it would be easier to name the layer based on the name of the filter we used to create the effect, which was the "Grain" filter. It doesn't really matter what name you give to your layers as long as the name makes sense to you.&lt;/p&gt;                                &lt;h3&gt;&lt;span&gt;Step 22:&lt;/span&gt; Add A "Levels" Adjustment Layer&lt;/h3&gt;           &lt;p&gt;One of the things that tends to happen to photos over time is that they begin to fade. The deep blacks and bright whites in the image become dark and light shades of gray, resulting in a loss of contrast in the photo and an overall "dull" appearance. Normally, Photoshop's &lt;span class="em"&gt;Levels&lt;/span&gt; command is used to restore those shadows and highlights that have fallen victim to the ravages of time, but we can just as easily use Levels to advance the aging process.&lt;/p&gt;           &lt;p&gt;Before we can do anything though, we need to add a Levels adjustment layer, so with the "Grain" layer still selected, click on the &lt;span class="em"&gt;New Adjustment Layer&lt;/span&gt; icon at the bottom of the Layers palette and select &lt;span class="em"&gt;Levels&lt;/span&gt; from the list:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/select-levels.gif" alt="Adobe Photoshop tutorial image." height="381" width="352" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Click on the "New Adjustment Layer" icon and select "Levels".&lt;/div&gt;                       &lt;h3&gt;&lt;span&gt;Step 23:&lt;/span&gt; Reduce The Overall Contrast Of The Image With The Output Sliders&lt;/h3&gt;           &lt;p&gt;When the Levels dialog box appears, look down at the very bottom and you'll see a gradient bar going from black on the left to white on the right, with two small sliders below it on either end - a black one on the left and a white one on the right. These are called &lt;span class="em"&gt;output sliders&lt;/span&gt; and they control the maximum tonal range of an image. We can use them to control how dark the blacks in an image can appear and how bright the whites can appear.&lt;/p&gt;           &lt;p&gt;As I mentioned a moment ago, the deep blacks in a photo tend to lighten over time, so to lighten the blacks in our image, simply click on the &lt;span class="em"&gt;black slider&lt;/span&gt; on the left and drag it towards the right. As you drag, you'll see the darkest parts of the image begin to lighten. We don't want to go too far, so continue dragging until you've set the number in the left value box of the &lt;span class="em"&gt;Output Levels&lt;/span&gt; option to around &lt;span class="em"&gt;30&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/levels-black.gif" alt="Adobe Photoshop tutorial image." height="310" width="413" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Drag the bottom black slider towards the right until you've set the black Output Level to 30.&lt;/div&gt;           &lt;p&gt;The bright whites in the photo need to be darkened a little as well, so click on the &lt;span class="em"&gt;white slider&lt;/span&gt; on the right and begin dragging it towards the left. As you drag, you'll see the brightest areas in the image begin to fade. Again, we don't want to go too far, so drag the slider until you've set the number in the right value box of the Output Levels option to around &lt;span class="em"&gt;235&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/levels-white.gif" alt="Adobe Photoshop tutorial image." height="310" width="413" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Drag the bottom white slider towards the left until you've set the white Output Level to 235.&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the Levels dialog box. If we look in our Layers palette, we can see the Levels adjustment layer that we've added:&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/levels-added.gif" alt="Adobe Photoshop tutorial image." height="288" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Layers palette showing the newly added Levels adjustment layer sitting at the top.&lt;/div&gt;            &lt;p&gt;And if we look at our image, we can see that it has now lost a bit of its overall contrast. To make it easier to see what we've done, I've split my photo up into a "before and after" image. The left side is how the image looked before fading it with the Levels adjustment layer, and the right side is how it appears after fading it. Notice how the blacks are no longer pure black and the whites are no longer pure white:&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-levels.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The photo has now lost some of its original contrast.&lt;/div&gt;           &lt;p&gt;We're just about done, and you could actually stop here if you wanted to. But as a final step, I'm going to bring back just a hint of the photo's original color, and I'll do that next!&lt;/p&gt;                            &lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 21:&lt;/span&gt; Change The Blend Mode Of The "Grain" Layer To "Screen"&lt;/h3&gt;           &lt;p&gt;To turn those white dots and lines into something that looks more like dust and scratches, simply go up to the &lt;span class="em"&gt;Blend Mode&lt;/span&gt; option at the top of the Layers palette and change the "Grain" layer's blend mode from "Normal" to &lt;span class="em"&gt;Screen&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/screen-blend-mode.gif" alt="Adobe Photoshop tutorial image." height="288" width="295" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt; Tutorials: Change the blend mode of the "Grain" layer to "Screen".&lt;/div&gt;           &lt;p&gt;The "Screen" blend mode will instantly hide all the black areas on the layer, leaving only the white dots and lines visible, creating our subtle dust and scratches effect:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-grain.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The image now appears to suffer from a few specks of dust and some scratches.&lt;/div&gt;                     &lt;p&gt;You may be wondering why we named this layer "Grain" and not something more obvious like "Dust &amp;amp; Scratches". The reason is simply because there is an actual Dust &amp;amp; Scratches filter in Photoshop which is used to remove things like, well, dust and scratches. To avoid confusion, I thought it would be easier to name the layer based on the name of the filter we used to create the effect, which was the "Grain" filter. It doesn't really matter what name you give to your layers as long as the name makes sense to you.&lt;/p&gt;                                &lt;h3&gt;&lt;span&gt;Step 22:&lt;/span&gt; Add A "Levels" Adjustment Layer&lt;/h3&gt;           &lt;p&gt;One of the things that tends to happen to photos over time is that they begin to fade. The deep blacks and bright whites in the image become dark and light shades of gray, resulting in a loss of contrast in the photo and an overall "dull" appearance. Normally, Photoshop's &lt;span class="em"&gt;Levels&lt;/span&gt; command is used to restore those shadows and highlights that have fallen victim to the ravages of time, but we can just as easily use Levels to advance the aging process.&lt;/p&gt;           &lt;p&gt;Before we can do anything though, we need to add a Levels adjustment layer, so with the "Grain" layer still selected, click on the &lt;span class="em"&gt;New Adjustment Layer&lt;/span&gt; icon at the bottom of the Layers palette and select &lt;span class="em"&gt;Levels&lt;/span&gt; from the list:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/select-levels.gif" alt="Adobe Photoshop tutorial image." height="381" width="352" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Click on the "New Adjustment Layer" icon and select "Levels".&lt;/div&gt;                       &lt;h3&gt;&lt;span&gt;Step 23:&lt;/span&gt; Reduce The Overall Contrast Of The Image With The Output Sliders&lt;/h3&gt;           &lt;p&gt;When the Levels dialog box appears, look down at the very bottom and you'll see a gradient bar going from black on the left to white on the right, with two small sliders below it on either end - a black one on the left and a white one on the right. These are called &lt;span class="em"&gt;output sliders&lt;/span&gt; and they control the maximum tonal range of an image. We can use them to control how dark the blacks in an image can appear and how bright the whites can appear.&lt;/p&gt;           &lt;p&gt;As I mentioned a moment ago, the deep blacks in a photo tend to lighten over time, so to lighten the blacks in our image, simply click on the &lt;span class="em"&gt;black slider&lt;/span&gt; on the left and drag it towards the right. As you drag, you'll see the darkest parts of the image begin to lighten. We don't want to go too far, so continue dragging until you've set the number in the left value box of the &lt;span class="em"&gt;Output Levels&lt;/span&gt; option to around &lt;span class="em"&gt;30&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/levels-black.gif" alt="Adobe Photoshop tutorial image." height="310" width="413" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Drag the bottom black slider towards the right until you've set the black Output Level to 30.&lt;/div&gt;           &lt;p&gt;The bright whites in the photo need to be darkened a little as well, so click on the &lt;span class="em"&gt;white slider&lt;/span&gt; on the right and begin dragging it towards the left. As you drag, you'll see the brightest areas in the image begin to fade. Again, we don't want to go too far, so drag the slider until you've set the number in the right value box of the Output Levels option to around &lt;span class="em"&gt;235&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/levels-white.gif" alt="Adobe Photoshop tutorial image." height="310" width="413" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Drag the bottom white slider towards the left until you've set the white Output Level to 235.&lt;/div&gt;           &lt;p&gt;Click OK when you're done to exit out of the Levels dialog box. If we look in our Layers palette, we can see the Levels adjustment layer that we've added:&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/levels-added.gif" alt="Adobe Photoshop tutorial image." height="288" width="274" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The Layers palette showing the newly added Levels adjustment layer sitting at the top.&lt;/div&gt;            &lt;p&gt;And if we look at our image, we can see that it has now lost a bit of its overall contrast. To make it easier to see what we've done, I've split my photo up into a "before and after" image. The left side is how the image looked before fading it with the Levels adjustment layer, and the right side is how it appears after fading it. Notice how the blacks are no longer pure black and the whites are no longer pure white:&lt;/p&gt;            &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/image-levels.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The photo has now lost some of its original contrast.&lt;/div&gt;           &lt;p&gt;We're just about done, and you could actually stop here if you wanted to. But as a final step, I'm going to bring back just a hint of the photo's original color, and I'll do that next!&lt;/p&gt;                             &lt;/div&gt;&lt;br /&gt;&lt;h3&gt;&lt;span&gt;Step 24:&lt;/span&gt; Select The Hue/Saturation Layer&lt;/h3&gt;           &lt;p&gt;As I mentioned at the end of the previous page, this last step is optional. I'm going to bring back some of the photo's original color, as if the color in the photo has also faded over time.&lt;/p&gt;           &lt;p&gt;If you remember from the very beginning of the tutorial, we replaced the photo's original color with a sepia tone using a Hue/Saturation adjustment layer. The original photo with all of its original colors is sitting safely below that adjustment layer on the Background layer. To bring back some of the color, all we need to do is lower the opacity of that Hue/Saturation layer.&lt;/p&gt;           &lt;p&gt;First, we need to select it, so click on the Hue/Saturation adjustment layer in the Layers palette:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/select-hue-saturation.gif" alt="Adobe Photoshop tutorial image." height="288" width="286" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;&lt;a itxtdid="3003215" target="_blank" href="http://www.photoshopessentials.com/photo-effects/old-photo/page-7.php#" style="border-bottom: 0.075em solid darkgreen ! important; font-weight: normal ! important; font-size: 100% ! important; text-decoration: underline ! important; padding-bottom: 1px ! important; color: darkgreen ! important; background-color: transparent ! important;" classname="iAs" class="iAs"&gt;Photoshop&lt;/a&gt; Tutorials: Select the Hue/Saturation adjustment layer in the Layers palette.&lt;/div&gt;           &lt;h3&gt;&lt;span&gt;Step 25:&lt;/span&gt; Lower The Layer's Opacity&lt;/h3&gt;           &lt;p&gt;With the Hue/Saturation adjustment layer selected, go up to the &lt;span class="em"&gt;Opacity&lt;/span&gt; option at the top of the Layers palette and lower the opacity to around &lt;span class="em"&gt;90%&lt;/span&gt;:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/hue-saturation-opacity.gif" alt="Adobe Photoshop tutorial image." height="288" width="286" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;Lower the opacity of the Hue/Saturation adjustment layer to bring back some of the photo's original color.&lt;/div&gt;           &lt;p&gt;This brings back 10% of the photo's original color, and with that, here's my final "old photo" result:&lt;/p&gt;           &lt;p&gt;&lt;img src="http://www.photoshopessentials.com/images/photo-effects/old-photo/old-photo-effect.jpg" alt="Adobe Photoshop tutorial image." height="458" width="684" /&gt;&lt;/p&gt;           &lt;div class="image-desc"&gt;The final "old photo" result.&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-3824834926257479645?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/03/turn-new-photo-into-old-photo.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-4957230361732708618</guid><pubDate>Wed, 19 Mar 2008 11:00:00 +0000</pubDate><atom:updated>2008-03-19T04:05:43.776-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Adobe Photoshop</category><category domain="http://www.blogger.com/atom/ns#">Photoshop Tutorials</category><title>Blue flower background</title><description>&lt;div class="xboxcontent"&gt;&lt;table class="tbl_left"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="http://www.photoshoptalent.com/images/icons/bullet.png" alt="" /&gt; E-mail:&lt;/td&gt;&lt;td&gt;melissa_sue_bailey@yahoo.com&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;img src="http://www.photoshoptalent.com/images/icons/bullet.png" alt="" /&gt; Name:&lt;/td&gt;&lt;td&gt;Melissa&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h2&gt;step 1&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Open a new file with dimensions 1000x1000 pixels at 72 ppi and mode RGB.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step1_47c6ec783e24d.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 2&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Select the foreground color 6E8DA7 and fill the background with it.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step2_47c6ed5972511.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 3&lt;/h2&gt;&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Go to Filter - Render - Clouds&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step3_47c6edf1a84ee.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 4&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Filter - Add Noise&lt;br /&gt;&lt;br /&gt;11.2%   -   Uniform   -  Monochromatic&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step4_47c6ef9cc6649.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 5&lt;/h2&gt;&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Filter - Blur - Motion Blur&lt;br /&gt;&lt;br /&gt;51 degrees  -  58 pixels&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step5_47c6efc6ef7af.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 6&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Select brush 1276 (24) from Brushes-curl set available here http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial344/brushe3.rar&lt;br /&gt;&lt;br /&gt;Change the size to around 800 pixels. Using the color white, place where you want it.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step6_47c6f1050e8b9.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 7&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Choose brush 611 (22) from the same brush set as the previous step and change size to about 400. Now place where you want still using the color white.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step7_47c6f1d2717ee.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 8&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Change the white color to the blue color again (6E8DA7).&lt;br /&gt;&lt;br /&gt;Select brush 840 (18) from the same brush set and place where you want, do not resize.&lt;br /&gt;&lt;br /&gt;Now change the blending mode to Difference.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step8_47c6f2c49becc.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 9&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Select brush 1068 (14) from the same brush set and resize to around 800. Place where you want.&lt;br /&gt;&lt;br /&gt;Then change the blending mode to Multiply.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step9_47c6f37155f02.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 10&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Choose brush 1175 (10) from the same brush set. Still using the color blue, place where you want, and resize if you want.&lt;br /&gt;&lt;br /&gt;Change the blending mode to Color Burn.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step10_47c6f44f11fa4.jpg" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 11&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Select brush 305 (untitled-1 copy) from the same brush set. Still using the blue color, resize to around 800, and place where you want.&lt;br /&gt;&lt;br /&gt;Drag this layer down one layer, and change the blending mode to Multiply.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step11_47c6f5fb31092.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 12&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer. Make sure it is above layer 6!&lt;br /&gt;&lt;br /&gt;Select brush 1111 (23) from the same brush set. Still using the blue color, resize to about 800, and place where you want.&lt;br /&gt;&lt;br /&gt;Change the blending mode to Difference.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step12_47c6f6d9e909e.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 13&lt;/h2&gt;&lt;br /&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Create a new layer.&lt;br /&gt;&lt;br /&gt;Fill with the blue color (6E8DA7).&lt;br /&gt;&lt;br /&gt;Filter - Render - Lighting Effects.&lt;br /&gt;&lt;br /&gt;Use parameters below.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step13_47c6f7884646f.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xsnazzyfixed"&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 14&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Do the lighting effects again, but instead of from the top left, have the light coming from the bottom right.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step14_47c6f7f2ee70d.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="xboxcontent"&gt;&lt;h2&gt;step 15&lt;/h2&gt;&lt;div class="div_entry"&gt;&lt;p class="descr"&gt;Finally, change the blending mode of layer 9 to Multiply.&lt;br /&gt;&lt;br /&gt;And you are done.&lt;/p&gt;&lt;div class="txt_center"&gt;&lt;img class="img_entry" src="http://www.photoshoptalent.com/images/tutorials/submissionsteps/fullsize/Blue%20flower%20background_step15_47c6f84e5e134.jpg" alt="" /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-4957230361732708618?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/03/blue-flower-background.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-7295783644101939616</guid><pubDate>Wed, 19 Mar 2008 10:37:00 +0000</pubDate><atom:updated>2008-03-19T03:44:09.369-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Adobe Photoshop</category><category domain="http://www.blogger.com/atom/ns#">Photoshop Tutorials</category><title>Photoshop Watermark Tutorial</title><description>&lt;h3&gt;By Waseem Khan&lt;br /&gt;&lt;/h3&gt;&lt;h3&gt;Step 1:&lt;/h3&gt;  Open a 300x300 transparent layer in Photoshop. &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/1.png" border="0" height="358" width="335" /&gt;&lt;/p&gt; &lt;h3&gt;&lt;br /&gt;Step 2: &lt;/h3&gt; &lt;p&gt;  Type/insert your text, nick or logo  to use as your watermark.&lt;br /&gt;The font I have used is Scriptin. &lt;/p&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/2.png" border="0" height="361" width="333" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;Step 3:&lt;/h3&gt; &lt;p&gt; Go to File &gt; define pattern. Save your pattern as any name you wish.&lt;/p&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/3-1.png" border="0" height="591" width="338" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/4.png" border="0" height="434" width="492" /&gt;&lt;/p&gt;&lt;br /&gt;  Your custom watermark is already made! The Upcoming steps are just about how to  use it with your projects.&lt;br /&gt;&lt;br /&gt; &lt;h3&gt;Step 4:&lt;/h3&gt; &lt;p&gt;  Open a random file, or you can use the file I have used .&lt;br /&gt;The file is copyright    protected, so no using it elsewhere =).&lt;/p&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/White.png" border="0" height="444" width="450" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;After choosing our file, we will insert our pattern which  we just made.&lt;br /&gt;Illustration is shown below.&lt;/p&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/5.png" border="0" height="409" width="500" /&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;h3&gt;Step 5:&lt;/h3&gt; &lt;p&gt;  Click on 'Pattern' and apply your pattern . You will have to choose your pattern    from the different patterns there. The one you have created will probably be the last one listed.&lt;/p&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/6.png" border="0" height="408" width="500" /&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;h3&gt;Step 6:&lt;/h3&gt; &lt;p&gt;    Reduce the opacity to make it look milder/smoother. It's up to you as to how much    you would like to reduce the opacity as it depends on your personal taste. I have    reduced it to 22%. &lt;/p&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/7.png" border="0" height="411" width="500" /&gt;&lt;/p&gt;&lt;br /&gt;&lt;h3&gt;The finished file: &lt;/h3&gt; &lt;p id="imagebox"&gt;&lt;img src="http://www.developertutorials.com/images/articles/waseem/watermark/8.png" border="0" height="444" width="450" /&gt;&lt;/p&gt; &lt;p&gt;&lt;br /&gt;Thanks for viewing my tutorial .&lt;br /&gt;Stay tuned for more innovative tutorials in the future =) .&lt;br /&gt;Cheers! &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-7295783644101939616?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/03/photoshop-watermark-tutorial.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-9135631724096562642.post-6690519475208591550</guid><pubDate>Wed, 19 Mar 2008 09:49:00 +0000</pubDate><atom:updated>2008-03-19T03:03:27.618-07:00</atom:updated><title>Shinegrafix: Dreamy World I</title><description>&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:lucida grande;" &gt;Dream View 8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shinegrafix.deviantart.com/art/Dream-View-8-79606518"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://tn3-2.deviantart.com/fs27/300W/i/2008/070/4/d/Dream_View_8_by_shinegrafix.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:lucida grande;" &gt;&lt;br /&gt;Dream View 7&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://shinegrafix.deviantart.com/art/Dream-View-7-79606341"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://tn3-1.deviantart.com/fs25/300W/i/2008/070/2/a/Dream_View_7_by_shinegrafix.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;font-family:lucida grande;" &gt;Dream View 6&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="hhttp://shinegrafix.deviantart.com/art/Autumn-Series-Nr-6-69569401"&gt;&lt;img style="cursor: pointer; width: 320px;" src="http://tn3-2.deviantart.com/fs24/300W/i/2008/011/3/9/Autumn_Series_Nr__6_by_shinegrafix.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;Shinegrafix - RSS&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9135631724096562642-6690519475208591550?l=shinegrafix.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://shinegrafix.blogspot.com/2008/03/shinegrafix-dreamy-world-i.html</link><author>noreply@blogger.com (Danyal Ali Butt)</author><thr:total>0</thr:total></item><language>en-us</language><media:rating>nonadult</media:rating></channel></rss>

