image loading error handled for wrong paths