In my CSS i’m trying to use an image as background for my
-tag.
p { background: red url(vvvv.png); }
But the image can not be found during the html render process. I tried to put it next to:
\patch.v4p
\vvvv.exe
\addonpack\lib\nodes\plugins\VVVV.Nodes.Texture.HTML.exe
Therefore i tried it with an absolut path
p { background: red url(C:/vvvv.png); }
which causes the following TTY error
Not allowed to load local resource: file:///C:/vvvv.png (about:blank:0)
So i added the appropriate command line to vvvv’s
args.txt
--allow-file-access
Unfortunately none of those approaches work for me!
Next to embedded images i also want to define indifidual font-faces in CSS, but that’s the next step ;-)
Don’t use absolute filesystem paths like url(C:/vvvv.png); - they will yield the error you described.
Instead go with relative paths, like vvvv.png or …/vvvv.png or whatever - and these have to be relative to the given BaseURL. If I remember correctly, CEF is fine with unix-type paths.
I guess this problem is not related to the x64 build.
check with latest alpha and make sure the path ends with a trailing backslash - you don’t need to prefix the path with file:// though, the node will take care of that.