This is a quick and dirty hack of the great Brochure addon.
Anyone want to slim it down or tidy it up they are welcome.

For some reason it wont work if you already have the brochure addon installed.

The gallery addon includes the brochure stuff, but basically shows all images from 5 to 20 on a gallery page with a friendly url. This you can change in the grenderlistings function.

The addon comes with a template and a css and language file that you can alter as you wish. You will have to alter the template to suit your site. 

The following tags can be used:

{addon_gallery_loadjs} - This tag loads the javascript needed for the popup window. The tag must be used in conjunction with {addon_gallery_url}
{addon_gallery_url} - This is the only tag not used inside the template. Use this tag for generating the url to open the gallery window. Use it only on a page where listingID is defined and in conjunction with {addon_gallery_loadjs}.
{addon_gallery_display_topleft} - same as {top_left}
{addon_gallery_display_topright} - same as {top_right}
{addon_gallery_display_center} - same as {center}
{addon_gallery_display_feature1} - same as {feature1}
{addon_gallery_display_feature2} - same as {feature2}
{addon_gallery_display_bottomleft} - same as {bottom_left}
{addon_gallery_display_bottomright} - same as {bottom_right}
{addon_gallery_display_image} - displays the first image in rank for a certain listing
{addon_gallery_price} - displays the price of the listing (properly formatted)
{addon_gallery_close} - display a url with link text to close the window
{addon_gallery_print} - displays a url with link image and text to print the window
{site_title} - same as {site_title}
{addon_gallery_css} - displays a link that includes the addons css file (put in header of template)
{template_url} - displays the templates url
{load_js} - same as {load_js}
{license_tag} - same as {license_tag}
{addon_gallery_returnurl} is link back to listing 
Installation:

1. Unzip all files to addons directory (make sure the file addon.inc.php is in the directory addons/gallery/)

2. Start your admin panel. This will install the addon and the database table properly

3. Go to the edit gallery page and select the fields that you want to show on the gallery.

4. Add the tag {addon_gallery_url} somewhere in your listingview page and that's all.

5. Good idea to put a return to gallery link  in the show image template. If not, change {addon_gallery_url} to have a blank target.

