only publish if the image is non-zero size