-
-
Notifications
You must be signed in to change notification settings - Fork 932
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
Incorrect behavior of faker.image
functions
#556
Comments
There are other categories that aren't working either e.g. |
So, do we have other alternative sources? or are we going to remove the non-existing ones? |
In principle, there are enough services on the Internet for obtaining images. It remains only to choose normal |
I'm not yet sure if we want to just provide more and more alternative services, or if we may want to provide a helper/factory functionality to just provide an image provider yourself but have a defined way of getting the random images. @ST-DDT should we count this as v6.1 bug fix? or is it really needed right now in v6.0 and holding us back to release a v6.0.0? |
The links are working (although the show wrong content). removing the methods would be more breaking. |
there is also: https://loremflickr.com/ there is also https://picsum.photos/ but there seems to be no selection by category |
IMO this is a bigger issue to tackle, so unless someone wants to propose a PR that somehow easily fix this, I would like to move this into v7+ and rethink about the whole image provider structure. |
I can try to implement this, only a little later |
Yes, I think it won't hurt by the way, I noticed that there are other image providers in the code. But the site is the same lorempixel.com does not work |
I think this can be closed. There's a much larger project here which is to decide upon a |
Describe the bug
Some image functions associated with the placeimg.com service do not work due to the fact that the service has abolished some image categories.
example:
maybe you should also check related function
faker.image.image()
list of current categories taken from placeimg.com:
Reproduction
https://stackblitz.com/edit/faker-js-demo-bbhemk?file=index.ts
Additional Info
No response
The text was updated successfully, but these errors were encountered: