March 17, 2023

Moralis Launches NFT Image Preview Feature

Table of Contents

We at Moralis are thrilled to release our NFT Image Preview feature!

Moralis Adds NFT Image Previews 

We’re now adding our new “NFT Image Preview” feature to all our existing endpoints that return NFTs. 

Moralis’ NFT Preview Feature allows you to generate thumbnail previews for NFT images. Users can generate NFT thumbnail previews in low, medium, and high resolution. These differently sized images mean that the previews can easily be used for different purposes within users’ applications.

Our NFT Preview Feature has now been integrated across all endpoints that return NFTs. To access NFT image previews, simply set the new query parameter ‘media_items’ to true. For example, try the following link to fetch NFTs for a given wallet, along with image previews:

https://deep-index.moralis.io/api/v2/{address}/nft?media_items=true

Our feature already supports image types such as JPG, JPEG, PNG, GIFs, TIFF etc. Currently WEBP and SVG are not supported, but we are planning to add support for even more media types, such as video, in the future. 

NFT image resolutions can be very large (2 to over 10 MB). Prior to this feature, whenever someone wanted to offer NFT image previews, their users would have to download each NFT as the page rendered, impacting page load times and overall UX. Now, our users have the option to select lower resolution images based on their unique use case. For example, on a list page that might list over 20 NFTs, they can use the low image resolution. This will result in an NFT preview that’s much smaller in size and loads quicker. Whilst on a specific NFT detail page, they might opt for large or original.

What is Moralis?

Moralis is the leading enterprise-grade Web3 API provider, seeking to bridge the development gap between Web2 and Web3. Slash your go-to-market time, cost, and complexity with Moralis’ suite of Web3 APIs

Stream real-time on-chain events into your own backend with Moralis Streams. Understand Web3 events and get human-readable insights with Moralis’ transaction labeling and decoding. Utilize industry-leading Web3 APIs, such as our NFT API, Token API, or DeFi API to realize your Web3 project in a flash.

Learn everything from about ZK-rollup projects to building a Web3 Amazon clone, the best alternative to notify custom webhooks, or how to buy an ENS domain with the Moralis Blog. Whether you’re looking to build a wallet or get easy access to free testnet faucets, Moralis has got you covered. Try Moralis for free today!

Moralis Money
Stay ahead of the markets with real-time, on-chain data insights. Inform your trades with true market alpha!
Moralis Money
Related Articles
November 30, 2022

Moralis Adds Support for Palm Network

January 17, 2023

Moralis to Add Aptos Support

February 23, 2024

Moralis Launches Wallet Net Worth 

September 8, 2022

Introducing Self-Hosted Moralis Servers

February 17, 2023

Moralis Releases Transaction Labeling

April 4, 2023

Morningstar Ventures to Empower Web3 Innovation with Moralis

March 28, 2024

Introducing Token Logos for Token API

April 26, 2023

New Moralis Streams Feature: Spam Detection

November 15, 2022

Moralis Introduces Support for the Optimism Network