Mantis #4322 : Optimization Thumbnail Generation. (Fix Typo thanks Deda)