added simple support for web images