IPFS Dedicated Gateways: Optimizing Images
Learn about the Filebase IPFS Dedicated Gateways Image optimization features.
The Filebase IPFS Dedicated Gateways support image optimization features. This tutorial will walk through some of the common image optimization workflows, but for a full list of the supported image optimization tags, please see our documentation here:



Filebase IPFS Dedicated Gateways are a feature only available to paid users. They are not available for users on the free tier.

Gateway names are subject to the same naming restrictions as bucket names. All gateway names must be lowercase, between 3-63 characters, and must be unique.

https://gateway-name.myfilebase.com/ipfs/IPFS_CID
Replace
gateway-name
with your IPFS Dedicated Gateway name, and IPFS CID
with your image’s IPFS CID.
https://gateway-name.myfilebase.com/ipfs/IPFS_CID?img-width=300
https://gateway-name.myfilebase.com/ipfs/IPFS_CID?img-height=800
The height will be automatically scaled to fit the image’s resolution when the width is changed.
https://gateway-name.myfilebase.com/ipfs/IPFS_CID?img-fit=contain
https://gateway-name.myfilebase.com/ipfs/IPFS_CID?img-quality=100
https://gateway-name.myfilebase.com/ipfs/IPFS_CID?img-anim=false
The value of this filter is a floating-point number between 0, which refers to no sharpening, and 10, which refers to maximum sharpening. For most images, 1 is the recommended value.
https://gateway-name.myfilebase.com/ipfs/IPFS_CID?img-sharpen=0.5
For the full list of possible image optimization options, please refer to our documentation here:
If you have any questions, please join our Discord server, or send us an email at [email protected]