SharePoint Document Issues

How to Prevent SharePoint Images from Opening in Zoom View

Huma Ashraf ChHuma Ashraf Ch Nov 4, 2026 868 views

Question details

The user wants to stop images inserted on a SharePoint page from acting interactively (opening a larger view on click) and instead display them as static backgrounds.

How to Prevent SharePoint Images from Opening in Zoom View
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Designing a SharePoint page where images should act as non-interactive background elements.
Observed behavior
Images behave as interactive elements by default, changing the cursor to a hand and opening a zoomed view when clicked.
Before you start

Before attempting to modify image behaviors, note that modern SharePoint pages are designed with built-in responsive viewing features, meaning default image behaviors are often restricted from simple UI changes.

Solution 1Recommended

Use Custom CSS or SPFx Framework (Advanced)

Since Modern SharePoint lacks a native toggle to disable the image viewer, advanced users can use custom code to remove interactivity.

Modern SharePoint intentionally locks down certain UI behaviors, including the lightbox or zoom effect on images. To bypass this, developers can inject custom CSS or use the SharePoint Framework (SPFx).

1
Identify your SharePoint environment

Determine if you are using Modern or Classic SharePoint, as Classic pages allow easier Script Editor web part injections.

2
Consult a SharePoint developer

If using Modern SharePoint, use the SharePoint Framework (SPFx) application customizer to inject CSS that targets and disables pointer events on the specific image class.

3
Seek Microsoft Q&A guidance

Post your specific page structure on the Microsoft Q&A SharePoint forum for tailored CSS snippets and custom development guidance.

Use Custom CSS or SPFx Framework (Advanced)
Developer Skills Required: This workaround requires coding knowledge. If you are a standard user without administrative development access, you may need to accept the default interactive behavior.
Free Microsoft Office alternative

Design and Share Documents Easily with WPS Office

While SharePoint has strict limitations on page design and image behavior, you can create beautifully formatted, static documents like PDFs or Word files using WPS Office and share them effortlessly. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office.

Highly compatible with Microsoft Word, Excel, and PowerPoint formats.Easily insert and lock static images as backgrounds in documents without unwanted zooming.Export directly to PDF to prevent any interactive editing or clicking.Lightweight application with a familiar, user-friendly interface for seamless migration.
QA img-9

Frequently Asked Questions

Can I disable the image lightbox feature in Modern SharePoint?

No, Modern SharePoint does not currently offer a built-in toggle or setting to disable the lightbox (zoom) effect for the standard Image Web Part.

Why does my cursor turn into a hand over SharePoint images?

By default, SharePoint treats inserted images as interactive elements so users can click them to view a higher-resolution, larger version of the image.

How do I make an image a true background in SharePoint?

To make an image a true non-interactive background, use the 'Edit section' tool on a modern page and upload your image under the section background settings, rather than inserting it using an Image Web Part.