treant-js
treant-js copied to clipboard
How to load image without extra parameter
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?
Please provide a working example
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?