-
-
Notifications
You must be signed in to change notification settings - Fork 562
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
Images not fetching for web support. #70
Comments
Hi @moulibheemaneti, |
I guess that would solve the problem. But I guess there will some limit for storing right? |
@moulibheemaneti Actually PokéAPI has done this (even much more images than we need to use in our app). We might simply clone their repo and remove unnecessary things. You can see the sprites that we need to clone here You can try something like this to get the image URL: For example: https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/1.png |
@hungps woah. That's great. Let's do what you suggested. |
@hungps Can I contact you through LinkedIn? |
@moulibheemaneti I will prepare another repository for storing the images (maybe this weekend) and give you the link when I'm finished. If you are currently working on it, you can use the PokeAPI URL temporarily for now. |
Sure, just send me a request |
@moulibheemaneti I've forked the PokéAPI's sprites repository. You can now load the pokemon image by using this format: |
Hey @hungps,
I'm starting the web support for the app too. While doing so, we are not able to fetch images.
And the error in terminal is:
![Screenshot 2022-11-01 at 12 22 47 PM](https://user-images.githubusercontent.com/57999522/199176151-d4f2243d-cf29-4578-91ca-26fc0a288da6.png)
But the image url in terminal is getting redirected.
The text was updated successfully, but these errors were encountered: