use insertImage.state when looking for image