<?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>Digicrafts</title>
	<atom:link href="http://support.digicrafts.com.hk/feed/" rel="self" type="application/rss+xml" />
	<link>http://support.digicrafts.com.hk</link>
	<description>Knowledge Base (Beta)</description>
	<lastBuildDate>Mon, 21 Nov 2011 09:24:38 +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>Polaroid Gallery Quick Start</title>
		<link>http://support.digicrafts.com.hk/tutorials/polaroid-gallery-quick-start/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/polaroid-gallery-quick-start/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 09:23:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JSPolaroidGallery]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=336</guid>
		<description><![CDATA[In this quick start tutorial, you will learn how to setup a basic gallery. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below to &#8230; <a href="http://support.digicrafts.com.hk/tutorials/polaroid-gallery-quick-start/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this quick start tutorial, you will learn how to setup a basic gallery. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below to build your gallery.</p>
<p>1. Unzip the product.</p>
<p>2. Copy the &#8220;lib&#8221; folder into your project directory</p>
<p><img class="alignnone" src="http://f.cl.ly/items/0m1V1m0P1W2s1I0w3H2n/Screen%20shot%202011-07-15%20at%203.31.22%20PM.png" alt="" width="444" height="264" /></p>
<p>3. Prepare the image you want to appear in the gallery and place inside a sub folder in your project directory.</p>
<p><img class="alignnone" src="http://f.cl.ly/items/390L2E1j0r3x3S1B1D2o/Screen%20shot%202011-07-15%20at%203.31.43%20PM.png" alt="" width="592" height="275" /></p>
<p>4. Add a tag where you want to add the gallery and add a id. And set the width and height.</p>
<pre class="html" name="code">&lt;div id="gallery_1" style="width:400px;height:300px;"&gt;&lt;/div&gt;</pre>
<p>5. Paste follow code in the html file which you want to include the gallery between the &lt;head&gt; Â tag.</p>
<pre class="javascript" name="code">&lt;!-------------  START COPY -------------&gt;
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="lib/dc.core.min.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="lib/dc.polaroidgallery.1.0.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;link rel="stylesheet" href="lib/dc.polaroidgallery.1.0.css" type="text/css" media="screen" /&gt;
&lt;link rel="stylesheet" href="lib/theme.css" type="text/css" media="screen" /&gt;
&lt;!-------------  END COPY ---------------&gt;</pre>
<p>&nbsp;</p>
<pre class="javascript" name="code">&lt;script type="text/javascript"&gt;

$(document).ready(function() {	

	var album_array=[
		{	source:'albums/large/o1.jpg',
		 	thumbnail:'albums/thumb/o1.jpg',
			title:'Title 1','description':'description.',category:'Album 1'},
{	source:'albums/large/o2.jpg',
		 	thumbnail:'albums/thumb/o2.jpg',
			title:'Title 2','description':'description.',category:'Album 1'},
{	source:'albums/large/o3.jpg',
		 	thumbnail:'albums/thumb/o3.jpg',
			title:'Title 3','description':'description.',category:'Album 2'}
	];

	// Create a gallery with default settings
	$('#gallery_1').DCPolaroidGallery({
		source:album_array
	});
});
&lt;/script&gt;</pre>
<p>6. Now, you can test the gallery by open the html in your browser.</p>
<p>* The download product included a basic gallery inside the examples folder. You can edit the index.html.</p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/polaroid-gallery-quick-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom payment gateway for AJAX PayPal Cart</title>
		<link>http://support.digicrafts.com.hk/tutorials/custom-payment-gateway-for-ajax-paypal-cart/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/custom-payment-gateway-for-ajax-paypal-cart/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 03:14:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AJAXPayPalCart]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=331</guid>
		<description><![CDATA[You can add your own payment gateway by the setting below. // Create a basic cart var cart = $('#cart').DCAJAXPaypalCart({ width:600, height:400, paymentOptions:{ server:"http://YOU_PAYMENT_GATEWAY_URL.php" } }); It will post a set of item and shipping by &#8220;POST&#8221; method to the &#8230; <a href="http://support.digicrafts.com.hk/tutorials/custom-payment-gateway-for-ajax-paypal-cart/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You can add your own payment gateway by the setting below.</p>
<pre class="javascript" name="code">
        // Create a basic cart
        var cart = $('#cart').DCAJAXPaypalCart({
            width:600,
            height:400,
            paymentOptions:{
                server:"http://YOU_PAYMENT_GATEWAY_URL.php"
            }
        });
</pre>
<p>It will post a set of item and shipping by &#8220;POST&#8221; method to the gateway.</p>
<p>The var name is same as the item and shipping variables in paypal.</p>
<p>https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&#038;content_ID=developer/e_howto_html_Appx_websitestandard_htmlvariables</p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/custom-payment-gateway-for-ajax-paypal-cart/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Photo Gallery jQuery plugin &#8211; Quick Start</title>
		<link>http://support.digicrafts.com.hk/tutorials/mobile-photo-gallery-jquery-plugin-quick-start/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/mobile-photo-gallery-jquery-plugin-quick-start/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 07:55:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[JSMobilePhotoAlbum]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=319</guid>
		<description><![CDATA[In this quick start tutorial, you will learn how to setup a basic gallery. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below to &#8230; <a href="http://support.digicrafts.com.hk/tutorials/mobile-photo-gallery-jquery-plugin-quick-start/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this quick start tutorial, you will learn how to setup a basic gallery. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below to build your gallery.</p>
<p>1. Unzip the product.</p>
<p>2. Copy the &#8220;lib&#8221; folder into your project directory</p>
<p><img class="alignnone" src="http://f.cl.ly/items/0m1V1m0P1W2s1I0w3H2n/Screen%20shot%202011-07-15%20at%203.31.22%20PM.png" alt="" width="444" height="264" /></p>
<p>3. Prepare the image you want to appear in the gallery and place inside a sub folder in your project directory.</p>
<p><img class="alignnone" src="http://f.cl.ly/items/390L2E1j0r3x3S1B1D2o/Screen%20shot%202011-07-15%20at%203.31.43%20PM.png" alt="" width="592" height="275" /></p>
<p>4. Add a tag where you want to add the gallery and add a id. And set the width and height.</p>
<pre class="html" name="code">&lt;div id="gallery_1" style="width:400px;height:300px;"&gt;&lt;/div&gt;</pre>
<p>5. Paste follow code in the html file which you want to include the gallery between the &lt;head&gt; Â tag.</p>
<pre class="javascript" name="code">&lt;!-------------  START COPY -------------&gt;

&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script src="lib/dc.core.1.5.0.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;script src="lib/dc.mobilephotoalbum.min.js" type="text/javascript"&gt;&lt;/script&gt;

&lt;link rel="stylesheet" href="css/dc.core.min.css" type="text/css" media="screen" /&gt;

&lt;link rel="stylesheet" href="css/dc.mobilephotoalbum.custom.css" type="text/css" media="screen" /&gt;

&lt;!-------------  END COPY ---------------&gt;</pre>
<p>&nbsp;</p>
<pre class="javascript" name="code">&lt;script type="text/javascript"&gt;

$(document).ready(function() {	

	var album_array=[
		{	source:'albums/large/o1.jpg',
		 	thumbnail:'albums/thumb/o1.jpg',
			title:'Title 1','description':'description.',category:'Album 1'},
{	source:'albums/large/o2.jpg',
		 	thumbnail:'albums/thumb/o2.jpg',
			title:'Title 2','description':'description.',category:'Album 1'},
{	source:'albums/large/o3.jpg',
		 	thumbnail:'albums/thumb/o3.jpg',
			title:'Title 3','description':'description.',category:'Album 2'}
	];

	// Create a gallery with default settings
	$('#gallery_1').DCMobilePhotoAlbum({
		source:album_array
	});
});
&lt;/script&gt;</pre>
<p>6. Now, you can test the gallery by open the html in your browser.</p>
<p>* The download product included a basic gallery inside the examples folder. You can edit the index-basic.html.</p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/mobile-photo-gallery-jquery-plugin-quick-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>changing the theme color for AJAX PayPal Cart jQuery Plugin</title>
		<link>http://support.digicrafts.com.hk/tutorials/changing-the-theme-color-for-ajax-paypal-cart-jquery-plugin/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/changing-the-theme-color-for-ajax-paypal-cart-jquery-plugin/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 08:57:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AJAXPayPalCart]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=315</guid>
		<description><![CDATA[1. Change theme color by parameter. Add the &#8216;themeColor&#8217; and &#8216;themeDarkColor&#8217; when initialize the cart. $(function(){ // Create a basic cart var cart = $('#cart').DCAJAXPaypalCart({ width:600, height:400, themeColor:'#FF0000', themeDarkColor:'#000000', paypalOptions:{ business:'YOU_PAYPAL_EMAIL@email.com' } }); }); 2. You can also changing the &#8230; <a href="http://support.digicrafts.com.hk/tutorials/changing-the-theme-color-for-ajax-paypal-cart-jquery-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>1. Change theme color by parameter. Add the &#8216;themeColor&#8217; and &#8216;themeDarkColor&#8217; when initialize the cart.</p>
<pre class="javascript" name="code">
    $(function(){
        // Create a basic cart
        var cart = $('#cart').DCAJAXPaypalCart({
            width:600,
            height:400,
            themeColor:'#FF0000',
            themeDarkColor:'#000000',
            paypalOptions:{
                business:'YOU_PAYPAL_EMAIL@email.com'
            }
        });
    });
</pre>
<p>2. You can also changing the color by editing the dc.cart.css included in the lib folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/changing-the-theme-color-for-ajax-paypal-cart-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quick Start AJAX PayPal Cart jQuery Plugin</title>
		<link>http://support.digicrafts.com.hk/tutorials/quick-start-ajax-paypal-cart-jquery-plugin/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/quick-start-ajax-paypal-cart-jquery-plugin/#comments</comments>
		<pubDate>Tue, 12 Apr 2011 08:21:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AJAXPayPalCart]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=304</guid>
		<description><![CDATA[1. Unzip the product. 2. Copy the &#8220;lib&#8221; folder into your project directory. 3. Include the library by adding the following headers between &#60;head&#62; tag. &#60;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"&#62;&#60;/script&#62;  &#60;!-- CSS for this product--&#62;     &#60;link rel="stylesheet" type="text/css" href="lib/dc.core.1.0.0.min.css" /&#62;   &#8230; <a href="http://support.digicrafts.com.hk/tutorials/quick-start-ajax-paypal-cart-jquery-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>1. Unzip the product.</p>
<p>2. Copy the &#8220;lib&#8221; folder into your project directory.</p>
<p>3. Include the library by adding the following headers between &lt;head&gt; tag.</p>
<pre class="javascript:nogutter" name="code">&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt; 

&lt;!-- CSS for this product--&gt;    
&lt;link rel="stylesheet" type="text/css" href="lib/dc.core.1.0.0.min.css" /&gt;        
&lt;link rel="stylesheet" type="text/css" href="lib/dc.cart.css" /&gt;        

&lt;!-- Javascript for this product--&gt;    
&lt;script src="lib/dc.core.1.0.0.min.js" type="text/javascript"&gt;&lt;/script&gt;      
&lt;script src="lib/dc.cart.1.0.0.min.js" type="text/javascript"&gt;&lt;/script&gt;          
&lt;script src="lib/dc.cart.lang.js" type="text/javascript"&gt;&lt;/script&gt;</pre>
<p>4. Insert a &lt;div id=&#8221;cart&#8221;&gt;&lt;/div&gt; tag in your html where you want to put the cart widget.</p>
<p>5. Insert below script in between &lt;head&gt; tag.</p>
<pre class="javascript:nogutter" name="code">

$(function(){

 // Create a basic cart

var cart = $('#cart').DCAJAXPaypalCart({
            width:600,
            height:400,
            paypalOptions:{
                business:'YOU_PAYPAL_EMAIL@email.com'
            }
        });

 });
</pre>
<p>6. Now, you can test the cart by open the html in your browser.<br />
7. To add a buy button. Insert a link in your html.</p>
<p><strong>&lt;a id=&#8221;item_1&#8243;&gt;Buy this product&lt;/a&gt;</strong></p>
<p>8. Insert the follow script below the create cart script.</p>
<pre class="javascript:nogutter" name="code">
   $(function(){
		……

        // Create a buy button from a link with id "buy_button_1"
        cart.addBuyButton("#buy_button_1",{
            id:'item_1',                        // Specify the unique id for this item
            name:'Item 1',                  	// Item name appear on the cart
            thumbnail:'product_thumbnail.jpg',  // Thumbnail path of the item (Optional)
            price:'10'                          // Cost of the item
            shipping:5         				// Shipping cost for the item (Optional)
        });
	});
</pre>
<p>9. You can test it in a browser. Click the link will add a product to cart.</p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/quick-start-ajax-paypal-cart-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Start &#8211; Photo Rotator JQuery Plugin</title>
		<link>http://support.digicrafts.com.hk/tutorials/quick-start-photo-rotator-jquery-plugin/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/quick-start-photo-rotator-jquery-plugin/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 04:57:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[JSPhotoRotator]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=300</guid>
		<description><![CDATA[In this quick start tutorial, you will learn how to setup a basic Photo Rotator. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below &#8230; <a href="http://support.digicrafts.com.hk/tutorials/quick-start-photo-rotator-jquery-plugin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<p>In this quick start tutorial, you will learn how to setup a basic Photo Rotator. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below to build your gallery.</p>
<p>1. Unzip the product.</p>
<p>2. Copy the &#8220;lib&#8221; folder into your project directory</p>
<p><img title="Screen shot 2010-12-20 at 10.40.00 AM" src="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-10.40.00-AM.jpg" alt="" width="438" height="219" /></p>
<p><img alt="" /></p>
<p><br class="spacer_" /></p>
<p>3. Prepare the image you want to appear in the gallery and place inside a sub folder in your project directory.</p>
<p><img alt="" /></p>
<p>4. Add aÂ tag where you want to add the gallery and add a id. And set the width and height.</p>
<p>&lt;div id=&#8221;gallery_1&#8243; style=&#8221;width:400px;height:300px;&#8221;&gt;&lt;/div&gt;</p>
<p><a href="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-11.07.32-AM.jpg"><img title="Screen shot 2010-12-20 at 11.07.32 AM" src="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-11.07.32-AM-300x44.jpg" alt="" width="300" height="44" /></a></p>
<p>5. Paste follow code in the html file which you want to include the gallery between the &lt;head&gt; Â tag.</p>
<p>&lt;script src=&#8221;https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;script src=&#8221;lib/dc.photorotator.ycomp.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;lib/dc.photorotator.ycomp.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;<br />
&lt;link rel=&#8221;stylesheet&#8221; href=&#8221;lib/photorotator.custom.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;</p>
<p>$(document).ready(function() {</p>
<p>/*******************************************</p>
<p>* Code to init the gallery</p>
<p>*/</p>
<p>// Create a gallery with default settings</p>
<p>$(&#8216;#gallery_1&#8242;).dcPhotoRotator({</p>
<p>&#8216;source&#8217;:[</p>
<p>{'source':'images/1.jpg'},</p>
<p>{'source':'images/2.jpg'},</p>
<p>{'source':'images/3.jpg'},</p>
<p>{'source':'images/4.jpg'},</p>
<p>{'source':'images/5.jpg'}</p>
<p>]</p>
<p>});</p>
<p>};</p>
<p>});</p>
<p>&lt;/script&gt;</p>
<p><br class="spacer_" /></p>
<p>6. Now, you can test the gallery by open the html in your browser.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/quick-start-photo-rotator-jquery-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Javascript Gallery XML format</title>
		<link>http://support.digicrafts.com.hk/tutorials/javascript-gallery-xml-format/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/javascript-gallery-xml-format/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 02:49:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[xml JSThumbnailGallery]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=294</guid>
		<description><![CDATA[Here is a example of the xml which use to driven the javascript gallery. &#60;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&#62; &#60;items&#62; &#60;item source=&#8221;large/o1.jpg&#8221; thumbnail=&#8221;thumb/o1.jpg&#8221; category=&#8221;Ocean&#8221; /&#62; &#60;item source=&#8221;large/o2.jpg&#8221; thumbnail=&#8221;thumb/o2.jpg&#8221; category=&#8221;Ocean&#8221; /&#62; &#60;item source=&#8221;large/f5.jpg&#8221; thumbnail=&#8221;thumb/f5.jpg&#8221; category=&#8221;Fruit&#8221; /&#62; &#60;item source=&#8221;large/f6.jpg&#8221; thumbnail=&#8221;thumb/f6.jpg&#8221; category=&#8221;Fruit&#8221; /&#62; &#60;item source=&#8221;large/f7.jpg&#8221; &#8230; <a href="http://support.digicrafts.com.hk/tutorials/javascript-gallery-xml-format/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here is a example of the xml which use to driven the javascript gallery.</p>
<p><span style="color: #008000;"> &lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243;?&gt;</span></p>
<p><span style="color: #008000;">&lt;items&gt;</span></p>
<p><span style="color: #008000;">&lt;item		source=&#8221;large/o1.jpg&#8221;		thumbnail=&#8221;thumb/o1.jpg&#8221;		category=&#8221;Ocean&#8221;			/&gt;</span></p>
<p><span style="color: #008000;"> &lt;item		source=&#8221;large/o2.jpg&#8221;		thumbnail=&#8221;thumb/o2.jpg&#8221;		category=&#8221;Ocean&#8221;			/&gt; </span></p>
<p><span style="color: #008000;">&lt;item		source=&#8221;large/f5.jpg&#8221;		thumbnail=&#8221;thumb/f5.jpg&#8221;		category=&#8221;Fruit&#8221;			/&gt; </span></p>
<p><span style="color: #008000;"> &lt;item		source=&#8221;large/f6.jpg&#8221;		thumbnail=&#8221;thumb/f6.jpg&#8221;		category=&#8221;Fruit&#8221;			/&gt; </span></p>
<p><span style="color: #008000;">&lt;item		source=&#8221;large/f7.jpg&#8221;		thumbnail=&#8221;thumb/f7.jpg&#8221;		category=&#8221;Fruit&#8221;			/&gt; </span></p>
<p><span style="color: #008000;">&lt;/items&gt;</span></p>
<p><br class="spacer_" /></p>
<p>The xml is a simple text file which hold a structured text node. A basic xml will have a &lt;items&gt;&lt;/items&gt; tag which hold several &lt;item&gt;&lt;/item&gt; tag. Each &lt;item&gt; tag represent an item in the gallery.</p>
<p>For each item tag, the &#8220;source&#8221; attribute is necessary which define the path of the image. You can also have &#8220;thumbnail&#8221; attribute which define the path of small thumbnail image. And &#8220;category&#8221; define the category of the image.</p>
<p><br class="spacer_" /></p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/javascript-gallery-xml-format/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thumbnail Gallery JQuery Plugin Quick Start</title>
		<link>http://support.digicrafts.com.hk/tutorials/thumbnail-gallery-jquery-plugin-quick-start/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/thumbnail-gallery-jquery-plugin-quick-start/#comments</comments>
		<pubDate>Mon, 20 Dec 2010 02:38:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Javascript Plugin]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JSThumbnailGallery]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=276</guid>
		<description><![CDATA[In this quick start tutorial, you will learn how to setup a basic Thumbnail Gallery. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below &#8230; <a href="http://support.digicrafts.com.hk/tutorials/thumbnail-gallery-jquery-plugin-quick-start/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In this quick start tutorial, you will learn how to setup a basic Thumbnail Gallery. You need to have basic html knowledge. Prepare your favor text edit tool such as TextEdit in Mac or Â Dreamweaver. Then, follow the step below to build your gallery.</p>
<p>1. Unzip the product.</p>
<p>2. Copy the &#8220;lib&#8221; folder into your project directory</p>
<p><img class="alignnone size-full wp-image-283" title="Screen shot 2010-12-20 at 10.40.00 AM" src="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-10.40.00-AM.jpg" alt="" width="438" height="219" /></p>
<p><img alt="" /></p>
<p><br class="spacer_" /></p>
<p>3. Prepare the image you want to appear in the gallery and place inside a sub folder in your project directory.</p>
<p><img alt="" /></p>
<p>4. Add aÂ tag where you want to add the gallery and add a id. And set the width and height.</p>
<p><span style="color: #ff0000;">&lt;div id=&#8221;gallery_1&#8243; style=&#8221;width:400px;height:300px;&#8221;&gt;&lt;/div&gt;</span></p>
<p><a href="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-11.07.32-AM.jpg"><img class="alignnone size-medium wp-image-288" title="Screen shot 2010-12-20 at 11.07.32 AM" src="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-11.07.32-AM-300x44.jpg" alt="" width="300" height="44" /></a></p>
<p>5. Paste follow code in the html file which you want to include the gallery between the &lt;head&gt; Â tag.</p>
<p><span style="color: #339966;">&lt;script src=&#8221;https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
 &lt;script src=&#8221;lib/dc.thumbgallery.ycomp.js&#8221; type=&#8221;text/javascript&#8221;&gt;&lt;/script&gt;<br />
 &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;lib/dc.thumbgallery.ycomp.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;<br />
 &lt;link rel=&#8221;stylesheet&#8221; href=&#8221;lib/thumbgallery.custom.css&#8221; type=&#8221;text/css&#8221; media=&#8221;screen&#8221; /&gt;</span></p>
<p><span style="color: #339966;">&lt;script type=&#8221;text/javascript&#8221;&gt;</span></p>
<p><span style="color: #339966;">$(document).ready(function() {</span></p>
<p><span style="color: #339966;">/*******************************************</span></p>
<p><span style="color: #339966;">* Code to init the gallery</span></p>
<p><span style="color: #339966;">*/</span></p>
<p><span style="color: #339966;">// Create a gallery with default settings</span></p>
<p><span style="color: #339966;">$(&#8216;#gallery_1&#8242;).dcThumbnailGallery({</span></p>
<p><span style="color: #339966;">&#8216;source&#8217;:[</span></p>
<p><span style="color: #339966;">{'source':'images/1.jpg'},</span></p>
<p><span style="color: #339966;">{'source':'images/2.jpg'},</span></p>
<p><span style="color: #339966;">{'source':'images/3.jpg'},</span></p>
<p><span style="color: #339966;">{'source':'images/4.jpg'},</span></p>
<p><span style="color: #339966;">{'source':'images/5.jpg'}</span></p>
<p><span style="color: #339966;">]</span></p>
<p><span style="color: #339966;">});</span></p>
<p><span style="color: #339966;">};</span></p>
<p><span style="color: #339966;">});</span></p>
<p><span style="color: #339966;">&lt;/script&gt;</span></p>
<p><a href="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-11.09.22-AM.jpg"><img class="alignnone size-large wp-image-289" title="Screen shot 2010-12-20 at 11.09.22 AM" src="http://support.digicrafts.com.hk/wp-content/uploads/2010/12/Screen-shot-2010-12-20-at-11.09.22-AM-1024x538.jpg" alt="" width="600" height="314" /></a></p>
<p>6. Now, you can test the gallery by open the html in your browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/thumbnail-gallery-jquery-plugin-quick-start/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to create categories for photos</title>
		<link>http://support.digicrafts.com.hk/tutorials/how-to-create-categories-for-photos/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/how-to-create-categories-for-photos/#comments</comments>
		<pubDate>Fri, 29 Oct 2010 02:29:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lightroom Plug-ins]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[LightroomHTML5PhotoGallery]]></category>
		<category><![CDATA[LightroomPhotoPortfolio]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=267</guid>
		<description><![CDATA[1. Create a collection or create a folder for the photos you want appear in the gallery. 2. In the Library view, select the photos you want to group in a catergory. 3. In the Metadata panel, fill in the &#8230; <a href="http://support.digicrafts.com.hk/tutorials/how-to-create-categories-for-photos/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div>
<p><span style="font-size: small;">1. Create a collection or create a folder for the photos you want appear in the gallery.</span></p>
<p><span style="font-size: small;"> </span></p>
<p><span style="font-size: small;">2. In the Library view, select the photos you want to group in a </span><span style="font-size: small;">catergory</span><span style="font-size: small;">.</span></p>
<p><span style="font-size: small;"> </span></p>
<p><img src="https://docs.google.com/File?id=dhdq7dz7_333gg8j92cv_b" alt="" width="553" height="359" /></p>
<p><span style="font-size: small;"> </span></p>
<p><span style="font-size: small;">3. In the Metadata </span><span style="font-size: small;">panel,</span><span style="font-size: small;"> fill in the group name for these photos. I put &#8220;John&#8221; in &#8220;Creator&#8221;. Repeat for other photos and name them to others name.</span></p>
<p><span style="font-size: small;"> </span></p>
<p><img src="https://docs.google.com/File?id=dhdq7dz7_334hqs8sngz_b" alt="" width="553" height="568" /></p>
<p><span style="font-size: small;"> </span></p>
<p><span style="font-size: small;">4. Switch to &#8220;Web&#8221; view. </span><span style="font-size: small;">From the &#8220;Image Info&#8221; section.</span><span style="font-size: small;"> Click the &#8220;Custom Settings&#8221; in </span><span style="font-size: small;">Catergory</span><span style="font-size: small;"> and select &#8220;edit&#8221;.</span></p>
<p><span style="font-size: small;"> </span></p>
<p><img src="https://docs.google.com/File?id=dhdq7dz7_335c8jw6t3p_b" alt="" width="459" height="455" /></p>
<p><span style="font-size: small;"> </span></p>
<p><span style="font-size: small;">5. Then select &#8220;Create&#8221; in &#8220;PTPC&#8221; section and insert.</span></p>
<p><span style="font-size: small;"> </span></p>
<p><img src="https://docs.google.com/File?id=dhdq7dz7_336dnm8kxdh_b" alt="" width="553" height="683" /></p>
<p><span style="font-size: small;"> </span></p>
<p><span style="font-size: small;">6. You now need to refresh the data. So, you need to switch to Library view and switch back to Web view.</span></p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/how-to-create-categories-for-photos/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Start For Using Banner Rotator Template</title>
		<link>http://support.digicrafts.com.hk/tutorials/quick-start-for-using-banner-rotator-template/</link>
		<comments>http://support.digicrafts.com.hk/tutorials/quick-start-for-using-banner-rotator-template/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 04:19:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Banner Rotator Templates]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[banner rotator]]></category>
		<category><![CDATA[bartransformbannerrotator]]></category>
		<category><![CDATA[cubetransformbannerrotator]]></category>
		<category><![CDATA[doortransformbannerrotator]]></category>
		<category><![CDATA[fadebannerrotator]]></category>
		<category><![CDATA[fliptransformbannerrotator]]></category>
		<category><![CDATA[flytransformbannerrotator]]></category>
		<category><![CDATA[swaptransformbannerrotator]]></category>
		<category><![CDATA[tiletransformbannerrotator]]></category>
		<category><![CDATA[twisttransformbannerrotator]]></category>

		<guid isPermaLink="false">http://support.digicrafts.com.hk/?p=213</guid>
		<description><![CDATA[1. Copy the necessary files. The template is located in the &#8220;template&#8221; directory of downloaded zip file. You can extract the file in a temporary directory and double click the template-xxxx.html to see the output of the template. Below is &#8230; <a href="http://support.digicrafts.com.hk/tutorials/quick-start-for-using-banner-rotator-template/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<h3>1. Copy the necessary files.</h3>
<div>The  template is located in the &#8220;template&#8221; directory of downloaded zip file.  You can extract the file in a temporary directory and double click the  template-xxxx.html to see the output of the template.</div>
<div id="okbs"><img src="https://docs.google.com/File?id=dhdq7dz7_321kxkkrggk_b" alt="" /></div>
<div>Below is the  description of each file in the template.</div>
<p><strong><br />
 Source files</strong><br />
 template-xxxx.flaÂ Â   Â Â Â  Â - the source file for the Flash movie</p>
<div>template.asÂ Â  Â Â Â  Â Â Â   Â Â Â  Â - the action script file source</div>
<p><strong><br />
 Template files (Files  needed to upload)</strong></p>
<div>template-xxxx.swfÂ Â  Â Â Â  &#8211; complied swf  movie</div>
<div>template-xxxx.htmlÂ Â  Â  Â - html which hold the flash  movie<br />
 gallery/images.xmlÂ Â  Â Â Â  Â - sample xml file</div>
<div>gallery/images/*.jpgÂ Â   Â Â Â  Â - sample image</div>
<div>gallery/thumbnail/*.jpgÂ Â  Â - sample  thumbnail image</div>
<div>AC_RunActiveContent.jsÂ Â  Â - javascript file  use by the html</div>
<h3>2. Editing the xml  file</h3>
<div>The template is driven by xml file. You  need to edit the xml file in order to define the image and setting of  the banner rotator.</div>
<div>You can edit the default xml in  gallery/images.xml by TextEdit on Mac or NotePad on Windows. The default  format is show below.</div>
<div style="padding-left: 30px;"><span style="color: #008000;"><span style="color: #4e4e4e;"><br />
 </span></span></div>
<p><br class="spacer_" /></p>
<div><span style="color: #008000;">&lt;items relativepath=&#8221;true&#8221;&gt;</span></div>
<div><span style="color: #008000;"><br />
 </span></div>
<div><span style="color: #008000;">&lt;item path=&#8221;images/p1&#8243;  thumbnail=&#8221;thumbnails/p1&#8243; width=&#8221;422&#8243; height=&#8221;284&#8243;&gt;</span></div>
<div><span style="color: #008000;">&lt;title&gt;Title Here&lt;/title&gt;</span></div>
<div><span style="color: #008000;">&lt;OTHER_SETTING&gt;&lt;/OTHER_SETTING&gt;</span></div>
<div><span style="color: #008000;">&lt;/item&gt;</span></div>
<div><span style="color: #008000;"><br />
 </span></div>
<div><span style="color: #008000;">&lt;item path=&#8221;images/p2.jpg&#8221;  thumbnail=&#8221;thumbnails/p2.jpg&#8221; width=&#8221;422&#8243; height=&#8221;284&#8243;&gt;</span></div>
<div><span style="color: #008000;">&lt;title&gt;Title Here&lt;/title&gt;</span></div>
<div><span style="color: #008000;">&lt;/item&gt;</span></div>
<div><span style="color: #008000;"><br />
 </span></div>
<div><span style="color: #008000;">&lt;/items&gt;</span></div>
<p><br class="spacer_" /></p>
<p><br class="spacer_" /></p>
<div><span style="color: #000000;"> tag have one attribute &#8220;relativepath&#8221; which  define if the images path is related to the xml file. If set to true,  the path of the image will related to the xml file. e.g. if put the xml  inside a folder called &#8220;gallery&#8221; and put the image files in a folder  called &#8220;gallery/images&#8221;, you just need to define the image path in the  xml as &#8220;images/xxxxx.jpg&#8221;.</span></div>
<p><span style="color: #000000;">Each   tag have several attribute. The definition of each  attribute is show below.</span></p>
<div><span style="color: #000000;"><strong>path:</strong> define  the image path file (large image) of corresponding slide</span></div>
<div><span style="color: #000000;"><strong>thumbnail:</strong> define the thumbnail image path of  corresponding slide</span></div>
<div><span style="color: #000000;"><strong>width/height:</strong> define  the dimension of the image file</span></div>
<div><span style="color: #000000;"><br />
 </span></div>
<h3>3. Parameter setting for each slide</h3>
<div>You  can add additional setting for each slide by adding child tag to   tag.</div>
<div>For example, we want to set the  transition duration for this slide. You can edit the xml like below.</div>
<p><br class="spacer_" /></p>
<div>
<div><span style="color: #38761d;">&lt;item path=&#8221;images/p1&#8243;  thumbnail=&#8221;thumbnails/p1&#8243; width=&#8221;422&#8243; height=&#8221;284&#8243;&gt;</span></div>
<div><span style="color: #38761d;"> &lt;title&gt;Title Here&lt;/title&gt;</span></div>
<div><span style="color: #ff0000;">&lt;transitionDuration&gt;5&lt;/transitionDuration  &gt;</span></div>
<div><span style="color: #38761d;">&lt;/item&gt;<br />
 </span></div>
</div>
<p><br class="spacer_" /></p>
<div>For settings  available for each banner rotator, you can refer to <a href="http://livedocs.digicrafts.com.hk/api/CubeTransformBannerRotator/" target="_blank">this guide</a>.</div>
<h3>4. Setting for the layout</h3>
<p>Beside the setting of each slide, you can setup the layout of  the template by html.</p>
<div>Edit the  template-xxxxx.html by any text editor. Search for the code &#8220;FlashVars&#8221;.  You will see the settings like below.</div>
<p><br class="spacer_" /></p>
<div>
<div id="ubsd"><img src="https://docs.google.com/File?id=dhdq7dz7_320cgn4tvc4_b" alt="" /></div>
<p><br class="spacer_" /></p>
<p>You can edit the value to change the layout of  the template.</p>
</div>
<div>titleBackgroundColor : Color  of the title background</div>
<div>titleBackgroundAlpha  : Alpha of the title background</div>
<div>thumbnailAlign  : Alignment of the thumbnail.  0: Top 1: Right 2: Bottom 3: Left 7: Hide</div>
<div>thumbnailWidth : Width of the thumbnail</div>
<div>thumbnailHeight : Height of the thumbnail</div>
<h3>5. (Optional) Setting in Dreamweaver</h3>
<div>If you are using dreamweaver instead of using the stock html.  You can copy the swf in your project directory and insert the swf by  menu &#8220;Insert&gt;media&gt;Flash(swf)&#8221;</div>
<div id="z1eg"><img src="https://docs.google.com/File?id=dhdq7dz7_319hbs64kxj_b" alt="" /></div>
<p><br class="spacer_" /></p>
<div>Then you can adding the parameter by:</div>
<div>a. Select the flash  object in the page</div>
<div>b. Open properties panel. Click the parameter button.</div>
<p><br class="spacer_" /></p>
<div id="gfuc"><img src="https://docs.google.com/File?id=dhdq7dz7_317cfkqwncc_b" alt="" /></div>
<p><br class="spacer_" /></p>
<div>c. Add a parameter called  &#8220;FlashVars&#8221; and add the setting to the value</div>
<p><br class="spacer_" /></p>
<div id="qsbk"><img src="https://docs.google.com/File?id=dhdq7dz7_316c2xjm9wc_b" alt="" /></div>
]]></content:encoded>
			<wfw:commentRss>http://support.digicrafts.com.hk/tutorials/quick-start-for-using-banner-rotator-template/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>

