Skip to main content
Solved

Images from Sharepoint

  • February 13, 2025
  • 9 replies
  • 192 views

Forum|alt.badge.img+5

Hello,

 

Is it possible to add images from sharepoint/onedrive ?

I have added the sharepoint link in approved domain, but when I use an Image from the sharepoint, I am unable to view the image in Pigment. Please advise.

 

Thanks,

Apurv

Best answer by Min Li

@Apurv You may want to share the image as anyone can access it by the link first. Then follow the instruction I attached below. The URL is what you need for adding the image widgt.

 

 

Copy Image Link

File_ID

Path

URL

Formula

 

=TEXTBEFORE(TEXTAFTER(B2, "/d/"), "/view")

 

=Path&File_ID

Example

https://drive.google.com/file/d/NQnyd-ewzR59HnhqYXrEtF7R_j2R3/view?usp=drive_link

NQnyd-ewzR59HnhqYXrEtF7R_j2R3

https://lh3.googleusercontent.com/d/

https://lh3.googleusercontent.com/d/NQnyd-ewzR59HnhqYXrEtF7R_j2R3

9 replies

Min Li
Master Helper
Forum|alt.badge.img+12
  • Master Helper
  • February 13, 2025

@Apurv I have experience adding images from Google Drive. If that helps, I can share the steps with you.


Forum|alt.badge.img+5
  • Author
  • Author
  • February 14, 2025

@Min Li Bright Point yes please, I can try same steps and see if it works. Thanks. 


Min Li
Master Helper
Forum|alt.badge.img+12
  • Master Helper
  • Answer
  • February 14, 2025

@Apurv You may want to share the image as anyone can access it by the link first. Then follow the instruction I attached below. The URL is what you need for adding the image widgt.

 

 

Copy Image Link

File_ID

Path

URL

Formula

 

=TEXTBEFORE(TEXTAFTER(B2, "/d/"), "/view")

 

=Path&File_ID

Example

https://drive.google.com/file/d/NQnyd-ewzR59HnhqYXrEtF7R_j2R3/view?usp=drive_link

NQnyd-ewzR59HnhqYXrEtF7R_j2R3

https://lh3.googleusercontent.com/d/

https://lh3.googleusercontent.com/d/NQnyd-ewzR59HnhqYXrEtF7R_j2R3


Forum|alt.badge.img+5
  • Author
  • Author
  • February 20, 2025

@Min Li Bright Point  Seems to be bit tricky with share point, I am unable to get the desired url result.


Min Li
Master Helper
Forum|alt.badge.img+12
  • Master Helper
  • February 20, 2025

@Apurv Do you have problem on finding the right file ID which the part between "/d/" and /view?


Forum|alt.badge.img+5
  • Author
  • Author
  • February 27, 2025

@Min Li Bright Point Yes, indeed. For sharepoint it is bit tricky to get the required format.


Min Li
Master Helper
Forum|alt.badge.img+12
  • Master Helper
  • February 27, 2025

@Apurv The steps I provided above is for images stored in google drive and you can get the link of the image from here. Then follow the steps to get the right URL.

 


Forum|alt.badge.img+5
  • Author
  • Author
  • March 7, 2025

Min Li
Master Helper
Forum|alt.badge.img+12
  • Master Helper
  • March 7, 2025

@Apurv The steps I provided above only work for image in Google Drive.