What is the best way to store image resource for ur dapp?

In case to build a custom dapp, we may need to upload lot of resources like images, gifs, videos, etc.

what is the best way to manage it for a business scale useage?

1 Like

Upload them on IPFS, and then save the CID in canister.

1 Like

@Hazel has something that works directly on the IC: https://xe5ii-jiaaa-aaaaf-qaaya-cai.raw.ic0.app/

2 Likes

To clarify; I’m not suggesting you depend on that, I just wanted to demonstrate that it’s possible.

This imo presents a solid use case for badlands - as computational and storage costs will be relatively more affordable it could be used to host data like images etc. Using a hashing method in JS this could be setup to ensure images being server are correct. Utilise the IC for more secure computation (token logic, immutable data storage etc) and badlands for images, files and non-important data.

According the maturity of your development, BigMap could be an option see also CanCan application.

This is a nice one~! :grinning: :grinning: :grinning: