Added option for enabling cross origin image source. Close #4