When encrypted images were being viewed in the full screen multimedia modal they were being stretched. This is because we were explicitly setting the width and height of the encrypted image. Images that weren't encrypted did not have an explicit width/height being set so they were not affected. Based on reading D7900 the reason we were explicitly setting the width/height was so that the spinner for the image would be rendered in the center.
However, as I was investigating, I throttled my network to slow 3G and I noted that even with the explicit width/height being set the spinner was being rendered to the right of the encrypted image.
{F914552}
Since the encrypted image renders pretty much instantly in the full screen multimedia modal, and the only way I was able to get a good view of the spinner (for a fraction of a second) was to throttle my network and to set the playback speed of my screen recording to 0.5x, I think a pragmatic solution here would be to remove the explicit width/height styles of the encrypted images (fixes the stretching issue) and set `invisibleLoad` to true (hides the spinner).
If we think this solution is sufficient for now, I can also create a new Linear task to track bringing back the loading spinner and correctly render it in the center of the image.
linear task: https://linear.app/comm/issue/ENG-5685/imagemodal-on-web-stretches-images