View Full Version : Can't get correct image path in image component
2 May 2012, 1:57 AM
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 ?
7 May 2012, 7:26 AM
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.
7 May 2012, 7:28 AM
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 !
2 Dec 2012, 6:59 PM
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.
4 Dec 2012, 11:09 AM
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/.
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.