Fix JPG Hyperlinks That Do Not Open in Excel or Word
Question details
The user needs JPG hyperlinks to open from Excel or Word.

- Product
- Microsoft Excel 2016 and Microsoft Word
- Device & OS
- Windows Server 2016
- Scenario
- Opening a hyperlink to a JPG image from an Office document.
- Observed behavior
- The hyperlink fails initially, but works after the image URL is opened in Internet Explorer.
Check whether the hyperlink points to a web URL or a local JPG file, and confirm that the image opens when you enter the address directly in a browser or open the file in File Explorer. Have another image viewer or browser installed if you plan to test a different default app.
Change the Default JPG Viewer in Windows
Use this approach to check whether the app associated with JPG files is preventing the hyperlink from opening.
On Windows Server 2016, open Settings, select System, and then select Default apps.
Select Choose default apps by file type, then find .jpg in the list. Check .jpeg as well if your image uses that extension.
Select the current app next to the file extension and choose an installed image viewer, such as XnView, instead of Paint.
Return to Excel or Word and click the JPG hyperlink again. If necessary, close and reopen the document before retesting.

Test Another Browser and Update Office
Use these checks if the JPG link opens directly in a browser but still fails from Excel or Word.
Open Documents and Work With Hyperlinks in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for opening and editing Office files. Its format compatibility helps you move existing documents and spreadsheets between suites, though it does not fix Microsoft Office or Windows hyperlink settings.

Frequently Asked Questions
Why does the JPG link work after I open it in Internet Explorer?
Opening the URL in a browser first may change how the link is handled during that session, but it does not identify the cause by itself. Test a different default browser and check the JPG file association to narrow down the issue.
How do I change the default app for JPG files?
In Windows Server 2016, open Settings > System > Default apps > Choose default apps by file type. Find .jpg and select another installed image viewer.
Should I change the default browser or the image viewer?
For a web URL, test another default browser under Settings > System > Default apps > Web browser. For a local JPG file, check the .jpg association under Choose default apps by file type.
Where can I update Excel or Word?
Open Excel or Word and select File > Account > Update Options > Update Now. If the update option is unavailable or controlled by your organization, ask your administrator.




