Creates image thumbnail based on exif preview. Also adds thumbnail creation for videos