how to set path for images?
In my HTML I get highlighted issues because it cannot find my images. This is because I use a framework and the images are under public_html, not at the root of my space in /img/, which is where the image tag points.
I couldn't find this, but is there a place to override and point the workspace to the proper location for images? Same goes for other auto-lookup type features (perhaps CSS will have the issue too?).
Thanks...
Please sign in to leave a comment.
File | Settings | Directories -- mark such folder as Resource root.
The same can be done via Context menu in Project view (EAP build PS-106.550 or newer)
Thanks, that worked! (first way - did not see the context menu in project view, only as "source root", not resource root)
The "proper" Project view's Context menu is only available in the latest EAP build (generally speaking -- a beta version of 2.1), which apparently you do not use.
Ah I see. I did not know what you meant by that. I am using the latest release version, so that explains it!