image should check both value and src
image should check both value and src