simplify thumbnailing, also with better quality
copy & paste made wrong, fixed now
fix the size and extension of the thumbnails so browser wont get confused, neither users