Images
This guide explains how to add images to your blog articles.
Uploading Images
Using Admin UI
- Open the Admin UI at
/admin - Navigate to the article editor
- Click the image upload button in the toolbar
- Select your image file
- The image URL will be automatically inserted
Supported Formats
- JPEG (
.jpg,.jpeg) - PNG (
.png) - GIF (
.gif) - WebP (
.webp) - SVG (
.svg)
Markdown Syntax
Basic Image
markdown
Image with Title
markdown
The title appears as a tooltip on hover.
Image Sizing
Width Specification
Add a query parameter to control width:
markdown
Height Specification
markdown
Both Dimensions
markdown
WARNING
When specifying both dimensions, the image may be cropped to fit. Use only width for responsive images.
Captions
Add a caption below the image using emphasis:
markdown

*Photo taken at Mt. Fuji, 2024*CDN URLs
Images uploaded through the Admin UI are automatically served via CDN:
text
https://cdn.blog.tqer39.dev/images/{image-id}.{ext}URL Structure
| Part | Description |
|---|---|
cdn.blog.tqer39.dev | CDN domain |
images | Image directory |
{image-id} | Unique image identifier |
{ext} | File extension |
Best Practices
- Use descriptive alt text - Important for accessibility
- Optimize before upload - Keep file sizes reasonable
- Use WebP when possible - Better compression
- Add captions for context - Help readers understand the image
Linking Images
Make an image clickable:
markdown
[](/images/full-size.jpg)