iPhoto To SQL is an export plugin for iPhoto that will Create an SQL dump file with all picture metadata in addition to creating scaled images and thumbnails. If you've written your own photo gallery software, use this to Get your photos, thumbnails and associated metadeta into your database backend.
iPhoto To SQL will create the following fields: id, title, comment, keywords, stars, date, album, thumbnail filename and image filename. You can set height/width maximums on the thumbnails and images and they will be rescaled with their Aspect Ratio preserved. In addition it will generate web-safe names that are easy to work with.
Changes in version 1.5:
Updated to work with iPhoto 7.0 Export multiple albums.