Change diffuse with image link

Hello friends
I want to upload a photo on the server and enter it into Playcanvas through a link
And put that photo on diffusemap as a material with the ability to change the diffusemap if that link changes

Hi @MaDBoY,

For the last bit, load the image through link you can use this method on the object:

From there you can easily add the loaded texture on your material diffuse channel like this:

material.diffuseMap = texture;