
I have been playing around with the API and manipulating the 'imgsrc' on various tokens.
I have encountered a big problem. Some of my tokens I can change and then change back, others I cannot.
I can store the existing image in a variable but then when I use the API to reverse the change i get the following error message:
"ERROR: You cannot set the imgsrc or avatar of an object unless you use an image that is in your Roll20 Library. See the API documentation for more info."
All of the tokens that I use are from my 'library' so why do i receive this error? I have noticed that a lot of the tokens in my library still have the \marketplace folder in the URL. How do i fix this???
I have encountered a big problem. Some of my tokens I can change and then change back, others I cannot.
I can store the existing image in a variable but then when I use the API to reverse the change i get the following error message:
"ERROR: You cannot set the imgsrc or avatar of an object unless you use an image that is in your Roll20 Library. See the API documentation for more info."
All of the tokens that I use are from my 'library' so why do i receive this error? I have noticed that a lot of the tokens in my library still have the \marketplace folder in the URL. How do i fix this???