phone gap upload photo