Finnally got image validation to work! Yay