Should work "as is".

Licence:

1. If You find it, use it.
2. Please comment http://kyrres.net/2005/02/04/autogallery/ if You do.

Settings in lines 16 - 19 Read and change before use!

Installation:

1. Upload to foo.bar/wp-content/plugins/
2. Activate in WordPress

Usage:

1. Drop Your images into 
	/[images-root]/[article-id]/
2. Insert "gallery" with <!--gallery--> in Your article.

Files with "prefix" (-) is thumbnails and files widhout "prefix" is linked.

	Example:

	/[images-root]/[article-id]/ 
				150-picture_one.jpg
				picture_one.jpg

#####################################################################

Example 1:

	<h4>For testing.</h4>
	<p>This is a textline.</p>
	<p><!--gallery--></p>
	<p>Another textline.</p>

Example 2:

	<h4>For testing.</h4>
	<p>This is a textline.</p>
	<p>This text is displayed before the gallery, <!--gallery-->, and this is displayed after.</p>
	<p>Another textline.</p>

Example 3:

	<h4>For testing.</h4>
	<p>This is a textline.</p>
	<p class="center"><!--gallery--></p>
	<p>Another textline.</p>

Example using Textile2:

	h4. For testing.
	p.  This is a textline.
	p^. <!--gallery-->
	p.  Another textline.

#####################################################################