Compatibility with Uri added to constant IMAGE_PATH

Compatibility with Uri added to constant IMAGE_PATH