fix bug
check for width or height - no need of both
actual sizes of thumbnails in db and in the names on s3, not requested size