only apply the thumb resizing to non-pending images
Merge branch 'master' of github.com:Automattic/sulfur