djangosnippets.org: Latest snippets tagged with 'ipernity'http://djangosnippets.org/tags/ipernity/2008-11-15T09:30:16.108328-06:00iPernity thumbnail helper
2008-11-15T09:30:16.108328-06:00seddenhttp://djangosnippets.org/snippets/1193/<p>A simple template filter that detects <a href="http://www.ipernity.com">iPernity</a> static URLs and creates clickable thumbnail for them. Use it with <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox</a> or any other funky image overlay script.</p>
<p>Your HTML code may contain this:</p>
<pre><code><p>A short example <img
src="http://...ipernity..."
title="The Description" />.</p>
</code></pre>
<p>After applying this filter it will become:</p>
<pre><code><p>A short example …</code></pre>
Freely redistributable