Can't get correct image path in image component
I've been testing Sencha Architect for a few days and I can't find the correct path for it to be displayed properly.
Wouldn't it be easier if we could have a file explorer or something like that ?
All relative urls within Architect are relative to your working directory or where you deploy your application. This can be set in the settings of the Project under urlPrefix.
You can set relative paths or absolute paths via an http url.
Ok then, I'll have a look at that, but a helper like autocompletion or something like that would be much appreciated.
Thanks for the answer !
i have same like problem.please tell me how to access icon image "resources/icons/Icon.png" from my Main view. i am getting problem.please describe relative and absolute path.
Setup your url prefix so that it correlates to where your project lives in http terms.
Ie if my webroot is C:\Inetpub\wwwroot or ~/Sites/ this might correlate to http://localhost/.
If my project is stored in C:\Inetpub\wwwroot\myproject or ~/Sites/myproject/ then it would correlate to http://localhost/myproject/.