modifying path for img