added filtering by limit width*height of image