How to change the format of image Direct Links?