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

HRC-721 images not showing #106

Open
justinasfour04 opened this issue Aug 16, 2021 · 35 comments
Open

HRC-721 images not showing #106

justinasfour04 opened this issue Aug 16, 2021 · 35 comments
Assignees

Comments

@justinasfour04
Copy link

justinasfour04 commented Aug 16, 2021

I'm not sure if this is the issue but it seems like if the nft.uri is missing the following place holder gets displayed

<div class="nft-item" v-else-if="nft.uri">

image

The nfts of Harmonauts are missing the URI but I looked at the 721 protocol and it doesn't seem like it's needed.
Can someone look into why the NFT images are not appearing on the wallet

export async function getTokenURI(tokenid, contractAddress) {

This function is getting called in the vue to get the uri given the owner id. Something is preventing it from retrieving the uri

@sophoah
Copy link

sophoah commented Aug 19, 2021

@ethlocker are you the correct person to look at that issue ?

@datpenguinclub
Copy link
Contributor

@ethlocker @sophoah have fixed this issue in this PR, please review and merge - #109

@justinasfour04
Copy link
Author

When should we see the changes in the extension? Do we have to manually update?

@datpenguinclub
Copy link
Contributor

@justinasfour04 have raised this with on Twitter - https://twitter.com/DatPenguinClub/status/1454099046944149505?s=20

Retweet and remind them to update the release

@justinasfour04
Copy link
Author

@datpenguinclub is it updated ?

@datpenguinclub
Copy link
Contributor

@justinasfour04 yes mate - it's updated - also our pre-sale is live at https://datpenguinclub.com . Come and mint yourself a 🐧 and view them in the browser extension wallet in all their glory. 😉😅

@datpenguinclub
Copy link
Contributor

also @justinasfour04 chrome automatically updates all extensions, so I don't think you have to manually update it - but the version that has the fix is 1.2.5 - the latest one

@justinasfour04
Copy link
Author

It doesn't seem to be working. I still get the NFT icon

@datpenguinclub
Copy link
Contributor

@justinasfour04 could you right click your chrome extension and press "Manage Extension" and make sure that your wallet is on the latest version - 1.2.5

@justinasfour04
Copy link
Author

image

@datpenguinclub
Copy link
Contributor

@justinasfour04 cool - but with the latest version - with my fix - I'm able to view the NFT along with their attributes
wallet_2
wallet

@justinasfour04
Copy link
Author

I am not

@justinasfour04
Copy link
Author

I guess I'll fork it and make the change myself and then add to review

@datpenguinclub
Copy link
Contributor

@justinasfour04 - could you exit out of the pop-up and open it back up again if it renders - if not it maybe that the asset associated with your NFT is no longer available

@datpenguinclub
Copy link
Contributor

@justinasfour04 Well there's no change to be made - this was the change that was preventing the render #109

@justinasfour04
Copy link
Author

It works perfectly fine on Metamask, why does this have to be any different. Also I know that all the metadata is there for those NFTs I have

@justinasfour04
Copy link
Author

image

@justinasfour04
Copy link
Author

stuck forever loading

@datpenguinclub
Copy link
Contributor

that's on the right path

@datpenguinclub
Copy link
Contributor

close the pop-up and open it back up again

@justinasfour04
Copy link
Author

I am doing that

@datpenguinclub
Copy link
Contributor

@justinasfour04 - I reckon the only solution left is uninstalling the chrome extension and re-installing it

@datpenguinclub
Copy link
Contributor

@justinasfour04 and to check if it works - come mint a 🐧 at https://datpenguinclub.com 😉

@justinasfour04
Copy link
Author

I'm not minting a penguin just to see that it works.

@justinasfour04
Copy link
Author

Removed extension and added it back. Not a single NFT loads

@datpenguinclub
Copy link
Contributor

@justinasfour04 well you could try it on the testnet - https://test.datpenguinclub.com - use the faucet https://faucet.pops.one/ to give yourself some ONE on the test network - and you could mint a penguin on test.datpenguinclub.com on the harmony testnet

@justinasfour04
Copy link
Author

Why are you shilling penguin. I'm telling it's not a good fix

@datpenguinclub
Copy link
Contributor

@justinasfour04 I'm not shilling you my penguin - it costs you $0 to test it on the test network.

@justinasfour04
Copy link
Author

How about you test it with other nfts
like pixel pirates or the frey or harmonauts

@datpenguinclub
Copy link
Contributor

@justinasfour04 if you don't think it's a proper fix - you're welcome to give a better fix. I was just trying to tell you that my fix seems to fix not being able to view NFTs (attached screenshot above)..

Are any of these other projects like pixel pirates / freys and the harmonauts on the harmony testnet ?? if yes what's their URL ?? More than happy to test them out

@datpenguinclub
Copy link
Contributor

@justinasfour04 I'm just trying to tell you that this issue has been solved - and I have screenshots both on the testnet and mainnet - I'm not trying to shill you anything - not an opinion - a fact

That's an explorer page - I can't mint anything on there - I need URLs to the projects test environments running on the harmony testnet - not the explorer page.

@datpenguinclub
Copy link
Contributor

datpenguinclub commented Nov 9, 2021

@justinasfour04 Do you have the URL to testnet version of harmonauts / or freys / or any other Dapps you mentioned ?? I mentioned mine - cause I have a test version of my Dapp running on the harmony testnet - so you can test it without any real $$.

Cause we'd like to have end to end integration and best UX when users do use our Dapp. So I'm not shilling you anything, in fact no one is asking me to any of this - I'm just here trying to help. I'm signing off for now 😶🤷‍♂️

@justinasfour04
Copy link
Author

Issue fixed in the following #111
image
image

@justinasfour04
Copy link
Author

justinasfour04 commented Nov 9, 2021

@datpenguinclub @givp @ethlocker @sophoah

@sophoah sophoah assigned hypnagonia and unassigned imyugioh Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants