Unless the quotes are required as part of the URL being requested:
http://foobar.com/something.php?item="foo"
This isn't an issue. The quotes a syntactic marker to say "this information is a string". In brightscript a double quote is the string marker and the single quote signifies a source code comment which is probably why you're getting the syntax error. If all you're trying to do is hard code a url into the source file, all you should have to do is use the double quotes. So change:
'www.example.com/somehting/xxxx.jpg'
To:
"www.example.com/somehting/xxxx.jpg"
And you should not have the syntax errors anymore.
-Mark