Skip to content

Demo | Doesn't display alt text if request to image source is blocked by client #8

@scriptype

Description

@scriptype

Hi, firstly I have to say that I really liked the idea behind this project. 👍

The problem is that I'm using the "Privacy Badger" chrome extension to block tracking networks, and seems like it also blocks images.unsplash.com, which I'll manually whitelist after submitting this issue.

I noticed that if I "refresh & use <img />", alt texts are properly displayed in place of the unloaded images. But if I "refresh & use <img-2>", alt texts are gone. I didn't inspect the source code much and not sure if this is only a demo problem. Just wanted to inform you about this situation.

What I expected: seeing alt text if img-2 fails loading the image for any reason.

I'm seeing this in the console:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions