Displaying GIF, PNG and JPG images