Error when displaying an image from Google Drive using the WebViewLink in Safari and Internet Explorer for authenticated users
<p>I am working on an intranet that requires user authentication to access private folders on the logged in user's Google Drive. Images are pulled from folders and displayed in the intranet using the image's WebViewLink. This works fine in Chrome and Safari, but does not seem to work in Safari or Internet Explorer. Safari gives me a "too many redirects" error. In IE I don't see any errors, but the images are not displayed. I tried looking for any errors in the Network tab but couldn't locate any.</p>

<p>However I found that, if I copy the WebViewLink for one of the images, and paste it into the browser's address bar, the image is displayed successfully. If I go back to the web application and refresh the page, the error goes away and all images are successfully displayed. This only works for Safari and does not work for Internet Explorer.</p>

<p>Images and their parent folders can not be public; all data is sensitive and must remain private. Has anyone encountered this issue and found a resolution that always works? I tried loading the images in an iframe that did not work.</p>

<p>Please let me know if you require more information. Thanks!!</p>