Fix type and use correct thumbnail image dimensions