cool script only thing missing is the display for the larger images in a light box or modal window?
however the opening of the image with just a link to the jpeg or ping is not quite going to work for me. I would be an owner if the larger presentation was more compete 


That’s what the link_to_file config option is for, if you set that to view.php for example the images will be linked to view.php?img=images/99.png so you can use that to display them how you like.
I might add an example of that.