Almost completed photoupload

still needs getting filename and data ..