Hello to everyone, I'm going to share with you a scenario that I have, because maybe you can help me.
I'm building a code for to do something if it find an image and to do another thing if it not find it.
I'm using the rooturl parameter of the qa-theme class to get the relative path to my site, then I join it with the additional path where the image should be located.
After, I need to check if the image exists, but I'm using the file_exists function of PHP and it always retunrs false, maybe because it not recognize the relative path of the site.
Now, I think that I must to use an q2a function that it whether recognize the relative path and it return true when the image exists.
Thank you so much for your support!