image "if" added