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

NFT image resolution and aspect ratio #66

Closed
luciorubeens opened this issue Sep 9, 2023 · 1 comment · Fixed by #308
Closed

NFT image resolution and aspect ratio #66

luciorubeens opened this issue Sep 9, 2023 · 1 comment · Fixed by #308
Labels
enhancement New feature or request

Comments

@luciorubeens
Copy link

Describe the bug

The displayed image resolution is currently quite low, and it does not take into account the correct aspect ratio, resulting in stretched images. See the screenshot below comparing Dashbrd and Blur.io.

Possible Solution

As mentioned here https://docs.alchemy.com/reference/nft-api-faq#how-can-i-resize-a-thumbnail-and-maintain-the-original-resolution-and-aspect-ratio,

To fix the resolution issue, a simple solution is to replace the Cloudinary path from /thumbnailv2/ to /scaled/, also enabling the loading of gif images instead of static ones. Example:

https://res.cloudinary.com/alchemyapi/image/upload/w_512,h_512/scaled/eth-mainnet/eca1c33c4e569ce7c4dee9a477ad945e

@ItsANameToo ItsANameToo added the enhancement New feature or request label Sep 12, 2023
@ItsANameToo
Copy link
Contributor

tracked with https://app.clickup.com/t/861nbbquc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants