Revert "Added support for CORS enabled images"

This reverts commit 8e643957d0746227663dc09e803c5aa1261a4988.