Closed arpitsingh1409 closed 1 year ago
Oh!! This is great! Where did you learn that this loader is the best one?
Thanks a lot! I was just Googling around why Image rendering even requires server-side operations and how different loaders have different operations. I read on StackOverflow that the "akamai" loader is the best one for static websites, though for websites with server-side rendering other loaders are recommended for optimal performance.
Awesome! Thanks for this!! I was having such a hard time getting it to work statically, this is great!
Thanks a lot for your comments, Patrick! It really feels good to get complimented by such a talented and accomplished individual like you.
Sorry for being repetitive, but just asking, am I still eligible for that NFT gift? :sweat_smile:
What NFT gift?
Oh, actually in the course video you said that the first person to solve this issue (hosting to IPFS) and make a PR will get an NFT from you as a gift.
Wow I totally forgot about that!!
Yes! I'm able to connect to your site!! Wow this is great!!
Ok, send me your address I'll make you a custom NFT :)
Thanks a lot for your kind words, Patrick.
My address is: 0x513417e1393a08b6E9D882cafE191086F131d7E1
or
arpitsingh.eth
Thanks a ton, Patrick! I just finished the course and it was awesome and gave me so much valuable information. Again, thanks a lot for contributing so much to the community!
I changed the default image loader to "akamai" in next.config.js as it is known to render images without help from server (client-side rendering). I have been using this method and it's very easy and simple as no code change is required, except an addition to the config file.
I have hosted my website at: ipfs://QmQKJRcqvYSCnt9YzSVdXcjpyrkW47cT9HYDhf1Tmw3KHL
or
nft-marketplace.arpit-singh.me
Both of which can only deploy a static website and my website is working very fine as of now, with images rendering as expected.
If I am still eligible for an NFT gift, for which I really appreciate @PatrickAlphaC for such an initiative, here is my address: 0x513417e1393a08b6E9D882cafE191086F131d7E1 or arpitsingh.eth
P.S. :- If you are visiting my website, please make sure that the MetaMask is connected to Rinkeby Testnet, as if your wallet is connected to another network the website will show up an error.