parse correctly image urls