Copy Link url are not working for the Image tag in custom webpart

Copper Contributor

When we copy the link from the option called copy link and use the same link in the webpart. Its not showing the image



<img> tag is not taking that source url and if we take the link view original Image option , Its working fine.


Do we have any alternative for the same.


1 Reply

Hello @vchadha7856 


try to use a direct link. You can copy the path over the information panel. 


More Information: Method 3: Get the Direct URL of a Document in SharePoint Online from the Document Information Panel


Best, Dave