Now supports all image types including Gifs! (uploading and preview)
Made the Preview properly show the image.