1

I have built a HTML image map which works just fine while both the HTML file and the image are on my local Desktop (i.e. same directory).

Yet as soon as I upload both to the SharePoint document library (also same directory) and try to embed the image map, I am seeing an (almost) blank Embed Web Part (image below):

enter image description here

I would appreciate any support (I realize this might be an easy fix).

Thanks!

3
  • If you are referencing image URLs in HTML code, try using the image URL's from SharePoint library. You can get the image URL by following the steps given here (using Copy direct link option: sharepoint.stackexchange.com/questions/305662/…. Let me know if it works for you. Commented Oct 16, 2023 at 12:01
  • 1
    Hi Ghanesh, that fixed it, thanks a ton!
    – Nyota
    Commented Oct 17, 2023 at 4:13
  • Great, I am glad it worked for you. Commented Oct 17, 2023 at 4:49

1 Answer 1

0

When you upload the HTML files and images in same folder inside the SharePoint document library, it will not work similar to how it worked in your local desktop.

As you are referencing image URLs in HTML file code, you will have to use the relative image URL's from SharePoint document library itself.

You can get the image URLs by following the steps given here (using Copy direct link option): Uploading files in SharePoint

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.