fix upload photo preview, now it will looks like "how it should be" (no
more "small non-image thumbnail".