Fix JPG Images Not Opening From SharePoint Online Search
Question details
The user needs JPG images found through SharePoint Online search to open in the image preview.

- Product
- SharePoint Online
- Device & OS
- not provided
- Scenario
- Opening image search results from SharePoint Home or a picture library.
- Observed behavior
- JPG results may open as detail pages or blank pages, while PNG and JPEG results may open in the image preview.
Identify accessible JPG, JPEG, and PNG files in the same SharePoint environment so you can compare their search results. Check whether the JPG file opens normally from its picture library.
Compare image search results and try the thumbnail URL workaround
Use this approach when JPG search results fail to preview but comparable JPEG and PNG results work.
In SharePoint Home search, search for JPG, JPEG, and PNG files and open each result. Note whether the JPG opens a detail or blank page while the others show an image preview.
Open the picture library containing the JPG and try opening the file directly and from the library's search results. Record any difference from SharePoint Home search.
If you can access the affected thumbnail URL, copy it into the browser address bar. If its final query parameter is parentview=7, remove that parameter and its preceding separator, then press Enter to test the image.
Use Help > Feedback in SharePoint, if available, or ask your Microsoft 365 administrator to open a support request. Include the file types tested, where the search was run, and whether removing parentview=7 helped.

Use WPS Office for documents that include JPG images
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for easier migration. Insert JPG images into documents in WPS Writer; it does not fix SharePoint search or preview behavior.

Frequently Asked Questions
Why does a JPG search result open as a detail page instead of a preview?
The behavior may depend on the SharePoint search location or the generated thumbnail URL. Compare JPG, JPEG, and PNG results in Home search and in the picture library to identify where it occurs.
What does removing parentview=7 do?
A user reported that removing the final parentview=7 parameter from an affected thumbnail URL allowed the picture to display. It is a temporary test, not a confirmed fix for all SharePoint search results.
Should I rename a JPG file to JPEG to fix the preview?
Renaming the extension is not a confirmed fix for this search behavior. First compare existing JPG and JPEG files and check whether the JPG opens directly from its picture library.
How can I report the SharePoint preview issue?
Use Help > Feedback in SharePoint if the option is available, or ask your Microsoft 365 administrator to open a support request. Include the search location, affected file types, and the results of the URL test.




