Others

Fix SharePoint User Profile Images Rendering Incorrectly with Size L

Kushani NimanthikaKushani Nimanthika Oct 26, 2026 869 views

Question details

Users are encountering an issue where SharePoint user profile images fail to render properly when the size=L parameter is specified in JSON formatting.

How to Fix SharePoint User Profile Images Rendering Incorrectly with Size L
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Using custom JSON column formatting with userphoto.aspx to display large user profile images in a SharePoint list or library.
Observed behavior
Profile images load correctly with size=M or size=S parameters, but render incorrectly or appear broken when set to size=L. However, the same large image URLs still function properly in PnP Search environments.
Before you start

Ensure you have the exact JSON formatting script on hand and verify if the issue persists across different web browsers or SharePoint environments before making any permanent changes.

Solution 1Recommended

Change the Image Size Parameter in JSON Formatting

Since the large image size is currently experiencing rendering issues in custom setups, switching to medium or small sizes can serve as an immediate workaround to restore image visibility.

1
Open your SharePoint list or library

Navigate to the specific SharePoint list or document library where the custom JSON formatting is applied.

2
Edit the column formatting

Click on the column header that contains the profile images, select 'Column settings' from the drop-down menu, and choose 'Format this column'.

3
Modify the size parameter

In the JSON editor panel on the right, locate the userphoto.aspx URL string and change the parameter from size=L to size=M or size=S.

4
Save and test

Click the 'Save' button at the bottom of the formatting pane, then refresh the page to confirm that the user profile images are now rendering correctly.

Change the Image Size Parameter in JSON Formatting
Free Microsoft Office alternative

Looking for a seamless office suite? Try WPS Office

While troubleshooting advanced SharePoint JSON formatting requires dedicated developer support, managing your day-to-day documents doesn't have to be complicated. WPS Office provides a free, lightweight, and user-friendly alternative to Microsoft Office for creating, editing, and sharing documents effortlessly.

Highly compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight architecture that installs quickly and runs smoothly on PC and mobile devices.Built-in PDF editing tools and seamless cloud collaboration.Familiar user interface for a zero-learning-curve migration experience.
microsoft office alternative - wps office

Frequently Asked Questions

Why do SharePoint profile images not show up in size L?

This issue often stems from undocumented backend changes or bugs in how SharePoint handles the userphoto.aspx endpoint when custom JSON formatting is applied, specifically failing to retrieve or properly scale the large (size=L) resolution images.

Does this JSON formatting error affect PnP Search results?

No, users consistently report that the same large image URLs continue to work properly within PnP Search setups. This indicates the problem is isolated to how the userphoto.aspx URL is processed natively in standard list column JSON formatting.

Where can I find official support for SharePoint JSON customization issues?

Since standard Microsoft consumer support may not cover deep developer-level customizations, it is highly recommended to post your script and issue details on the Microsoft Q&A platform under the SharePoint development tags for expert investigation.