use swipe view and upload photo