treant-js icon indicating copy to clipboard operation
treant-js copied to clipboard

How to load image without extra parameter

Open ymihir opened this issue 5 years ago • 2 comments

I am using this plugin in SharePoint to display organization chart. After I get the user picture url and passing to the function it is rendering as below: https://domain/_layouts/15/userphoto.aspx?size=M&accountname=i%3A0%23.f%7Cmembership%[email protected]?1555940810930

The above url not loading image properly because of the extra parameter at the end 1555940810930. How to avoid this?

ymihir avatar Apr 22 '19 13:04 ymihir

Please provide a working example

mshd avatar Apr 07 '20 20:04 mshd

Nothing special example is required. In org chart, for the image it is appending some query parameter as mentioned above. How to delete that any idea?

ymihir avatar Jul 30 '20 12:07 ymihir