Modified the image-replacement mixin.