<?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>fusi0n &#187; WP-prettyPhoto</title>
	<atom:link href="http://fusi0n.org/category/wp-prettyphoto/feed" rel="self" type="application/rss+xml" />
	<link>http://fusi0n.org</link>
	<description>pL&#039;s blog on tech/mobile</description>
	<lastBuildDate>Tue, 31 Jan 2012 10:29:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress 2.9x Compatibility Issue</title>
		<link>http://fusi0n.org/wp-prettyphoto/wordpress-2-9x-compatibility-issue</link>
		<comments>http://fusi0n.org/wp-prettyphoto/wordpress-2-9x-compatibility-issue#comments</comments>
		<pubDate>Sat, 23 Jan 2010 16:14:25 +0000</pubDate>
		<dc:creator>pluc</dc:creator>
				<category><![CDATA[WP-prettyPhoto]]></category>

		<guid isPermaLink="false">http://blog.fusi0n.org/?p=1121</guid>
		<description><![CDATA[There is a known bug in the latest version of WP-prettyPhoto that basically prevents it to work as intended. While you wait for an official fix, which will come soon, here is what you can do to make it work: First, identify the problem. Look at the source code of your page, within the prettyPhoto [...]]]></description>
			<content:encoded><![CDATA[<p>There is a known bug in the latest version of WP-prettyPhoto that basically prevents it to work as intended. While you wait for an official fix, which will come soon, here is what you can do to make it work:</p>
<ol>
<li>First, identify the problem. Look at the source code of your page, within the prettyPhoto javascript stub, there is a value called "autoplay". If that is not set to true or false, you have the bug.</li>
<li>In your admin options, deactivate the plugin then reactivate it.</li>
<li>Go in the WP-prettyPhoto options and change the value of "autoplay", you can change it back later.</li>
<li>Look at your source again, "autoplay" should be set and your pictures/videos should pop up nicely.</li>
</ol>
<p>Thanks to <a href="http://www.globalsupportmission.com/" target="_blank">Brad Keeling</a> who reported the bug to me (as opposed to bitching on twelve different forums) and confirmed the fix.</p>
]]></content:encoded>
			<wfw:commentRss>http://fusi0n.org/wp-prettyphoto/wordpress-2-9x-compatibility-issue/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WP-prettyPhoto Technical Information and Usage Instructions</title>
		<link>http://fusi0n.org/wp-prettyphoto/technical-information-and-usage-instructions</link>
		<comments>http://fusi0n.org/wp-prettyphoto/technical-information-and-usage-instructions#comments</comments>
		<pubDate>Sun, 24 May 2009 09:34:16 +0000</pubDate>
		<dc:creator>pluc</dc:creator>
				<category><![CDATA[WP-prettyPhoto]]></category>
		<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.fusi0n.org/?p=966</guid>
		<description><![CDATA[Lots has changed since the last article I made about WP-prettyPhoto usage, and so it is time to revamp the instructions, explain new features and hopefully be a bit more thorough. First off, let me first mention the following thing:Â  prettyPhoto is written by StÃ©phane Caron. Here are some related links to avoid repeating them [...]]]></description>
			<content:encoded><![CDATA[<p>Lots has changed since the last article I made about WP-prettyPhoto usage, and so it is time to revamp the instructions, explain new features and hopefully be a bit more thorough. First off, let me first mention the following thing:Â   prettyPhoto is written by StÃ©phane Caron. Here are some related links to avoid repeating them throughout this article: <a title="StÃ©phane Caron" href="http://www.no-margin-for-errors.com/" target="_blank">StÃ©phane's blog</a>, <a title="jQuery lightbox for images, YouTube, iframes - by StÃ©phane Caron" href="http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/" target="_blank">prettyPhoto's project page</a>, <a title="prettyPhoto on GitHub" href="http://github.com/scaron/prettyphoto/tree/master" target="_blank">prettyPhoto on GitHub</a>, <a title="Stephane Caron on Twitter" href="http://twitter.com/scaron" target="_blank">StÃ©phane on Twitter</a>, <a title="WP-prettyPhoto" href="http://wordpress.org/extend/plugins/wp-prettyphoto/" target="_blank">WP-prettyPhoto at WordPress Extend</a>, <a title="WP-prettyPhoto Support Forum" href="http://forums.no-margin-for-errors.com/?CategoryID=8" target="_blank">WP-prettyPhoto Support Forum</a>.</p>
<div class="alignright" style="padding-left: 20px;"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=pL%40fusi0n%2eorg&amp;lc=CA&amp;item_name=Pier%2dLuc%20Petitclerc%20%2d%20Code%20Support&amp;currency_code=CAD&amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest"><img src="https://fusi0n.org/wp-content/uploads/2009/05/btn_donate_LG2.gif" border="0" alt="PayPal - The safer, easier way to pay online!" /></a></div>
<p>Revision History: This article is intended to document the <em>current</em> WP-prettyPhoto (<strong>1.5.1</strong>) &amp; prettyPhoto (<strong>2.5.2</strong>) versions.<br />
<span id="more-966"></span><br />
Now for some organization, here are the topics that will be discussed in this article:</p>
<ul>
<li>1. <a href="#technical-information">Technical Information</a></li>
<li>2. <a href="#installing">Installing WP-prettyPhoto</a></li>
<li>3. <a href="#using">Using WP-prettyPhoto</a>
<ul>
<li>3.1. <a href="#using-on-images">On Images</a></li>
<li>3.2. <a href="#using-on-videos-and-flash">On Videos (MOV) and Flash (SWF)</a></li>
<li>3.3. <a href="#using-on-youtube">On YouTube Videos</a></li>
<li>3.4. <a href="#using-on-external-sites">On External Sites (iFrame)</a></li>
<li>3.5. <a href="#shortcode-api-calls">Shortcode API Calls</a></li>
</ul>
</li>
<li>4. <a href="#examples">Examples</a></li>
</ul>
<h4><a name="technical-information"></a>1. Technical Information</h4>
<p>The idea behind WP-prettyPhoto is to avoid having to use Lightbox to display pictures. Lightbox is based on the Prototype JavaScript library, and most WordPress plugins tend to use jQuery. Using WP-prettyPhoto thus allows you to avoid loading multiple libraries to perform a single task. Stephane Caron developed prettyPhoto because the jQuery Lightbox clones, at the time, were close enough to the real Lightbox.</p>
<p>prettyPhoto uses attribute hooks to bind itself on elements to display. In other words, if prettyPhoto finds a <a title="Links in HTML documents" href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rel" target="_blank">rel attribute</a> inside a link pointing to one of its supported format (bmp, gif, jpg, jpeg, png, swf, mov), and that rel attribute matches the one prettyPhoto looks for, it will know that link is meant to be displayed within a prettyPhoto box. Since prettyPhoto 2.4, it also looks for simple text links with the configured rel attribute and the string "iframes=true" within the target URL. Since prettyPhoto 2.5, an API is available.</p>
<h4><a name="installing"></a>2. Installing WP-prettyPhoto</h4>
<p>The installation of WP-prettyPhoto is pretty straightforward, as with most WordPress plugins. Once you have <a title="Download WP-prettyPhoto at WordPress Extend" href="http://wordpress.org/extend/plugins/wp-prettyphoto/" target="_blank">downloaded the current version of WP-prettyPhoto</a>, you have two options:</p>
<ol>
<li>Use WordPress' builtin plugin installation system located in your WordPress admin panel, labeled as the "Add New" options in the "Plugins" menu to upload the zip file you downloaded</li>
<li>Extract the zip file and upload the resulting "wp-prettyphoto" folder on your server under "wp-content/plugins/".</li>
</ol>
<p>All you need to do after that is navigate to your blog's administration panel, go in the plugins section and enable WP-prettyPhoto.</p>
<p>For more information, see the <a title="Installing Plugins" href="http://codex.wordpress.org/Managing_Plugins#Installing_Plugins" target="_blank">"Installing Plugins" article from the WordPress Codex</a>.</p>
<h4><a name="using"></a>3. Using WP-prettyPhoto</h4>
<p>There are several ways to use WP-prettyPhoto on your blog. All of them can be automatically achieved by enabling the "All Formats" option in the "Automate" section of the WP-prettyPhoto settings, located inside WordPress' Media settings page. All of the "Automate" options will trigger automatic activation of the specific format. That is how to use WP-prettyPhoto automatically. However, some of prettyPhoto's formats require specific instructions. For all formats, you will need to do the following: Insert the media you want prettyPhoto to bind itself on in your post or page, surround it by a link and make the <a title="HREF" href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href" target="_blank">HREF attribute</a> point to the original media Then, simply add WP-prettyPhoto's configurable REL string to the link.</p>
<p>It is important to note that there is also a way to exclude specific elements from being displayed in prettyPhoto. To do so, simply make the link point to a new window using "_blank" as the value of the link's TARGET attribute.</p>
<h5><a name="using-on-images"></a>3.1. On images</h5>
<p>Manually using prettyPhoto on images is simple.Â  If you want to display a title inside the prettyPhoto box, make sure the "Display title" setting is activated. When active, prettyPhoto will use whatever is inside the image's <a title="ALT" href="http://www.w3.org/TR/REC-html40/struct/objects.html#adef-alt" target="_blank">ALT attribute</a>. To display a description, use the link's <a title="TITLE" href="http://www.w3.org/TR/REC-html40/struct/global.html#adef-title" target="_blank">TITLE attribute</a>.</p>
<p>To manually insert a prettyPhoto gallery, the process is similar. All you need to do is make sure all your images have the same REL attribute with a slight modification. The REL attribute should define the gallery's unique name between [square brackets]. Doing so will allow prettyPhoto to display next/previous links as well as display the current picture count and the total pictures found in the gallery.</p>
<h5><a name="using-on-videos-and-flash"></a>3.2. On videos and flash</h5>
<p>The process of linking prettyPhoto to your video files is the same as images. Link to the .swf or .mov file, then specify the width and height. In the case your flash needs specifics parameters, add &amp;flashparams to the URL specify the parameters.</p>
<h5><a name="using-on-youtube"></a>3.3. On YouTube Videos</h5>
<p>To load a YouTube video, simply link to the YouTube video url. You can also add "&amp;width" and "&amp;height" to specify the sizes, if not provided, default dimensions will be applied.</p>
<h5><a name="using-on-external-sites"></a>3.4. On External Sites</h5>
<p>To load sites in an iframe inside prettyPhoto, link to the desired website and add the following params. "?iframe=true", to tell prettyPhoto to open the page in an iframe and "&amp;width=300" "&amp;height=300", to specify the iframe dimensions.</p>
<h5><a name="shortcode-api-calls"></a>3.5. Shortcode API Calls</h5>
<p>Since WP-prettyPhoto 1.5 and prettyPhoto 2.5, API calls are supported through WordPress <a href="http://codex.wordpress.org/Shortcode_API" target="_blank">shortcodes</a>. There are two distinct shortcodes available to users, please note that shortcode usage must first be enabled in WP-prettyPhoto settings.</p>
<ul>
<li><a href="#" onclick="$.prettyPhoto.open('', '', '');return false;"><em>Text</em></a>: Opens a prettyPhoto box using <em>img</em> value for image source, <em>title</em> value for title, <em>desc</em> value for description. If you want to display a button instead of a link, set the button parameter to <em>true</em>.</li>
<li><a href="#" onclick="$.prettyPhoto.open([''], [''], ['']);return false;">Text</a>: Opens a prettyPhoto gallery using <em>files</em> values for images, <em>titles</em> value for image titles and <em>desc</em> values for descriptions. All values should be comma-separated and ordered properly. The second <em>desc</em> item corresponds to the description of the second <em>files</em> item. Here again, you can output a button instead of a link using button="true".</li>
</ul>
<h4><a name="examples"></a>4. Examples</h4>
<ul>
<li><a title="Simple image hook with no title and with description." href="https://fusi0n.org/wp-content/uploads/2009/05/avatar-trans1.png" rel="wp-prettyPhoto[g966]">Simple image hook with no title and with description.</a>
<pre class="brush: xml; title: ; notranslate">&lt;a title=&quot;Simple image hook with no title and with description.&quot; href=&quot;http://blog.fusi0n.org/wp-content/uploads/2009/05/avatar-trans.png&quot;&gt;Simple image hook with no title and with description.&lt;/a&gt;</pre>
</li>
<li><a rel="wp-prettyPhoto" href="http://www.youtube.com/watch?v=oHg5SJYRHA0" rel="wp-prettyPhoto[g966]"">YouTube video</a>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;http://www.youtube.com/watch?v=oHg5SJYRHA0&quot; rel=&quot;wp-prettyPhoto&quot;&gt;YouTube video&lt;/a&gt;</pre>
</li>
<li><a rel="wp-prettyPhoto" href="http://movies.apple.com/movies/weinstein/nine/nine-tlr1_h.480.mov?width=480&amp;height=204">Flash Movie</a>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;http://movies.apple.com/movies/weinstein/nine/nine-tlr1_h.480.mov?width=480&amp;height=204&quot; rel=&quot;wp-prettyPhoto&quot;&gt;Flash Movie&lt;/a&gt;</pre>
</li>
<li><a rel="wp-prettyPhoto" href="http://m.reddit.com/?iframe=true">External Site</a>
<pre class="brush: xml; title: ; notranslate">&lt;a href=&quot;http://m.reddit.com/?iframe=true&quot; rel=&quot;wp-prettyPhoto&quot;&gt;External Site&lt;/a&gt;</pre>
</li>
</ul>
<p>[plugin_downloads]</p>
]]></content:encoded>
			<wfw:commentRss>http://fusi0n.org/wp-prettyphoto/technical-information-and-usage-instructions/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://movies.apple.com/movies/weinstein/nine/nine-tlr1_h.480.mov?width=480&amp;amp" length="78" type="video/quicktime" />
		</item>
		<item>
		<title>WP-prettyPhoto 1.2 released!</title>
		<link>http://fusi0n.org/wp-prettyphoto/wp-prettyphoto-12-released</link>
		<comments>http://fusi0n.org/wp-prettyphoto/wp-prettyphoto-12-released#comments</comments>
		<pubDate>Sat, 09 May 2009 21:03:21 +0000</pubDate>
		<dc:creator>pluc</dc:creator>
				<category><![CDATA[WP-prettyPhoto]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.fusi0n.org/?p=924</guid>
		<description><![CDATA[It's been a while since any activity has happened with prettyPhoto and WP-prettyPhoto. I was waiting for some changes to the prettyPhoto code to release a new version, and StÃ©phane Caron has released version 2.3 of his prettyPhoto jQuery plugin recently, so it was time to roll out a new WP-prettyPhoto version, 1.2, with all [...]]]></description>
			<content:encoded><![CDATA[<div class="alignright" style="padding-left:20px;"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&amp;business=pL%40fusi0n%2eorg&amp;lc=CA&amp;item_name=Pier%2dLuc%20Petitclerc%20%2d%20Code%20Support&amp;currency_code=CAD&amp;bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest"><img src="https://fusi0n.org/wp-content/uploads/2009/05/btn_donate_LG.gif" border="0" alt="PayPal - The safer, easier way to pay online!" /></a></div>
<p>It's been a while since any activity has happened with prettyPhoto and WP-prettyPhoto. I was waiting for some changes to the prettyPhoto code to release a new version, and StÃ©phane Caron has <a title="prettyPhoto 2.3" href="http://www.no-margin-for-errors.com/2009/05/08/prettyphoto-23/" target="_blank">released version 2.3</a> of his prettyPhoto jQuery plugin recently, so it was time to roll out a new WP-prettyPhoto version, 1.2, with all the changes and features that have been suggested since the last release. To skip the blah blah and go straight to downloading, head over to <a title="WP-prettyPhoto on WordPress Extend" href="http://wordpress.org/extend/plugins/wp-prettyphoto/">WordPress Extend</a>.<span id="more-924"></span></p>
<p>What's new in this version? There's quite a lot! First off, let's talk of the changes made by StÃ©phane to prettyPhoto:</p>
<ul>
<li><strong>Video and flash support</strong> has been reinstated! prettyPhoto can now handle prettifying links to MOV (Apple QuickTime) and SWF (Shockwave Flash/Small Web Format). There is a specific format you need to respect when linking to those media types. More information can be obtained on the <a title="jQuery Lightbox Clone - How To Use" href="http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/#howtouse" target="_blank">prettyPhoto project page</a> (near the bottom)</li>
<li>Code has been <strong>optimized</strong> and design tweaked</li>
<li>More information on the 2.3 release of prettyPhoto can be obtained on the <a title="prettyPhoto version history" href="http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/#history" target="_blank">project page</a>.</li>
</ul>
<p>As for WP-prettyPhoto, I have obviously integrated the changes from prettyPhoto inside this release, that means:</p>
<ul>
<li><strong>Video and flash support</strong> for links pointing to .mov and .swf media files. Again, be aware there's a specific format to respect if you want your movies and animations to be hooked correctly. More info on this on the <a title="prettyPhoto How To Use" href="http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/#howtouse" target="_blank">prettyPhoto project page</a>.</li>
<li>Added an option to <strong>toggle media hooks</strong> (disabling it will disable WP-prettyPhoto prettifying your video and animations)</li>
</ul>
<p>There's also a few new features that will improve usability and user-friendliness such as...</p>
<ul>
<li>There's now an option to <strong>disable jQuery substitution</strong>. prettyPhoto relies on version 2.3.1 of jQuery. WordPress bundles a jQuery version that was inadequate to use with prettyPhoto, so to solve that problem, WP-prettyPhoto removes the JavaScript library that is shipped with WordPress and substitutes it for an adequate version that's shipped with WP-prettyPhoto, namely 2.3.1. More info on how to do that here, should you find yourself wondering. Thanks to StÃ©phane Caron for suggesting this feature.</li>
<li>There's a new feature to <strong>exclude prettyPhoto hooking</strong> on certain links. In order to do so, all you need to do is set the link of your image, flash animation or QuickTime video to a new window (<em>target="_blank"</em>) and WP-prettyPhoto will skip prettifying it. Thanks to <a title="Tommy Jones" href="http://www.standonyourbrand.com" target="_blank">Tommy Jones</a> for suggesting this feature.</li>
<li><strong>Upgraded bundled <a title="jQuery" href="http://www.jquery.com" target="_blank">jQuery</a></strong> from 1.3.1 to 1.3.2. Not really something that's necessary for the plugin, but I figured that since I substitute it, it might as well be the version that users might want, namely the most current at the time of the release. You can always disable substitution and include the version you desire by some other means.</li>
<li><strong>Switched prettyPhoto version type</strong> from uncompressed (17.5kb) to compressed (11.5kb), more fitting to production environments. Should you want to hack it up, there's an uncompressed version over at the <a title="prettyPhoto" href="http://www.no-margin-for-errors.com/projects/prettyPhoto-jquery-lightbox-clone/#download" target="_blank">prettyPhoto project</a>.</li>
<li>Obviously with the new changes, <strong>English and French localizations</strong> have been updated.</li>
<li>Fixed a bug where DD_belatedPNG (PNG transparency hack for IE6) would be included even if the selected theme wasn't dark, which made it useless.</li>
</ul>
<p>That's enough for now, isn't it? As always, if you have feature suggestions do not hesitate to contact me, they might make it to the next release! Now that you're educated as to what and how, feel free to head over to <a title="WP-prettyPhoto" href="http://wordpress.org/extend/plugins/wp-prettyphoto/">WordPress Extend</a> to download this new version. Enjoy!</p>
<p><em>Note: Version 1.2 pretty much hit a wall.. I made the mistake not to add jQuery 1.3.2 in the package.. so yeah.. nothing worked. It's fixed in 1.2.0.1. Sorry about that.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://fusi0n.org/wp-prettyphoto/wp-prettyphoto-12-released/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>WP-prettyPhoto: Lightbox clone for WordPress using jQuery</title>
		<link>http://fusi0n.org/wp-prettyphoto/wp-prettyphoto-lightbox-clone-for-wordpress-using-jquery</link>
		<comments>http://fusi0n.org/wp-prettyphoto/wp-prettyphoto-lightbox-clone-for-wordpress-using-jquery#comments</comments>
		<pubDate>Fri, 06 Feb 2009 22:55:12 +0000</pubDate>
		<dc:creator>pluc</dc:creator>
				<category><![CDATA[WP-prettyPhoto]]></category>
		<category><![CDATA[jquery]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[prettyphoto]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://blog.fusi0n.org/?p=538</guid>
		<description><![CDATA[WP-prettyPhoto allows you to use prettyPhoto by StÃ©phane Caron, a themeable jQuery-powered Lightbox clone with WordPress. Check it out on WordPress Extend!]]></description>
			<content:encoded><![CDATA[<p>WP-prettyPhoto allows you to use <a href="http://www.no-margin-for-errors.com/projects/prettyPhoto/">prettyPhoto</a> by <a href="http://www.no-margin-for-errors.com/">StÃ©phane Caron</a>, a themeable jQuery-powered Lightbox clone with WordPress. Check it out on <a href="http://wordpress.org/extend/plugins/wp-prettyphoto/">WordPress Extend</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://fusi0n.org/wp-prettyphoto/wp-prettyphoto-lightbox-clone-for-wordpress-using-jquery/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
	</channel>
</rss>

