We need to add photos captured from the iPad camera to documents in a Domino app. But there will be hundreds of thousands of photos over the course of a year. The native iPad camera will generate a 3MB file for each photo. The database will be huge, which is a problem for replication, compact, and save & restore. We don't need that much resolution. Would like to be able to specify the photo quality to be captured, or else call a function to resize an already-attached photo. You could say we want to store a large thumbnail of the captured image.