squash warnings on images