change to intent for photo fetching