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!

2
  • 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
  • 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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.