Image Field
The image field is used to store the URL or file path of an image.
Physical Field Types
- MySQL:
varchar
- PostgreSQL:
varchar
- SQLite:
text
Applicable Scenarios
- User avatar
- Product image
- Cover image
- Background image
- Image attachment
API Return Example
json
{
"avatar": "https://example.com/images/avatar.jpg",
"cover_image": "https://example.com/images/cover.png",
"thumbnail": "https://example.com/images/thumb.jpg"
}