-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Labels
sharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.type:invalid-not-dev-issueThis repo+issue list is for SharePoint development topics. Non-dev issues will be closed.This repo+issue list is for SharePoint development topics. Non-dev issues will be closed.
Description
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
not applicable
Developer environment
macOS
What browser(s) / client(s) have you tested
- 💥 Internet Explorer
- 💥 Microsoft Edge
- 💥 Google Chrome
- 💥 FireFox
- 💥 Safari
- mobile (iOS/iPadOS)
- mobile (Android)
- not applicable
- other (enter in the "Additional environment details" area below)
Additional environment details
No response
Describe the bug / error
Image links generated from SharePoint using the standard “Copy link” option have suddenly changed behavior.
These links previously returned the actual image file (JPG/PNG), which allowed them to be used directly inside <img> tags.
This week, the same links now return an HTML preview page instead of the actual image.
This change breaks existing integrations where users paste these links expecting them to behave like direct file URLs.
Direct file URLs (the ones containing the full library path and filename) continue to work normally.
Steps to reproduce
- Go to a SharePoint document library and select an image.
- Click Copy link and use the generated sharing link.
- Try to use this link as an
<img src="...">or fetch it expecting an image. - The link returns an HTML preview page instead of the image binary.
Expected behavior
The sharing link should return the actual image file, as it previously did, so it can be used directly in <img> tags.
Metadata
Metadata
Assignees
Labels
sharepoint-developer-supportsharepoint-developer-supportsharepoint-developer-supporttype:bug-suspectedSuspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.type:invalid-not-dev-issueThis repo+issue list is for SharePoint development topics. Non-dev issues will be closed.This repo+issue list is for SharePoint development topics. Non-dev issues will be closed.