fperucic / treant-js

Treant.js - javascript library for drawing tree diagrams
MIT License
864 stars 314 forks source link

How to load image without extra parameter #144

Open ymihir opened 5 years ago

ymihir commented 5 years ago

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%7Ctl2@domain.onmicrosoft.com?1555940810930

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

mshd commented 4 years ago

Please provide a working example

ymihir commented 4 years ago

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?