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

<channel>
	<title>Photoshop Lab &#187; Actions and Automation</title>
	<atom:link href="http://www.photoshoplab.com/category/tutorials/actions/feed" rel="self" type="application/rss+xml" />
	<link>http://www.photoshoplab.com</link>
	<description>Photoshop Tutorials, Tips, Tricks and News</description>
	<lastBuildDate>Wed, 24 Nov 2010 22:38:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Lightbox Web Photo Gallery</title>
		<link>http://www.photoshoplab.com/lightbox-web-photo-gallery.html</link>
		<comments>http://www.photoshoplab.com/lightbox-web-photo-gallery.html#comments</comments>
		<pubDate>Tue, 13 Jun 2006 02:44:01 +0000</pubDate>
		<dc:creator>Tommy Maloney</dc:creator>
				<category><![CDATA[Actions and Automation]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[photo gallery]]></category>
		<category><![CDATA[photoshop]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://www.photoshoplab.com/lightbox-web-photo-gallery.html</guid>
		<description><![CDATA[Adobe Photoshop&#8217;s Web Photo Gallery is a great and easy to use function, but the quality of your preset options have always seemed lacking. Using the Lightbox JS javascript library and the Web Photo Gallery we can easily create a very slick photo gallery for your website. Here&#8217;s an example of a Photoshop Lightbox Web [...]]]></description>
			<content:encoded><![CDATA[<p>Adobe Photoshop&#8217;s Web Photo Gallery is a great and easy to use function, but the quality of your preset options have always seemed lacking. Using the <a href="http://www.huddletogether.com/projects/lightbox/" title="Lightbox JS" class="out">Lightbox JS</a> javascript library and the Web Photo Gallery we can easily create a very slick photo gallery for your website.<span id="more-521"></span></p>
<p><a href="http://www.photoshoplab.com/examples/lightbox_web_gallery/index.html" title="Lightbox Photo Gallery" class="out">Here&#8217;s an example of a Photoshop Lightbox Web Photo Gallery</a>.<sup><a href="#note1" title="Footnote">*</a></sup></p>
<p>Photoshop&#8217;s Web Photo Gallery automation is located under [File > Automate > Web Photo Gallery...]. It&#8217;s been available since version 5.5 (I think). This tutorial doesn&#8217;t cover the basics of using the Web Photo Gallery, but Adobe <a href="http://studio.adobe.com/uk/tips/tip.jsp?p=1&amp;id=68&amp;xml=phs7webgallery" title="Adobe's Web Photo Gallery tutorial" class="out">offers one in their Resource Center</a>. So, if you&#8217;ve never used it, check that out first. </p>
<p>Since this isn&#8217;t JUST a Photoshop tutorial I&#8217;m expecting a few different levels of readers:</p>
<p><b>Non-Programmers</b><br />
For those of you that don&#8217;t want to do any programming you can <a href="/downloads/Lightbox_Web_Photo_Gallery.zip" title="Download Lightbox Web Photo Gallery Preset">download the Lightbox Web Photo Gallery preset</a> and install it into your [Photoshop CS2/Presets/Web Photo Gallery] folder. There&#8217;s a text file called &#8220;Color Settings.txt&#8221; in the &#8220;images&#8221; folder of the download containing the matching color setting values I used in my example.</p>
<p><b>Mild-Programmers</b><br />
Those you of you that can handle some basic HTML and aren&#8217;t afraid of a little javascript, read on, this tutorial is mostly for you.</p>
<p><b>L33T Programmers</b><br />
You can probably just <a href="#lightbox" title="Skip to Lightbox Editing Instructions">skip to the Lightbox JS Editing instructions</a> and figure things out yourself. I&#8217;m just hoping this sparks your creativity and you create some awesome galleries then post them in the <a href="#c">comments</a>.</p>
<p><!-- In_content_Rectangle -->
<script type='text/javascript'>
GA_googleFillSlot("In_content_Rectangle");
</script>
<!--<script type="text/javascript">

az_adjs(29,'fa706c8');
//</script><noscript><a href="/adserver/adclick.php?n=a4316b23" class="out"><img src="/adserver/adview.php?zoneid=29&amp;n=a4316b23" alt="In-Content Rectangle - 300x250" /></a></noscript>
-->
</p>
<h3>Getting Started</h3>
<p>Start by navigating to your &#8220;Presets&#8221; folder in your Photoshop CS2 install directory.<br />
<b>Windows:</b> [Program Files/Adobe/Photoshop CS2/Presets/Web Photo Gallery].<br />
<b>Mac OS:</b> [Adobe Photoshop CS2/Presets/Web Photo Gallery].</p>
<p>Find the folder labeled &#8220;Simple&#8221; and duplicate it. Rename your duplicate folder to &#8220;Lightbox&#8221; (or whatever you want to call it). Within your new folder create another new folder and call it &#8220;images&#8221;. </p>
<p><img src="/images/tutorials/webgallery1.jpg" alt="webgallery1" /></p>
<p><a href="http://www.huddletogether.com/projects/lightbox/" title="Lightbox JS" class="out">Visit the Lightbox JS</a> website or even the newer <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox 2.0" class="out">Lightbox JS v2.0 website</a> and download the necessary Lightbox files to the &#8220;images&#8221; folder you created earlier. For this example, I will be using the original Lightbox v1.0 files because it&#8217;s an easier setup and install. Although, I must admit, the 2.0 version is very slick.</p>
<p><b>*UPDATE*</b><br />
Due to popular demand, I&#8217;ve added instructions to using the <a href="/lightbox-20-web-photo-gallery.html" title="Lightbox 2.0 Web Photo Gallery">Lightbox 2.0 javascript with Web Photo Gallery in this mini-tutorial</a>.</p>
<p><img src="/images/tutorials/webgallery14.jpg" alt="webgallery14" /></p>
<p>The Photoshop Web Photo Gallery uses custom tags to generate the content for the pages in the Web Photo Gallery. The tags are defined with surrounding &#8220;%&#8221; signs, which Adobe calls &#8220;tokens&#8221;. For a list of all available tokens, you can search in your Photoshop Help documents by pressing [F1], or you can <a href="/downloads/Photoshop_Web_Gallery_Tokens.rtf" title="Downlaod Web Gallery Tokens List" class="out">download the list of available Web Photo Gallery Tokens here</a>. This is a good guide for all of the token functions available.</p>
<p>These next few images will illustrate the options in the Web Photo Gallery and (some of) their corresponding tokens. </p>
<h3>General Options</h3>
<p><img src="/images/tutorials/webgallery2.jpg" alt="webgallery2" /></p>
<ol>
<li><b>Email address:</b> %EMAIL%</li>
<li><b>Character set:</b> %CHARSET%</li>
<li><b>Image width / Image height:</b> %image_width% / %image_height%</li>
</ol>
<h3>Banner Options</h3>
<p><img src="/images/tutorials/webgallery3.jpg" alt="webgallery3" /></p>
<ol start="4">
<li><b>Site Name:</b> %BANNER%, %TITLE%</li>
<li><b>Photographer:</b> %PHOTOGRAPHER%</li>
<li><b>Contact Info:</b> %CONTACTINFO%</li>
<li><b>Date:</b> %DATE%</li>
<li><b>Font:</b> %BANNERFONT%</li>
<li><b>Font Size:</b> %BANNERFONTSIZE%</li>
</ol>
<h3>Large Image Options</h3>
<p><img src="/images/tutorials/webgallery4.jpg" alt="webgallery4" /></p>
<ol start="10">
<li><b>Add Numeric Links:</b> %ANCHOR%, %NUMERICLINKS%</li>
<li><b>Border Size:</b> %IMAGEBORDER%</li>
<li><b>Titles:</b> %FILENAME%, %FILEINFO%, %CREDITS%, %CAPTIONTITLE%, %COPYRIGHT%</li>
<li><b>Font:</b> %CAPTIONFONT%</li>
<li><b>Font Size:</b> %CAPTIONFONTSIZE%</li>
</ol>
<h3>Thumbnail Options</h3>
<p><img src="/images/tutorials/webgallery5.jpg" alt="webgallery5" /></p>
<ol start="15">
<li><b>Size:</b> %THUMBNAIL_WIDTH%, %THUMBNAIL_HEIGHT%</li>
<li><b>Columns and Rows:</b> %THUMBNAILSROWS%</li>
<li><b>Border Size:</b> %THUMBBORDER%</li>
<li><b>Titles:</b> %ALT%,%FILENAME%, %FILEINFO%, %CREDITS%, %CAPTIONTITLE%, %COPYRIGHT%</li>
<li><b>Font:</b> %CAPTIONFONT%</li>
<li><b>Font Size:</b> %CAPTIONFONTSIZE%</li>
</ol>
<h3>Custom Color Options</h3>
<p><img src="/images/tutorials/webgallery6.jpg" alt="webgallery6" /></p>
<ol start="21">
<li><b>Background:</b> %BGCOLOR%</li>
<li><b>Text:</b> %TEXT%</li>
<li><b>Link:</b> %LINK%</li>
<li><b>Banner:</b> %BANNERCOLOR%</li>
<li><b>Active Link:</b> %ALINK%</li>
<li><b>Visited Link:</b> %VLINK%</li>
</ol>
<h3>The Coding</h3>
<p>With all of the tokens and their corresponding settings known you can start programming the Web Gallery files. I like to start with my own fresh HTML document. Adobe doesn&#8217;t pay much attention to <a href="http://www.w3.org/" title="World Wide Web Consortium" class="out">web standards</a>.</p>
<p><img src="/images/tutorials/webgallery7.jpg" alt="webgallery7" /></p>
<p>Then enter the Web Photo Gallery tokens you want use, some custom styles and link any supporting files in the [&lt;head&gt;] content. I&#8217;m using an external stylesheet, but any Photoshop tags you want to use in CSS have to be placed inline, as you can see.</p>
<p><img src="/images/tutorials/webgallery8.jpg" alt="webgallery8" /></p>
<p>Then enter the body tags and tokens and save the file as [IndexPage.htm] in the &#8220;Lightbox&#8221; folder, overwriting the original file.</p>
<p><img src="/images/tutorials/webgallery9.jpg" alt="webgallery9" /></p>
<p>Locate the file [Thumbnail.htm] in the &#8220;Lightbox&#8221; folder and open it in an HTML editor.</p>
<p>The [Thumbnail.htm] file should have the following code in the [anchor &lt;a&gt;] tag to work with Lightbox JS:</p>
<ul class="code">
<li>&lt;a href=&quot;%IMAGEPAGE%&quot; title=&quot;%CAPTIONTITLE%&quot; rel=&quot;lightbox&quot;&gt;</li>
</ul>
<p>So that it should look something similar to this:<br />
<img src="/images/tutorials/webgallery10.jpg" alt="webgallery10" /></p>
<p>Next, open the [Caption.htm] and [SubPage.htm] files and delete ALL of their contents. Both files should be blank.</p>
<h3><a name="lightbox" id="lightbox"></a>Modifying the Lightbox JS File</h3>
<p>The next step is to open up the [lightbox.js] file that you downloaded to your &#8220;images&#8221; folder. </p>
<p>Navigate to around lines 37-38 of the file and change the [loadingImage] and [closeButton] variables to include [images/].</p>
<ul class="code">
<li>var loadingImage = &#8216;images/loading.gif&#8217;;</li>
<li>var closeButton = &#8216;images/close.gif&#8217;;</li>
</ul>
<p><img src="/images/tutorials/webgallery11.jpg" alt="webgallery11" /></p>
<p>Navigate to around line number 240 and add the following:</p>
<ul class="code">
<li>objLink.href = objLink.href.replace(&quot;/pages/&quot;,&quot;/images/&quot;);</li>
<li>objLink.href = objLink.href.replace(&quot;.html&quot;,&quot;.jpg&quot;);</li>
<li>objLink.href = objLink.href.replace(&quot;.htm&quot;,&quot;.jpg&quot;);</li>
</ul>
<p>Above the line:</p>
<ul class="code">
<li>imgPreload.src = objLink.href;</li>
</ul>
<p>It should look similar to this:<br />
<img src="/images/tutorials/webgallery12.jpg" alt="webgallery12" /></p>
<p>Save your updated [lightbox.js] file.</p>
<p>This code is replacing the links to the .html subpages that Photoshop automatically creates with links to the full-size images. I wish there were a cleaner way to do it, but the Web Photo Gallery has a limited set of functions and options.</p>
<h3>Creating the Gallery</h3>
<p>Go to [File > Automate > Web Gallery] and under Styles choose [Lightbox].</p>
<p><img src="/images/tutorials/webgallery13.jpg" alt="webgallery13" /></p>
<p>Choose your settings and options as usual and let Photoshop create your new Lightbox-ready Web Photo Gallery!</p>
<p><b>Don&#8217;t forget to check out the <a href="/lightbox-20-web-photo-gallery.html" title="Lightbox 2.0 Web Photo Gallery tutorial">Lightbox 2.0 Web Photo Gallery tutorial</a></b>.</p>
<p><small><a name="note1" id="note1"></a>* Photos from <a href="http://sxc.hu" title="stock.xchng" class="out">stock.xchng</a>, design and colors from/inspired by <a href="http://www.huddletogether.com/projects/lightbox2/" title="Lightbox JS 2.0" class="out">Lightbox JS 2.0 website</a>.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://www.photoshoplab.com/lightbox-web-photo-gallery.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
<enclosure url="http://www.photoshoplab.com/images/tutorials/webgallery_thumb.jpg" length="5632" type="image/jpeg" />
		</item>
		<item>
		<title>Droplets For The Lazy</title>
		<link>http://www.photoshoplab.com/droplets-for-the-lazy.html</link>
		<comments>http://www.photoshoplab.com/droplets-for-the-lazy.html#comments</comments>
		<pubDate>Thu, 24 Feb 2005 19:06:13 +0000</pubDate>
		<dc:creator>Tommy Maloney</dc:creator>
				<category><![CDATA[Actions and Automation]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.photoshoplab.com/v4/admin/?p=4</guid>
		<description><![CDATA[Photoshop can make easy work of your batch processing with Droplets. This tutorial explains how EASY it is to get going. Batch processing. Doing the same thing repeatedly in the same way. People don&#8217;t seem to know that Photoshop can do this, and how easy it is. Droplets can solve your batch processing problems easily. [...]]]></description>
			<content:encoded><![CDATA[<p>Photoshop can make easy work of your batch processing with Droplets. This tutorial explains how EASY it is to get going.<span id="more-4"></span></p>
<p>Batch processing. Doing the same thing repeatedly in the same way. People don&#8217;t seem to know that Photoshop can do this, and how easy it is. Droplets can solve your batch processing problems easily.</p>
<p>In order to use a Photoshop Droplet, you have to use an Action. What&#8217;s an action? It&#8217;s basically a script of automated commands that Photoshop follows. For this example, I&#8217;m going to use a very popular action: resizing a group of photos.</p>
<p>The first step is going to be creating the Action. Make sure your Action Palette is open. If not, go [Window > Actions] or [Alt+F9]. Click on the [New Action Set] button in the Actions palette, just so your action easier to find later. Name it whatever you want, I try to name it as detailed as possible to what it is, since I lack a &#8220;memory.&#8221;</p>
<p><!-- MODULE: ads/content.upper.300&#215;250 NOT FOUND --></p>
<p>Click on the [Create New Action] button. Name it whatever you want, I suggest keeping the similar naming scheme stated before. Click [Record]. You&#8217;ll be able to tell that the Action is recording by the little red button on the bottom of the Actions Palette. From now on, everything you do will be recorded by Photoshop. Then secretly emailed to your mom (j/k).</p>
<p><img src="/images/tutorials/droplets1.jpg" alt="droplets1" /></p>
<p>Since I&#8217;m going to be resizing this massive image into a smaller, more friendly format for sharing with all of my e-friends, I&#8217;m going to go under [Image > Image Size]. I&#8217;m changing my image size from 2160&#215;1440 to 640&#215;480. That&#8217;s right 480. Ok, it&#8217;s not 480, it&#8217;s 427, even though I named that Action otherwise. I&#8217;m not changing the resolution because I&#8217;m going to save it out as a JPEG, which is automatically converted to 72dpi. After I click OK, you can see that that [Image Resize] was recorded in the Actions Palette.</p>
<p><img src="/images/tutorials/droplets2.jpg" alt="droplets2" /></p>
<p><img src="/images/tutorials/droplets3.jpg" alt="droplets3" /></p>
<p>Now go to [File > Save As]. You can leave the directory as the current directory. Append something to the end of the file name. I&#8217;m using &#8220;_small.&#8221; The JPEG dialog box will pop-up, since I&#8217;m saving as JPEG. I set the quality to 8. Not too crappy, and not too large of a file size. Click OK and close the image.</p>
<p><img src="/images/tutorials/droplets4.jpg" alt="droplets4" /></p>
<p><img src="/images/tutorials/droplets5.jpg" alt="droplets5" /></p>
<p>Now you can stop your Action recording. Click on the square Stop Recording button next to the Record Button on the Actions Palette.</p>
<p><img src="/images/tutorials/droplets6.jpg" alt="droplets6" /></p>
<p>Now to create the Droplet. This part gets a little complicated, because there&#8217;s a lot of different settings. The best advice I can give is to play around. I&#8217;ll show you my method, but ultimately, you&#8217;ll end up developing your own. Anyways, onward and upward.</p>
<p>Go under [File > Automate > Create Droplet]. The dialog box will open. Click the [Choose] button. The Save dialog box will open. Choose the directory, or wherever you want to put your Droplet file. Name it accordingly also.</p>
<p>Under Set: choose the Action Set you made.<br />
Under Action: choose the Action you made.</p>
<p>Then click on the two checkboxes: [Suppress File Open Options Dialog] and [Suppress Color Profile Warnings].</p>
<p><img src="/images/tutorials/droplets7.jpg" alt="droplets7" /></p>
<p>Where it says Destination: choose Folder. The [Choose] button will appear now. Click on that and in the dialog box that opens, select a folder you want to use. I set it up to use as a temporary folder. So I made a folder called &#8220;Resize.&#8221; I also configured my options as you can see below.</p>
<p><img src="/images/tutorials/droplets8.jpg" alt="droplets8" /></p>
<p><!-- MODULE: ads/content.lower.336&#215;280 NOT FOUND --></p>
<p>You now have a Droplet file. All you have to do is navigate to the file on your computer, not in Photoshop, then just drag-and-drop whatever image files you want to resize onto the Droplet icon. Photoshop will open, process through your images, then save the resized images to the folder you specified.</p>
<p><img src="/images/tutorials/droplets9.jpg" alt="droplets9" /></p>
<p>You can use this for any Action that you make in Photoshop.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.photoshoplab.com/droplets-for-the-lazy.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.652 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-02-10 14:23:28 -->

