preview on png/jpg/gif images for links and files