<?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>René Samselnig&#039;s Weblog &#187; fotoalbum</title>
	<atom:link href="http://sdm-net.org/tag/fotoalbum/feed/" rel="self" type="application/rss+xml" />
	<link>http://sdm-net.org</link>
	<description>Personal Entertainment and Knowledge Management</description>
	<lastBuildDate>Wed, 21 Dec 2011 06:08:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Optimised fotoalbum available</title>
		<link>http://sdm-net.org/2006/03/optimised-fotoalbum-available/</link>
		<comments>http://sdm-net.org/2006/03/optimised-fotoalbum-available/#comments</comments>
		<pubDate>Sun, 12 Mar 2006 14:06:43 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[fotoalbum]]></category>
		<category><![CDATA[graphics]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/2006/03/optimised-fotoalbum-available/</guid>
		<description><![CDATA[<p>Today I played a bit with my fotoalbum. I learned that I made a whole lot of database queries which are not necessary at all. So I began making optimisations to improve performance. After adding a query counter and looking at some queries and code I found out how to improve the behaviour given. The [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Today I played a bit with my <a href="/development/fotoalbum/">fotoalbum</a>. I learned that I made a whole <strong>lot</strong> of database queries which are not necessary at all. So I began making optimisations to improve performance.
<span id="more-76"></span></p>

<p>After adding a query counter and looking at some queries and code I found out how to improve the behaviour given. The thing that created most of the queries (>60%) was the recursive function <em>isPublished()</em>. But this function is needed to successfully tell if an image is published or not. So what to do? Use caching!</p>

<p>The cache did a good job, but could not reduce the number of queries the way I wanted it to be. So I tried harder on optimising queries, loops and object creation.</p>

<p>Finally I could gain a reduction of about <strong>93%</strong> of the queries made when it was not optimised at all. This is great, you know, because an image gallery should not eat that much server performance.</p>

<p>Well, go to <a href="/fotoalbum/">my installation of fotoalbum</a> if you&#8217;d like to see it in action. If you like it, then you can also  <a href="/download/">get a copy</a> of it! If something fails then please report it to <a href="/development/fotoalbum/">the fotoalbum page</a> so I can help you or at least fix the problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2006/03/optimised-fotoalbum-available/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fotoalbum r1176</title>
		<link>http://sdm-net.org/2005/10/fotoalbum-r1176/</link>
		<comments>http://sdm-net.org/2005/10/fotoalbum-r1176/#comments</comments>
		<pubDate>Thu, 13 Oct 2005 22:55:34 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[fotoalbum]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/2005/10/fotoalbum-r1176/</guid>
		<description><![CDATA[<p>Hi folks. I&#8217;ve been working on fotoalbum to improve themes and using custom style sheets. Check it out, it is now capable of a new theme called sdm-fixed (which will evolve in the following versions of fotoalbum). Please send me feedback on how it works and how it could be improved. Changes There are no [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Hi folks. I&#8217;ve been working on fotoalbum to improve themes and using custom style sheets. Check it out, it is now capable of a new theme called sdm-fixed (which will evolve in the following versions of fotoalbum). Please send me feedback on how it works and how it could be improved.
<span id="more-38"></span></p>

<h6>Changes</h6>

<p>There are no new features except the support for themes. If you know <a href="http://smarty.php.net">Smarty</a> then you&#8217;ll be able to create new themes easily. If you don&#8217;t know Smarty, then go and get a look &#8211; it&#8217;s pretty simple and straight forward to use.</p>

<p>I removed the fotoalbum logo from the background at the bottom right because it made scrolling very slow. Instead I created a bar with information on the current view (albums, album, image, search) and added the logo there. This information bar replaces the information div on various places (not on all places though, because the image view needs to display much more information than available in the information bar).</p>

<h6>Download</h6>

<p>As usual I&#8217;ll give you a download link to the <a href="/data/fotoalbum/fotoalbum-r1176.tgz">new version of fotoalbum</a> and the corresponding <a href="/data/fotoalbum/fotoalbum-wp-plugin_0.3.0.zip">fotoalbum wordpress plugin</a>. If you need help give me some feedback.</p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2005/10/fotoalbum-r1176/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fotoalbum r1122</title>
		<link>http://sdm-net.org/2005/09/fotoalbum-r1122/</link>
		<comments>http://sdm-net.org/2005/09/fotoalbum-r1122/#comments</comments>
		<pubDate>Thu, 22 Sep 2005 17:20:51 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[fotoalbum]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/2005/09/fotoalbum-r1122/</guid>
		<description><![CDATA[<p>A brand new version of my fotoalbum is out today. Grab it while it&#8217;s still hot! With it comes a renewed version of the fotoalbum WordPress plugin. Changes added a configuration screen using objects in templates removing the m:n relation between images and album made changes in templates, classes and others to map the new [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>A brand new version of my <a href="/2005/08/my-fotoalbum">fotoalbum</a> is out today. Grab it while it&#8217;s still hot! With it comes a renewed version of the <a href="/wordpress-fotoalbum-plugin">fotoalbum WordPress plugin</a>.
<span id="more-30"></span></p>

<h6>Changes</h6>

<p><fotoalbum><image id="803" /></fotoalbum></p>

<ul>
<li>added a configuration screen</li>
<li>using objects in templates</li>
<li>removing the m:n relation between images and album</li>
<li>made changes in templates, classes and others to map the new relation</li>
<li>an image is now an image without any more information than whats in the database. It has no more pointers in it</li>
<li>an album now holds all additional information about pages, next/prev image, limits, and so on</li>
<li>a date editor has been added to help people with the date of images and albums</li>
<li>many bugfixes</li>
</ul>

<h6>Download</h6>

<p>You can get the latest version by <a href="/data/fotoalbum">browsing the archive</a> or you can get it directly from here:</p>

<ul>
<li><a href="/data/fotoalbum/fotoalbum-r1122.tgz">fotoalbum r1122</a> for the fotoalbum</li>
<li><a href="http://www.sdm-net.org/data/fotoalbum/fotoalbum-wp-plugin_0.2.0.zip">fotoalbum WordPress plugin</a> for the WordPress plugin.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2005/09/fotoalbum-r1122/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fotoalbum plugin for WordPress</title>
		<link>http://sdm-net.org/2005/09/fotoalbum-plugin-for-wordpress/</link>
		<comments>http://sdm-net.org/2005/09/fotoalbum-plugin-for-wordpress/#comments</comments>
		<pubDate>Wed, 14 Sep 2005 22:24:22 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[fotoalbum]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/2005/09/fotoalbum-test/</guid>
		<description><![CDATA[<p>WordPress has so many fotoalbum plugins for galleries hosted by flickr or other online image databases. I made my own fotoalbum a few months ago and thus I wanted to create a plugin that can be used. It is designed to be simple and has only a few options yet, but you can already get [...]</p>
]]></description>
			<content:encoded><![CDATA[<p><fotoalbum><image id="461" /></fotoalbum>
WordPress has so many fotoalbum plugins for galleries hosted by flickr or other online image databases. I made my own <a href="/2005/08/my-fotoalbum">fotoalbum</a> a few months ago and thus I wanted to create a plugin that can be used. It is designed to be simple and has only a few options yet, but you can already get single thumbnails from fotoalbum images and even whole contents of an album as thumbnails. It also displays the title of the image and uses the current number of image on the page as prefix.
<span id="more-17"></span></p>

<h6>Overview</h6>

<p>This plugin is described in detail at the <a href="/wordpress-fotoalbum-plugin">WordPress fotoalbum Plugin</a> page. You&#8217;ll find the syntax, some more examples and a FAQ there. An example of using the fotoalbum Plugin by displaying an album is followed.</p>

<h6>Example</h6>

<p>My Friends Lena and Michi were on the I-Wolf concert at the pe_zwei in Klagenfurt. Michi had his faboulous Canon EOS 20D with him and took some great shots from the location and &#8211; whats more interesting &#8211; from I-Wolf and company. Because it was very dark he had to use a flash (Canon Speedlite 580EX) to lighten the room, which nevertheless creates high quality fotos. Let&#8217;s have a look.</p>

<p>This is the code I used to display the following album images.</p>

<p><fotoalbum ignore="true"><album id="20" /></fotoalbum></p>

<p><fotoalbum><album id="20" /></fotoalbum></p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2005/09/fotoalbum-plugin-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My fotoalbum</title>
		<link>http://sdm-net.org/2005/08/my-fotoalbum/</link>
		<comments>http://sdm-net.org/2005/08/my-fotoalbum/#comments</comments>
		<pubDate>Tue, 23 Aug 2005 23:06:12 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[fotoalbum]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/wordpress/?p=5</guid>
		<description><![CDATA[<p>Not long ago I was bored &#8211; I was thinking about something to code. I had a talk about a fotoalbum with my girlfriend &#8211; written in PHP(PHP Hypertext Preprocessor) -, so we could share some fotos. There are a lot of them out there, sure, but they all had some limitations, bad layout, etc. [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Not long ago I was bored &#8211; I was thinking about something to code. I had a talk about a fotoalbum with my girlfriend &#8211; written in PHP(PHP Hypertext Preprocessor) -, so we could share some fotos. There are a lot of them out there, sure, but they all had some limitations, bad layout, etc. that made us think about it. Even the gallery I use right now is not what I really wanted to have. So I build my own.
<span id="more-5"></span></p>

<h6>Templates</h6>

<p>The main goal was to use templates. Templates are kind of easy: you can imagine it as a simple html-page with a template language where you need it (like when you want to have a variable title or you want to iterate through guestbook entries). I like templates, I often work with them and I really think you should use them wherever you can. So let&#8217;s use templates.</p>

<p><h7>Mambo, HTML and CSS</h7></p>

<p>Another thing that came to my mind was using it with <a href="http://www.mamboserver.com/">Mambo</a>. This is not as easy as I thought because with Mambo you can&#8217;t use your own stylesheet and have correct html code. And I wanted it to validate as strict HTML 4.01. With <a href="http://www.w3c.org/Style/CSS">Cascading Style Sheets</a>. Which should also validate. This is a problem not solved so far (except when using the Mambo wrapper).</p>

<h6>Sessions and Databases</h6>

<p>Using sessions and a database today is kind of &#8220;state of the art&#8221;. I wouldn&#8217;t want to work without these nowadays, these mechanisms are really handy and make a programmers live easier.</p>

<h6>Tables or divs?</h6>

<p>When I came to designing I thought about a layout for displaying thumbnails &#8211; how much columns, should I use slow tables or fast divs? It uses divs, as you might have thought. But &#8211; which is really great I believe &#8211; it has no fixed columns. This means if you resize your browser window the thumbnails wrap to fit width. That way you &#8211; as the user &#8211; can control how much images you want to be displayed on screen. No more large white space between images &#8211; no more expanding websites where you have to scroll vertically (though there are mice out there that are able to do that). Isn&#8217;t that great?</p>

<h6>View fotoalbum</h6>

<p>I hope you got curious :) If so, then visit my <a href="http://www.sdm-net.org/fotoalbum">beta version of fotoalbum</a>. Tell me if you like it through the contact form in the menu or <a href="http://www.sdm-net.org/data/fotoalbum">download fotoalbum</a> to test it on your own. Have fun!</p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2005/08/my-fotoalbum/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

