fix sharing remote images from another application