How do I set up a bucket for website images?
- Create a bucket like "site-images" in your website's project.
- Make it public:
PATCH /v1/buckets/{bucket_id}/visibilitywith{"visibility": "public"}, or in the bucket's Settings › Access in the Console. - Upload images with their
content_type(likeimage/png). - Copy
public_urlfrom each object: images gethttps://img.cdn.clatterlabs.xyz/<id>. - Use the links in
<img>tags, Markdown, emails or OG tags.
Image links are cached for a year as immutable, so upload a new file when an image changes rather than expecting the old link to update.
Learn more#
Related articles
Still need help?
Tried the steps above and still stuck? Email us. We usually reply within the first hour, and always within 24 hours. A full support team is with you.
Infrastructure questions, or permanent deletion of your data
infrastructure@clatterlabs.xyzFor deleting your whole account or the data of one service.