Forum Discussion
_Mor10_
Aug 19, 2024Copper Contributor
Create pages with images from Graph?
Hi
What is the best practise to create a page with a webpart containing markup with images using the Graph?
I need to auto generate a page which can later be edited directly in the browser.
What I currently do is upload the image and then add <div class="imagePlugin"....></div> to the markup I then add to the page in a text web part. However I have stumpled upon some issues:
- If I insert <div.... /> instead of <div.....></div> image might not be displayed!!
- Some images does not get rendered when loading the page. If I then edit and save the page, the image shows.
The first point I believe is an error on MS side.
For the second point I can not find a pattern in it, which leads me to believe there might be a better way to accomplish it?
No RepliesBe the first to reply