Adding oauth image download support
fixes image location and promise callback