Photo upload work in progress

Yeah, I did copy it from somewhere. But the source was actually referenced by carrierwave gem author.