added sending of photos! only jpg for now