fixed bug in error handeling of fit_image
Use thumbnails instead of full image files