Bug: A link produces a broken card

Input:
image

Output:

image

1 Like

does this happen with all links or just this specific one?

1 Like

this particular url returns a broken url for it’s preview image (maybe that’s something to let them know about). I’ve added a check to not render broken images for previews.

So the example above will now be displayed as if it didn’t have an image:

Screen Shot 2022-02-07 at 10.36.33 AM

3 Likes

That’s a great fix, I have various link cards where their link previews are screwed up. Thanks!

3 Likes

There is a similar problem when the image associated with URL is too small. Maybe there could be a solution also for this? :slight_smile: @pirijan
image

2 Likes

i could force a min-width for cards with a preview image…

In cases like this though, the preview is still going to look bad because the source data is bad (this site is using a too-small-favicon as the article image). Possibly in this case, it might make more sense to hide the url preview and show the url and write a description yourself (e.g. homony vs homophone vs homograph)

1 Like