|
|
@ -26,7 +26,7 @@ if ($('#image_site').get(0)) { |
|
|
|
height = imgEl.height, |
|
|
|
height = imgEl.height, |
|
|
|
naturalWidth = imgEl.naturalWidth, |
|
|
|
naturalWidth = imgEl.naturalWidth, |
|
|
|
naturalHeight = imgEl.naturalHeight; |
|
|
|
naturalHeight = imgEl.naturalHeight; |
|
|
|
if (!naturalWidth || naturalWidth < 600 || naturalHeight < 500 || |
|
|
|
if (!naturalWidth || naturalWidth <= 600 || naturalHeight <= 500 || |
|
|
|
(typeof(disableSmallImage) != 'undefined' && disableSmallImage) |
|
|
|
(typeof(disableSmallImage) != 'undefined' && disableSmallImage) |
|
|
|
) { |
|
|
|
) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|