Start a new topic

Relative path problem, how to ...

Relative path problem, how to ...


The path should be relative to the HTML file containing your AR world.

So, if the html file is on the root directory, you can use "Resources/images/testImage.png" as path.

Hello I have problem pointing a file.

Here's my problem

Here's my folders :

 !
 L AR
 !   L script
 !          L Radar.jsl
 !
 L Resources
       L images
              L testImage.png

In the Radar.jsl script, I want to access the images file.

I tried "/Resources/images/testImage.png' or "../Resources/images/testImage.png'

But this not work

Any solution ? Thanks

 

 
Login or Signup to post a comment