Solving the issue about image not found