I've made a small fix on image URL forming, that should fix it. I've also added a console log, telling us when a baseURL deduction has occurred. Please, let me know what it produced on this server.
Keep in mind that we have not yet decided the baseURL policy. For example loading from this URL: https://ambitlri.ideaconsult.net/ui/_search will make jToxKit think that https://ambitlri.ideaconsult.net/ui is the baseURL, because it cannot distinguish from https://ambitlri.ideaconsult.net/data/dataset/1, which will yield: https://ambitlri.ideaconsult.net/data as a baseURL.
Especially in the case images for dataset loading (i.e. jToxCompoung), it is not clear at all whether the images' names should be appended to:
The base URL deduced from the address of the page, provided to the browser, or ...
... the baseURL provided to the enclosing jTox kit (usually jToxQuery element), or...
... the baseURL provided to the actual jToxCompound element, or ...
... to the base URL deduced from the actual (dataset) URL queried.
I've made a small fix on image URL forming, that should fix it. I've also added a console log, telling us when a baseURL deduction has occurred. Please, let me know what it produced on this server.
Keep in mind that we have not yet decided the baseURL policy. For example loading from this URL:
https://ambitlri.ideaconsult.net/ui/_search
will make jToxKit think thathttps://ambitlri.ideaconsult.net/ui
is the baseURL, because it cannot distinguish fromhttps://ambitlri.ideaconsult.net/data/dataset/1
, which will yield:https://ambitlri.ideaconsult.net/data
as a baseURL.Especially in the case images for dataset loading (i.e.
jToxCompoung
), it is not clear at all whether the images' names should be appended to:baseURL
provided to the enclosing jTox kit (usuallyjToxQuery
element), or...baseURL
provided to the actualjToxCompound
element, or ...