OneDrive image embed code stopped working

Sane Lai 0 Reputation points
2025-02-08T20:14:03.65+00:00

When I click Embed on an image, it'd generate code in a side window, and in the side window, the preview does not load.
User's image

And the code itself does not work either. When visiting the link, it shows an error message:User's image

Anyone experiencing the same issue? Or has a solution to this? Thanks all!

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,300 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 27,641 Reputation points Microsoft Vendor
    2025-02-10T03:17:15.9633333+00:00

    Hi,

    Did this problem appear in all pictures?

    Ensure that the image you are trying to embed has the correct sharing permissions. Sometimes, restricted permissions can prevent the preview from loading.

    Try using a different browser to see if the issue persists. Some browsers might handle the embedding process differently.

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.