We have a panorama made with krpano that we would like to show in our SharePoint site. All the files and images have been uploaded, but when trying to run the panorama we get loading errors for the image files it is trying to load.
Upon checking the actual requests, the images are coming back with a status code of 302 (temporary redirect) and with an url of http://[mysite]/_layouts/15/Authenticate.aspx?Source=%2FSiteAssets%2FPanoramor%2FTAKTISKT%5FPANOdata%2Fgraphics%2Fclassiccontrolbar%2Fbtn%5Fmove%5Fdown%2Epng instead of just the url to the file which the panorama script is expecting.
Is there a way to set up the storage of the images on the SharePoint server so that it does not need to do the redirect to get the files? I've tried putting them in an image library and under Site Assets but it does not make any difference.
The server is SharePoint 2013, Foundation.