Save image back to the database.