Pictures are now added as attachments to the local database.