replace images by direct links