Added thumbnail checks.