safer HD image url parsing