Fix typo preventing image thumbnail generation