Insert a image map in mts pages

Brass Contributor

In "classic" sharepoint pages i use often image maps, links on graphic, for graphical landscapes, users like this. It's possible to insert a html code.

 

With the new mts webpart "content embed" it's not possible to insert plain html code or iframes from the sharepoint...

 

How is the way in the modern teamsite pages to insert image maps?

Or other, good, new ways available?

 

thanks, david

11 Replies
Can you share a screenshot of what you are trying to do? It's true that Content Embed WebPart is very far from what we can achieve with the Content Editor WebPart and the Script Editor WebPart, but it might happen your problem is more related to the way you are using the WebPart (that's why I'm asking a screenshot :-))

Sure :)

My steps...

1. i create a html page with my graphic and insert image maps on this graphic (save in siteassets)

2. insert a new content embed webpart

3. insert the iframe code

...he doesn't work...see in the screen.

 

Hope this helps.

Have you tried to add the domain of your site yourcompany.sharepoint.com in the HTML Field Security configuration option in the site administration?

Yes, i do that. But without an impact.

So I guess as others have stated over here that this webpart is very limited and not a replacement for the content editor webpart and the script editor one :(

Yes sure, it's new, limited, but new chance available :)

 

Other ideas for implement image maps?

 

New MTS document webpart with visio, but visio is not supported in the document webpart, others?

Sorry David, we don't allow embedding script currently due to the concern of the security as now web part is totally running on client side.

@David Mehr 

I recently created a complex map of the world with a bunch of plants all over the world. I had to have clickable links for each plant around the world. Obviously, Microsoft forgot that people needed to add html to pages so I tricked the modern page by creating the image in Photoshop (photoshop doesn't need to be the program) Then I created a Word document that was the exact size of the modern page width. I added the image into the Word document. I then made sure the image was not anchored to text and sat in back of all items. Insert shapes that you want over the top of the links you need. Add a link to the shape, then make the background and outline blank for the image. You should be able to just see your image and not the shape that you added. I then saved the document as a pdf and the links work.

Now for the modern page, you just add the webpart to view a file in a full one column on the page and add your pdf file. You now have a type of an image map.

The document can be altered if you have Adobe Acrobat pro as well.

Hope that helps.

 

Ron

Achieved the same using PowerPoint with linked shapes and text on the slide and then embed this on the page. This enabled the user to easily change the diagram/picture.

@Alan Marshall How easy is that :) Thank you Alan!

@Alan Marshall 

 

I am wondering if there is an example I can see on how you went about making the 

PowerPoint with linked shapes and text on the slide and then embed this on the page?

Thank you