Do not load thumbnails for image with X*Y>2k*2k (see #10748)