Only replace images of a certain size