Exporting Images that are contained in table

Hi

Is there an easy way to export images from a table. It'd be great if the images file names when downloaded could be aligned to a record number or other field in the database.

Even better would be if this could be built within the pages for the end user.

Regards

Adrian