michaelryanmcneill / shibboleth

Shibboleth plugin for WordPress
https://wordpress.org/plugins/shibboleth/
21 stars 12 forks source link

Non visible Images on Safari #84

Closed Thommy-ja closed 2 years ago

Thommy-ja commented 2 years ago

Images are not visible in Safari Browser after Plugin activation.

jrchamp commented 2 years ago

I don't have Safari, can you please provide an image that shows the problem?

Thommy-ja commented 2 years ago

This is our side how it should look like : Bildschirmfoto 2022-07-30 um 14 48 28

And this after activation of the Plugin and Login into our Shibboleth: Bildschirmfoto 2022-07-30 um 14 49 28

It only happens with the Safari browser.

jrchamp commented 2 years ago

The two explanations that I can think of are that the server is responding with a different response when those images are requested while the plugin is active.

Are the image URLs changing? Or can you see the HTTP responses in Safari?

Thommy-ja commented 2 years ago

Yes the Image URL's are changing after the plugin activation.

jrchamp commented 2 years ago

What is the difference between the two URLs? It's okay to anonymize the hostname if it is private.

Thommy-ja commented 2 years ago

The URL changes for example from 'https://chelm.uni-saarland.de/wp-content/uploads/2022/05/ausfuehrlich-173x95.png' to 'https://sp-ao.shortpixel.ai/client/to_webp,q_glossy,ret_img,w_768/https://chelm.uni-saarland.de/wp-content/uploads/2022/05/ausfuehrlich-768x424.png'

michaelryanmcneill commented 2 years ago

Are you using the AutoOptimize plugin or similar plugin that does image optimization? ShortPixel is not something the plugin uses or attempts to use. Have you tried disabling all plugins and trying to login?

Thommy-ja commented 2 years ago

Yes the AutoOptimize was the problem. Thank you !