check for redirected location, add a case for photo