faker.dart icon indicating copy to clipboard operation
faker.dart copied to clipboard

Unsplash images are not working

Open 2shrestha22 opened this issue 1 year ago • 4 comments

Generating random image from Faker.instance.image.unsplash.people() does not work. Unsplash provides not found image.

2shrestha22 avatar Apr 21 '23 12:04 2shrestha22

seems there is something wrong with their public api, I'll see if something has changed or it's a temporary thing https://source.unsplash.com/category/people

casvanluijtelaar avatar Apr 24 '23 07:04 casvanluijtelaar

Unsplash source is deprecated for a long time. https://changelog.unsplash.com/deprecations/2021/11/25/source-deprecation.html. It this the reason?

2shrestha22 avatar May 06 '23 10:05 2shrestha22

A good alternative would be https://loremflickr.com/ and https://picsum.photos/ (already available). FYI LoremPixel also does not work.

2shrestha22 avatar May 06 '23 12:05 2shrestha22

since picsum is available I will most likely deprecate the other 2 and go with a single solution going forward

casvanluijtelaar avatar Jul 10 '23 13:07 casvanluijtelaar