getting closer - bad image error when url doesn't resolve to an image file