Image Hosting Guide
Image hosting determines where images from clipped content are stored. Proper image hosting configuration ensures images remain accessible long-term, avoiding image loss or display issues.
Table of Contents
- Why Configure Image Hosting
- Four Options Compared
- Alibaba Cloud OSS Setup
- Tencent Cloud COS Setup
- Cloudflare R2 Setup
- Notion Direct Upload
- FAQ
1. Why Configure Image Hosting
The Problem
Many platforms (like Xiaohongshu, Weibo) have hotlink protection on images. Directly referencing original image URLs causes:
- Images appearing blank in Notion
- Images expiring after some time
- Images failing to load when viewed across platforms
The Solution
With image hosting configured, ETN will:
- Download original images
- Upload to your image host
- Use image host URLs in Notion
This way images are permanently stored in your own storage space, free from original platform restrictions.
2. Four Options Compared
| Option | Cost | Setup Difficulty | Best For |
|---|---|---|---|
| Alibaba Cloud OSS | ~$0.15-0.70/month | Medium | China users (recommended) |
| Tencent Cloud COS | ~$0.15-0.70/month | Medium | Tencent Cloud users |
| Cloudflare R2 | 10GB free | Higher | Global users, tech-savvy users |
| Notion Direct | Free (limited) | Zero config | Light usage |
Recommendations
- China users: Alibaba Cloud OSS (fast access, stable)
- Global users: Cloudflare R2 (global CDN, generous free tier)
- Light usage: Notion Direct (no config needed, has storage limits)
3. Alibaba Cloud OSS Setup
3.1 Create OSS Bucket
- Log in to Alibaba Cloud Console
- Click "Bucket List" → "Create Bucket"
- Configure:
- Bucket Name: Custom, e.g.,
my-etn-images - Region: Choose nearest region (e.g., "China East 1 - Hangzhou")
- Storage Class: Standard
- ACL: Public Read (important!)
- Bucket Name: Custom, e.g.,
- Click "OK" to create
3.2 Get AccessKey
- Click avatar top-right → "AccessKey Management"
- Click "Create AccessKey"
- After security verification, note down:
- AccessKey ID
- AccessKey Secret
AccessKey Secret is shown only once, save it immediately. Recommend creating sub-account AccessKey with only OSS permissions.
3.3 Get Endpoint
On Bucket overview page, find "Access Domain" section, copy "External Endpoint", format like:
oss-cn-hangzhou.aliyuncs.com
3.4 Configure in ETN
- Mini Program → Profile → Image Hosting
- Toggle "Image Hosting" switch on
- Select provider "Alibaba Cloud"
- Fill in configuration:
| Field | Example |
|---|---|
| Endpoint | oss-cn-hangzhou.aliyuncs.com |
| AccessKey ID | LTAI5t... |
| AccessKey Secret | your secret |
| Bucket Name | my-etn-images |
- Click "Save"
4. Tencent Cloud COS Setup
4.1 Create Bucket
- Log in to Tencent Cloud COS Console
- Click "Bucket List" → "Create Bucket"
- Configure:
- Name: Custom, e.g.,
etn-images - Region: Choose nearest region
- Access Permission: Public Read, Private Write
- Name: Custom, e.g.,
- Click "OK" to create
4.2 Get Keys
- Go to API Key Management
- Click "Create Key"
- Note down:
- SecretId (corresponds to AccessKey ID)
- SecretKey (corresponds to AccessKey Secret)
4.3 Get Configuration Info
From bucket "Basic Configuration" page, get:
- Region: e.g.,
ap-guangzhou - Bucket Name: e.g.,
etn-images-1234567890
4.4 Configure in ETN
- Mini Program → Profile → Image Hosting
- Enable image hosting, select "Tencent Cloud"
- Fill in:
| Field | Example |
|---|---|
| Region Name | ap-guangzhou |
| AccessKey ID | AKIDxxxxx |
| AccessKey Secret | your secret |
| Bucket Name | etn-images-1234567890 |
- Click "Save"
5. Cloudflare R2 Setup
Cloudflare R2 offers 10GB free storage, ideal for global users or cost-conscious users.
5.1 Create R2 Bucket
- Log in to Cloudflare Dashboard
- Select "R2 Object Storage" from left menu
- Click "Create bucket"
- Enter bucket name, e.g.,
etn-images - Select location (recommend "Automatic")
- Click "Create bucket"
5.2 Enable Public Access
- Enter bucket → "Settings"
- Find "Public access" section
- Click "Allow access" to enable
.r2.devdomain
Or configure a custom domain for better access speed.
5.3 Create API Token
- On R2 page right side, click "Manage R2 API Tokens"
- Click "Create API token"
- Configure permissions:
- Permissions: Object Read & Write
- Bucket: Select the bucket you created
- Click "Create API Token"
- Note down:
- Access Key ID
- Secret Access Key
5.4 Get Endpoint
Endpoint format:
https://[account-id].r2.cloudflarestorage.com
Account ID can be found on the right side of Cloudflare dashboard.
5.5 Configure in ETN
- Mini Program → Profile → Image Hosting
- Enable image hosting, select "Cloudflare R2"
- Fill in:
| Field | Example |
|---|---|
| Endpoint | https://abc123.r2.cloudflarestorage.com |
| Access Key ID | your Access Key ID |
| Secret Access Key | your Secret Access Key |
| Bucket Name | etn-images |
| Custom Domain (optional) | https://cdn.yourdomain.com |
| Folder Path (optional) | images/etn/ |
- Click "Save"
6. Notion Direct Upload
If you don't want to configure image hosting, you can use Notion to store images directly.
How to Use
- Mini Program → Profile → Image Hosting
- Enable image hosting, select "Notion"
- Click "Save"
Notes
| Item | Description |
|---|---|
| Storage Space | Limited by Notion plan (free tier: 5MB/file) |
| Upload Speed | Relatively slower |
| Access Speed | May be slow in some regions |
| Best For | Light users with few images |
Notion free tier limits single files to 5MB, larger files will fail to upload. Recommend cloud storage for paid users or those with many images.
7. FAQ
Q: After configuring image hosting, will previous clips' images change?
A: No. Image hosting configuration only affects new clips. Previously saved content is unaffected.
Q: Does image hosting configuration work in the extension too?
A: Yes. Image hosting configuration is shared across all platforms. After configuring in mini program, Chrome extension clips will use the same image host.
Q: What if image upload fails?
A: Check these points:
- Is image hosting switch enabled
- Is configuration info correct (especially keys)
- Is bucket permission set to "Public Read"
- Is storage space sufficient
Q: Can I change image hosts?
A: Yes, anytime. After switching, new clips use the new host. Already saved images remain on the original host.
Q: How much does image hosting cost?
A: Using Alibaba Cloud OSS as example:
- Storage: ~$0.017/GB/month
- Bandwidth: ~$0.035/GB (external download)
- Average user (100 images/month): ~$0.15-0.50/month
Q: What happens without image hosting?
A: Images from some platforms (Xiaohongshu, Weibo, etc.) may not display in Notion due to hotlink protection. Recommend configuring image hosting to ensure long-term image accessibility.
Screenshots Needed
The following locations need screenshots:
-
Alibaba Cloud OSS
- Create Bucket page
- AccessKey Management page
- Endpoint location
-
Tencent Cloud COS
- Create Bucket page
- API Key page
-
Cloudflare R2
- R2 Console
- Create API Token page
-
ETN Configuration Page
- Image Hosting configuration page
For help, tap "Contact Support" in the mini program Profile to add our WeChat.