Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

validate image links #45

Open
yeo-yeo opened this issue Apr 24, 2020 · 0 comments
Open

validate image links #45

yeo-yeo opened this issue Apr 24, 2020 · 0 comments

Comments

@yeo-yeo
Copy link

yeo-yeo commented Apr 24, 2020

It looks like some people have been lazy when adding dogs to the API and not submitted proper image links, which leads to some broken images on the home page. If you really want to give yourself a challenge, perhaps you could dream up a way to validate the dog's image property you get back from the API and only show the card if you think it checks out!

e.g.
http://www.imagesite.com/dogimage.jpg
❌ asdffghjjkk

@yeo-yeo yeo-yeo changed the title validate bad image links validate image links Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant