How to Fix Gray Overlay on Embedded SharePoint Images
Question details
Users experience an unexpected gray overlay masking embedded iframe images in SharePoint after saving page edits.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Editing and saving a SharePoint page that contains embedded images via iframe code.
- Observed behavior
- A gray overlay appears over the embedded images once the page is saved. Attempting to use the native Image web part as a workaround results in blurry text and unwanted clickable links.
Gather your exact iframe embed code, note your browser version, and copy the URL of the affected SharePoint page to prepare for troubleshooting.
Submit a Service Request via Microsoft 365 Admin Center
Since this rendering issue is often tenant-specific, contacting Microsoft support directly ensures their engineers can investigate the backend site data.
SharePoint iframe rendering behaviors can sometimes be tied to specific tenant security settings or backend glitches introduced during platform updates. Microsoft support agents possess the required diagnostic tools to trace these tenant-specific anomalies.
Log in to the Microsoft 365 admin center using an account with administrator privileges.
Click on 'Support' in the left-hand navigation menu, then select 'Help & support'.
Click on 'New service request' and briefly describe the gray overlay issue.
In your request, include the affected site URL, the exact page name, your browser details, the iframe code you are using, and screenshots showing the gray overlay.

Test on Another Site and Use the Image Web Part
Isolate the issue by testing the code elsewhere, or temporarily utilize the native Image web part if high image fidelity is not strictly required.
Looking for a Lightweight Document Solution? Try WPS Office
While SharePoint handles complex intranet deployments and web parts, managing daily documents shouldn't require constant troubleshooting. WPS Office provides a fast, lightweight, and completely free alternative for all your local and cloud-based document needs.
- 1. Download the Installer: Visit the official WPS Office website and click the free download button.
- 2. Install the Suite: Run the setup file and follow the on-screen prompts to complete the lightweight installation.
- 3. Open Your Documents: Launch WPS Office and instantly open your existing Microsoft Office files without formatting loss.

Frequently Asked Questions
Why does the gray overlay only appear after editing and saving?
When a page is in edit mode, SharePoint often renders raw HTML differently. Upon saving, SharePoint applies security scripts, CSS overlays, and iframe sandbox restrictions which can inadvertently trigger the gray box over external content.
Why is the native SharePoint Image web part not an ideal workaround?
The native Image web part automatically applies compression which can make embedded text blurry. Additionally, it natively turns the image into a clickable element, which may conflict with the desired user experience on the page.
Does this issue happen across all browsers?
Iframe rendering can sometimes vary between Chrome, Edge, and Safari. However, if the gray overlay is injected by SharePoint's backend styling upon saving, it will typically manifest across all modern browsers.




