Updated gallery to use photoswipe instead of fancybox
Added check to make sure a photo is selected befor trying to submit
Fixed an issue where newly added images were not being included in the
photo swipe method. This is only the case with images added via socket.io