<?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>skriker &#187; Wordpress</title>
	<atom:link href="http://fredfred.net/skriker/index.php/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://fredfred.net/skriker</link>
	<description></description>
	<lastBuildDate>Sat, 10 Jul 2010 11:45:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Barcelona</title>
		<link>http://fredfred.net/skriker/index.php/barcelona/</link>
		<comments>http://fredfred.net/skriker/index.php/barcelona/#comments</comments>
		<pubDate>Sun, 17 Sep 2006 23:00:01 +0000</pubDate>
		<dc:creator>cnainee</dc:creator>
				<category><![CDATA[Photos]]></category>
		<category><![CDATA[Travelling]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/index.php/barcelona/</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<img src="http://fredfred.net/skriker/images/cnainee/Barcelona_2006/0912 - PICT0032.jpg" width="500" height="750" alt="0912 - PICT0032.jpg" title="" /><br />

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/barcelona/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mexiko- orientační týden</title>
		<link>http://fredfred.net/skriker/index.php/mexiko-orientacni-tyden/</link>
		<comments>http://fredfred.net/skriker/index.php/mexiko-orientacni-tyden/#comments</comments>
		<pubDate>Thu, 03 Aug 2006 22:49:38 +0000</pubDate>
		<dc:creator>sony</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[[lang_en]Mexico[/lang_en][lang_cs]Mexiko[/lang_cs]]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/index.php/mexiko-orientacni-tyden/</guid>
		<description><![CDATA[Týden už se konečně blíží ke svému konci. Jen si nejsem jistá, že mě to těší. Na druhou stranu mi už zbývá „jen" 141 dní pobytu, což je méně než 150… Náplní tohoto ďábelského období byla orientace. Marně se snažím pochopit, v čem jsme se měli zorientovat. Abych řekla pravdu, tak už vůbec nevím, kde [...]]]></description>
			<content:encoded><![CDATA[<p>Týden už se konečně blíží ke svému konci. Jen si nejsem jistá, že mě to těší. Na druhou stranu mi už zbývá „jen" 141 dní pobytu, což je méně než 150… Náplní tohoto ďábelského období byla orientace. Marně se snažím pochopit, v čem jsme se měli zorientovat. Abych řekla pravdu, tak už vůbec nevím, kde mi hlava stojí.</p>
<p>Veškeré aktivity byli připraveny jak ve španělštině, tak i v angličtině. Je ale třeba říci, že při hromadných instruktážích pro obě skupiny nakonec vždy přednášející přešel ke španělštině. V některých případech to pak vedení vyřešilo opravdu šalamounsky, poslali nás do tak malé učebny, že se tam půlka zájemců prostě nevešla. </p>
<p>Dalším bodem programu bylo: vyděste ty lidi, co to jde. V čem to spočívá? Byrokracie. Když nevyplníte  množství papírů větší než malé, tak budete buď vyhoštěni ze země nebo vás vyhodí ze školy. Ale abych nepředbíhala. Asi nejdůležitější jsou víza. Ty si sice člověk vyřídí již před odjezdem, ale ve výsledku to není žádná výhra. V Mexiku si totiž na imigračním oddělení musíte nechat zapsat trvalý pobyt. A to je oříšek. Nejprve jsme vyplnili formulář pro školu. Po jeho přijetí v příslušné kanceláři si můžeme vyzvednout další sadu dokumentů, které budeme potřebovat. Nejlépe v několika kopiích. Po dvou dnech jsem ještě pořád nic nedostala. Vzhledem k tomu, že na tuto proceduru je vyhrazeno 30 dní a já jsem tu již skoro 10 a nic se neděje, začínám být mírně nervózní. Co se týče pojištění, to by vydalo na krátkou povídku… Jednoduše řečeno: abyste se dostali k těm správným dokumentům, musíte vyplnit další hromadu papírů. Inu, dej blbci funkci a vymyslí lejstro.</p>
<p>Chtěla jsem se ještě věnovat našemu kampusu a kolejím, ale myslím, že to bude lepší nechat až na příště. Třeba zítra, až zjistím, že budu do 3 týdnů deportována.</p>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/mexiko-orientacni-tyden/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>club 11</title>
		<link>http://fredfred.net/skriker/index.php/club-11/</link>
		<comments>http://fredfred.net/skriker/index.php/club-11/#comments</comments>
		<pubDate>Thu, 16 Feb 2006 00:53:28 +0000</pubDate>
		<dc:creator>dj</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[[lang_en]Walls of the World[/lang_en][lang_cs]Světa zdi[/lang_cs]]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/index.php/club-11/</guid>
		<description><![CDATA[

]]></description>
			<content:encoded><![CDATA[<img src="http://fredfred.net/skriker/images/dj/2006/club11_graffiti2.jpg" width="500" height="375" alt="club 11" title="club 11" /><br />

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/club-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Polyglot and IImage Gallery use permalinks!</title>
		<link>http://fredfred.net/skriker/index.php/polyglot-and-iimage-gallery-use-permalinks/</link>
		<comments>http://fredfred.net/skriker/index.php/polyglot-and-iimage-gallery-use-permalinks/#comments</comments>
		<pubDate>Fri, 13 Jan 2006 01:18:10 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[itit]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/index.php/polyglot-and-iimage-gallery-use-permalinks/</guid>
		<description><![CDATA[New versions of two of my plugins: Polyglot and IImage Gallery have been released. Both of them support permalinks.
IImage Gallery should work with permalinks on most servers. On the other hand Polyglot suffers from many WP bugs. Therefore the permalink support is not perfect yet.
Both plugins need a lot of testing now so if you [...]]]></description>
			<content:encoded><![CDATA[<p>New versions of two of my plugins: <a href="http://fredfred.net/skriker/index.php/polyglot">Polyglot</a> and <a href="http://fredfred.net/skriker/index.php/iimage-gallery">IImage Gallery</a> have been released. Both of them support permalinks.</p>
<p>IImage Gallery should work with permalinks on most servers. On the other hand Polyglot suffers from many WP bugs. Therefore the permalink support is not perfect yet.</p>
<p>Both plugins need a lot of testing now so if you use any of them on your web be so kind and try the latest version.</p>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/polyglot-and-iimage-gallery-use-permalinks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to use FeedBurner with Wordpress without .htaccess file</title>
		<link>http://fredfred.net/skriker/index.php/feedburner-with-wordpress-without-htaccess/</link>
		<comments>http://fredfred.net/skriker/index.php/feedburner-with-wordpress-without-htaccess/#comments</comments>
		<pubDate>Thu, 01 Dec 2005 22:01:00 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[itit]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/?p=464</guid>
		<description><![CDATA[What is FeedBurner?

For those who don't know FeedBurner yet &#8211; continue to services description. Shortly &#8211; you get statistics and some aditional services for your RSS feed for free.

How to use it with Wordpress?
If you use .htaccess file on your web &#8211; continue to  WordPress FeedBurner Plugin.
The other people (including me) who are not [...]]]></description>
			<content:encoded><![CDATA[<h4>What is FeedBurner?</h4>
<img src="http://fredfred.net/skriker/images/fred/wordpress/headerlogo.jpg" width="294" height="71" alt="FeedBurner" title="FeedBurner" /><br />
<p>For those who don't know FeedBurner yet &#8211; continue to <a href="http://www.feedburner.com/fb/a/publishers">services description</a>. Shortly &#8211; you get statistics and some aditional services for your RSS feed for free.</p>
<img src="http://fredfred.net/skriker/images/fred/wordpress/feedburner-stats.png" width="427" height="250" alt="Statistics" title="Statistics" /><br />
<h4>How to use it with Wordpress?</h4>
<p>If you use .htaccess file on your web &#8211; continue to  <a href="http://www.orderedlist.com/articles/wordpress_feedburner_plugin/">WordPress FeedBurner Plugin</a>.</p>
<p>The other people (including me) who are not allowed to use .htaccess files by their webhosting company. (So we have to have <strong>index.php</strong> in the permalink structure of our Wordpress powered website.) must employ simple hack to  achieve the same result.</p>
<h4>Step by step</h4>
<ol>
<li>Register at FeedBurner and when they ask you about your feed address use this:<br />
<code>http://addressofyourweb/index.php?feed=rss2</code><br />
e.g.  <code>http://fredfred.net/skriker/index.php?feed=rss2</code></li>
<li>Now the hack comes. Open <code>wp-feed.php</code> in the root directory of your site and edit it according to this example:
<p><code><br />
&lt;?php<br />
if (empty($doing_rss)) {<br />
$doing_rss = 1;<br />
require(dirname(__FILE__) . '/wp-blog-header.php');<br />
}</p>
<p>//this is the code for FeedBurner<br />
if( $wp_query-&gt;query =='feed=feed' ){<br />
header("Location: http://feeds.feedburner.com/skriker/");<br />
exit;<br />
}<br />
//end of the added code<br />
</code></p>
<p>where you replace http://feeds.feedburner.com/skriker/ with the address that you've got from the FeedBurner.</li>
<li>All feeds from the default RSS address generated by Wordpress  (http://yourweb/index.php/feed/ e.g. http://fredfred.net/skriker/index.php/feed/) are redirected to the FeedBurner but your readers don't notice any change.</li>
</ol>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/feedburner-with-wordpress-without-htaccess/feed/</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>Archivist</title>
		<link>http://fredfred.net/skriker/index.php/archivist/</link>
		<comments>http://fredfred.net/skriker/index.php/archivist/#comments</comments>
		<pubDate>Wed, 02 Nov 2005 19:15:34 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[itit]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/?p=451</guid>
		<description><![CDATA[Problem of every blog is that all posts disappear in archive after while and they cannot return back to the front page unless the author changes the publishing date. That’s a cheap trick and we don’t like cheap tricks, right?
So I’ve created Archivist – plugin (for Wordpress) that does this job in a nice way.

Installation
Copy [...]]]></description>
			<content:encoded><![CDATA[<p>Problem of every blog is that all posts disappear in archive after while and they cannot return back to the front page unless the author changes the publishing date. That’s a cheap trick and we don’t like cheap tricks, right?</p>
<p>So I’ve created <strong>Archivist</strong> – plugin (for <a href="http://wordpress.org">Wordpress</a>) that does this job in a nice way.</p>
<img src="http://fredfred.net/skriker/images/fred/wordpress/archivist1.png" width="458" height="763" alt="Archivist" title="Archivist" /><br />
<h4>Installation</h4>
<p>Copy <code>archivist.php</code> file to your <code>wp-content/plugins</code> directory and activate it.</p>
<h4>Settings</h4>
<p>All these settings can be changed in <code>archivist.php</code>:</p>
<p><em>'number_of_posts'</em> &#8211; number of posts from the archive that should be shown on the front page.</p>
<p><em>'random'</em> &#8211; these posts can be selected randomly or sorted by date.</p>
<p><em>'frontpage_position'</em> &#8211; where should be selected post(s) inserted on the front page. Picture above shows the situation where this value is set to 1. (Archive post is inserted after the <strong>first</strong> post.)</p>
<p><em>'from_categories'</em> &#8211; it's possible to limit the categories where the post(s) are selected from. Just insert the list of category IDs.</p>
<p><em>'older_than'</em> &#8211; defined in days. E.g. <strong>60</strong>.</p>
<p><em>'newer_than'</em> &#8211; defined in days.</p>
<p><em>'keep_the_limit_of_posts_per_page'</em> &#8211; Set to "true" if the very last post(s) on the front page should be "removed" from the this page in order to keep the limit of number of posts per page. Set to "false" if these "removed" posts should be just "moved" futher. Only issue is when set "true" that you will "miss" these "removed" posts on the second page:(</p>
<p><em>'title'</em> &#8211; defines how should be changed the title of selected post(s). There is added "From the archive: " before the title of each post by default.</p>
<h4>Download</h4>
<p><a href="http://fredfred.net/logger/dlcount.php?id=skriker&amp;url=http://fredfred.net/skriker/download/wordpress/archivist.zip">archivist1.2.zip</a> &#8211; (Wordpress 2.5 and higher compatible)</p>
<h4>Other recommended plugins</h4>
<ul>
<li><a href="http://fredfred.net/skriker/index.php/iimage-browser/">IImage Browser</a></li>
<li><a href="http://fredfred.net/skriker/index.php/iimage-gallery/">IImage Gallery</a></li>
<li><a href="http://fredfred.net/skriker/index.php/jaeaa-preview/">JÄÅ Preview</a></li>
<li><a href="http://fredfred.net/skriker/index.php/character-map/">Character Map</a></li>
<li><a href="http://fredfred.net/skriker/index.php/polyglot/">Polyglot</a></li>
<li><a href="http://fredfred.net/skriker/index.php/iimage-panorama/">IImage Panorama</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/archivist/feed/</wfw:commentRss>
		<slash:comments>115</slash:comments>
		</item>
		<item>
		<title>Character Map</title>
		<link>http://fredfred.net/skriker/index.php/character-map/</link>
		<comments>http://fredfred.net/skriker/index.php/character-map/#comments</comments>
		<pubDate>Thu, 07 Jul 2005 22:26:10 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[itit]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/?p=384</guid>
		<description><![CDATA[Try to type all these characters on your keyboard:
♂∑→€№£§®πξĎÅÑÆ
Not easy, right?:) You obviously need new Character Map plugin in your Wordpress if you want to use these weird characters in your posts.
After the simplest possible installation (unpack and activate it) &#8211; you get the "Character Map" button in the Quicktags area:

New window is opened when [...]]]></description>
			<content:encoded><![CDATA[<p>Try to type all these characters on your keyboard:</p>
<p><span style="font-size: 2em;">♂∑→€№£§®πξĎÅÑÆ</span></p>
<p>Not easy, right?:) You obviously need new <strong>Character Map</strong> plugin in your <a href="http://wordpress.org">Wordpress</a> if you want to use these weird characters in your posts.</p>
<p>After the simplest possible installation (unpack and activate it) &#8211; you get the "Character Map" button in the Quicktags area:</p>
<img src="http://fredfred.net/skriker/images/fred/wordpress/character-map1.png" width="424" height="95" alt="Character Map" title="Character Map" /><br />
<p>New window is opened when you click on this button and the whole new world of never seen characters is waiting for you.</p>
<img src="http://fredfred.net/skriker/images/fred/wordpress/character-map0.png" width="419" height="407" alt="Character Map" title="Character Map" /><br />
<p>Try <a href="" onClick="JavaScript:window.open('http://fredfred.net/skriker/wp-content/plugins/character-map.php', 'charactermap', 'width=600,height=600,scrollbars=yes'); return false">demo of Character Map</a>!</p>
<p>Select the subset in the menu on the left side or turn it off by clicking on the name of the subset (in the menu or above the characters). Enlarged version of character is shown in the top left corner when you put the cursor over the character. Then you have to just click once and selected character is copied to the post text area.</p>
<h4>Download</h4>
<p><a href="http://fredfred.net/logger/dlcount.php?id=skriker&#038;url=http://fredfred.net/skriker/download/wordpress/character-map0.2.zip">character-map0.2.zip</a></p>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/character-map/feed/</wfw:commentRss>
		<slash:comments>124</slash:comments>
		</item>
		<item>
		<title>IImage Gallery 1.3</title>
		<link>http://fredfred.net/skriker/index.php/iimage-gallery-13/</link>
		<comments>http://fredfred.net/skriker/index.php/iimage-gallery-13/#comments</comments>
		<pubDate>Tue, 14 Jun 2005 09:34:37 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[itit]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/?p=365</guid>
		<description><![CDATA[After a long long time  &#8211; new and quite often requested feature has been added: stand-alone browser for images with link to next/previous image in the gallery. 
 Try it here: 
       
 For more info and download continue to IImage Gallery 

]]></description>
			<content:encoded><![CDATA[<p>After a long long time  &#8211; new and quite often requested feature has been added: stand-alone browser for images with link to next/previous image in the gallery. </p>
<p> Try it here: </p>
<div class="gallery">       <a href="http://fredfred.net/skriker/wp-content/plugins/iimage-gallery.php/365/1/1/" class="gallery_item"><img src="http://fredfred.net/skriker/wp-content/thumb-cache/722da95ec3f44d63b9d3277f31e748f9.jpg" alt="Peter Pan" title="Peter Pan" border="0" /></a><a href="http://fredfred.net/skriker/wp-content/plugins/iimage-gallery.php/365/1/2/" class="gallery_item"><img src="http://fredfred.net/skriker/wp-content/thumb-cache/3e03896f004d10d51ab1f2182143b624.jpg" alt="Peter Pan" title="Peter Pan" border="0" /></a><a href="http://fredfred.net/skriker/wp-content/plugins/iimage-gallery.php/365/1/3/" class="gallery_item"><img src="http://fredfred.net/skriker/wp-content/thumb-cache/ee38fcec5e2c85f565fa957740ee0cd2.jpg" alt="Peter Pan" title="Peter Pan" border="0" /></a><a href="http://fredfred.net/skriker/wp-content/plugins/iimage-gallery.php/365/1/4/" class="gallery_item"><img src="http://fredfred.net/skriker/wp-content/thumb-cache/f11d489e3ff554c5b705bdc091a93597.jpg" alt="Peter Pan" title="Peter Pan" border="0" /></a><a href="http://fredfred.net/skriker/wp-content/plugins/iimage-gallery.php/365/1/5/" class="gallery_item"><img src="http://fredfred.net/skriker/wp-content/thumb-cache/9552d2b7a810281f546db0c36eeb306f.jpg" alt="Peter Pan" title="Peter Pan" border="0" /></a><a href="http://fredfred.net/skriker/wp-content/plugins/iimage-gallery.php/365/1/6/" class="gallery_item"><img src="http://fredfred.net/skriker/wp-content/thumb-cache/a17e3d9cf4b9d9e1b4c8b63f18bead41.jpg" alt="Peter Pan" title="Peter Pan" border="0" /></a></div>
<p> For more info and download continue to <a href="http://fredfred.net/skriker/index.php/iimage-gallery">IImage Gallery</a> </p>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/iimage-gallery-13/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>JÄÅ Preview</title>
		<link>http://fredfred.net/skriker/index.php/jaeaa-preview/</link>
		<comments>http://fredfred.net/skriker/index.php/jaeaa-preview/#comments</comments>
		<pubDate>Mon, 16 May 2005 01:13:42 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[itit]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/index.php/ja-preview</guid>
		<description><![CDATA[This is a right time to realease another nice WordPress plugin, isn't it?
If you would like to see the preview of your post exactly as it looks like on your page (with all formating etc.) before you publish it &#8211; JÄÅ Preview plugin is what you need. Because JÄÅ Preview works with all themes! 
How [...]]]></description>
			<content:encoded><![CDATA[<p>This is a right time to realease another nice <a href="http://wordpress.org">WordPress</a> plugin, isn't it?</p>
<p>If you would like to see the preview of your post <strong>exactly</strong> as it looks like on your page (with all formating etc.) <strong>before</strong> you publish it &#8211; JÄÅ Preview plugin is what you need. Because JÄÅ Preview works with all themes! </p>
<h4>How it works</h4>
<p>After installation &#8211; you get a new button in your Quicktags area. Just click on it!</p>
<img src="http://fredfred.net/skriker/images/fred/wordpress/jaeaa-preview.png" width="392" height="86" alt="JÄÅ Preview Plugin" title="JÄÅ Preview Plugin" /><br />
<p>New window with your post should be opened. Don't forget that you have to save your post <strong>before</strong> you click on the "preview" button.</p>
<p>You are allowed to see the preview of the post only if you are logged into the administration of you web and your user level is heigher than the authors level or you are the author of the post.</p>
<h4>Download</h4>
<p><a href="http://fredfred.net/logger/dlcount.php?id=skriker&#038;url=http://fredfred.net/skriker/download/wordpress/jaeaa-preview1.0.zip">jaeaa-preview1.0.zip</a></p>
<h4>Installation</h4>
<p>Unpack <code>preview-plugin.php</code> to your <code>wp-content/plugins</code> directory and activate it.</p>
<h4>P. S.</h4>
<p>You should also try these plugins: <a href="http://fredfred.net/skriker/index.php/iimage-browser">IImage Browser</a>, <a href="http://fredfred.net/skriker/index.php/iimage-gallery">IImage Gallery</a>, <a href="http://fredfred.net/skriker/index.php/polyglot">Polyglot</a>, <a href="http://fredfred.net/skriker/index.php/iimage-panorama">IImage Panorama</a></p>
<p>BTW do you know how to pronounce JÄÅ?<br />
No?<br />
Ok &#8211; just like this: <em>yaeo</em>:)</p>
<h4>Fix:</h4>
<p>23. 05. 2005 &#8211; preview.php removed &#8211; we don't need it anymore as I have found much smarter way how to do that. Thanks to <a href="http://www.mattread.com/">www.mattread.com</a></p>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/jaeaa-preview/feed/</wfw:commentRss>
		<slash:comments>74</slash:comments>
		</item>
		<item>
		<title>IImage Gallery &#8211; custom patterns</title>
		<link>http://fredfred.net/skriker/index.php/iimage-gallery-custom-patterns/</link>
		<comments>http://fredfred.net/skriker/index.php/iimage-gallery-custom-patterns/#comments</comments>
		<pubDate>Wed, 30 Mar 2005 21:00:39 +0000</pubDate>
		<dc:creator>malyfred</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://fredfred.net/skriker/index.php/iimage-gallery-custom-patterns</guid>
		<description><![CDATA[The basic version of IImage Gallery offers only simple custom patterns for generating code. But you can define your own patterns and improve your galleries as you need.
Open an image in the new window
To open full-size image in new window &#8211; try something like this:
$ig_before_each = '&#60;a href="%src" onClick="JavaScript:window.open('%src', '%title', 'scrollbars=yes'); return false" class="gallery_item" target="_blank"&#62;';
If [...]]]></description>
			<content:encoded><![CDATA[<p>The basic version of <a href="http://fredfred.net/skriker/index.php/iimage-gallery">IImage Gallery</a> offers only simple custom patterns for generating code. But you can define your own patterns and improve your galleries as you need.</p>
<h4>Open an image in the new window</h4>
<p>To open full-size image in new window &#8211; try something like this:<br />
<code>$ig_before_each = '&lt;a href="%src" onClick="JavaScript:window.open('%src', '%title', 'scrollbars=yes'); return false" class="gallery_item" target="_blank"&gt;';</code></p>
<p>If user has enabled JavaScript &#8211; pop-up window without scrollbars appears when he clicks on the image. User without JavaScript support gets new standard browser window with image. Please note that if you want to have your site XHTML valid you have to remove <code>target="_blank"</code>. It seems that there is no "valid" way how to open a new window in XHTML without support of JavaScript at the moment .</p>
<h4>Template page</h4>
<p>Example of simplest template page:<br />
<code>&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;title&gt;&lt;?PHP echo $ig_img_title;?&gt;&lt;/title&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;?PHP<br />
echo "&lt;img src="$ig_img_src" alt="$ig_img_alt" title="$ig_img_title" /&gt;&lt;br /&gt;";<br />
echo "&lt;strong&gt;$ig_img_title&lt;/strong&gt;";<br />
?&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</code></p>
<p>Save this example as <code>gallery.php</code> to the root directory of your WP and then modify <code>$ig_before_each</code>:<br />
<code>$ig_before_each = '&lt;a href="http://addressOfYourSite/gallery.php?ig_img_src=%src&amp;amp;ig_img_title=%title" class="gallery_item"&gt;';</code></p>
<h4>Template page in the  new window</h4>
<p>To open new browser window with template page you need to combine both examples:<br />
<code>$ig_before_each = '&lt;a href="http://addressOfYourSite/gallery.php?ig_img_src=%src&amp;amp;ig_img_title=%title" onClick="JavaScript:window.open('http://addressOfYourSite/gallery.php?ig_img_src=%src&amp;amp;ig_img_title=%title', '%title', 'scrollbars=yes'); return false" class="gallery_item" target="_blank"&gt;';</code></p>
<h4>Open an image in the new CENTRED window</h4>
<p>This example is for a bit advaced users and was provided by A.D.</p>
<p>1. Replace default <code>$ig_before_each</code> with the following:</p>
<p><code>$ig_before_each = '&lt;a href="#" onClick="openWithSelfMain('%src', '%title', '%width', '%height'); return false" class="gallery_item"&gt;';</code></p>
<p>2. Add commented lines to function "<code>iimage_gallery_create_gallery($text){}</code>" like this:</p>
<p>……….. here: ……………….<br />
<code><br />
$ig_patterns[0] = '/\%src/i';<br />
$ig_patterns[1] = '/\%alt/i';<br />
$ig_patterns[2] = '/\%title/i';<br />
$ig_patterns[3] = '/\%tsrc/i';</code></p>
<p><code>/* A.D.'s hack for open-new-imagesized-window */<br />
$ig_patterns[4] = '/\%width/i';<br />
$ig_patterns[5] = '/\%height/i';<br />
/* end A.D.'s hack */</code></p>
<p>………. and here: …………….<br />
<code><br />
$title = ' ';<br />
$src = $abs_path .md5($matches[$i][1]) .strrchr($matches[$i][1], '.');</code></p>
<p><code>/* A.D.'s hack for open-new-imagesized-window */<br />
$im_attr = getimagesize($matches[$i][1]);<br />
$im_width = $im_attr[0];<br />
$im_height = $im_attr[1];<br />
/* end A.D.'s hack */</code></p>
<p><code>if(preg_match("/.*?alt="([^"]*)".*?/i",$matches[$i][0],$bar)){</code></p>
<p>…….. and at last here: ……….<br />
<code><br />
//unset($ip_replacement);<br />
$ig_replacement = array(0 =&gt; $matches[$i][1], 1=&gt;$alt, 2=&gt;$title, 3=&gt;$src, 4=&gt;$im_width, 5=&gt;$im_height);</code></p>
<p>….</p>
<p>3. Create file "<code>yourScript.js</code>" with the following code and put it to Your theme's dir:</p>
<p><code>function openWithSelfMain(url,name,width,height) {<br />
var options = "width=" + width + ",height=" + height + "toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no";</code></p>
<p><code>newWindow = window.open(”,”,options);<br />
newWindow.document.open();<br />
newWindow.document.write('&lt;html&gt;&lt;title&gt;'+name+'&lt;/title&gt;&lt;body bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onblur="self.close();" onclick="self.close();"&gt;&lt;img src="'+url+'" alt="'+name+'" title="'+name+'"&gt;&lt;/body&gt;&lt;/html&gt;');<br />
window.self.name = "Picture";<br />
newWindow.moveTo(((screen.availWidth/2)-(width/2)),((screen.availHeight/2)-(height/2)));<br />
newWindow.focus();<br />
}</code></p>
<p>4. Include following JS code in your theme's <code>header.php</code> before <code>&lt;/head&gt;:</code></p>
<p><code>&lt;script language="JavaScript" src="&lt;?php bloginfo('template_directory'); ?&gt;/yourScript.js" type="text/javascript"&gt;&lt;/script&gt;</code></p>
<p>5. Create Your gallery.<br />
Full-size image will open centered in new fullimage-sized window.<br />
Window will close "onClick" in Internet Explorer.<br />
Window will close "onClick" or "onBlur" in Firefox.</p>

]]></content:encoded>
			<wfw:commentRss>http://fredfred.net/skriker/index.php/iimage-gallery-custom-patterns/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
	</channel>
</rss>
