timob-12125: check validity of image path