Improve a Joomla Plugin with new features

We need the Simple Image Gallery Plugin ([url removed, login to view],com_mtree/task,viewlink/link_id,1468/Itemid,35/) at one of our Joomla sites, with the following functions.

New Features:

[url removed, login to view] server load is with the current script enormous, when the thumbnails gets generated dynamically. Therefore we need a function to create the thumbnails only one time and save them in a cache folder. So the server loads only the generated thumbnails from the folder, for new visitors.

[url removed, login to view] need a option to add a link including a banner under the full sized picture in the lightbox.

So we could imagine to do this by a additional variable or the whole HTML tag, when we add the gallery in the Joomla content. Maybe in this way: {gallery}/stories/images&amp;LINK=&lt;a href=”#”&gt;&lt;img src=”#” /&gt;&lt;/a&gt;{/gallery} !?

New thumbnail output:

We want to use in our template always galleries with 10 photos in two rows, one below the other. But the thumbnails are currently arranged one after the other, so we have always different amounts of thumbnails in a row – depending by the screen resolution and if the picture is vertical or horizontal. The easiest way to solve this problem is, to put the thumbnails centered in a table with 5 columns and two rows.

Save the new plugin in zip file, ready to install on our Joomla system.