Hide replaceImage flag if no imageSrc
Fewer conditionals