How to add images to posts on WordPress
Adding images to WordPress posts involves using the block editor to insert image blocks, then uploading files from your computer or selecting from the media library. You can customize image settings like alignment, alt text, and captions before publishing.
Prerequisites
- WordPress admin access
- Images saved on your computer or device
- Basic familiarity with WordPress dashboard
- Understanding of image file formats (JPG, PNG, GIF)
Step-by-Step Instructions
Access the WordPress editor
Position your cursor and add an image block
Upload or select your image
- Click Upload to select a file from your computer
- Click Media Library to choose from previously uploaded images
- Click Insert from URL to add an image from a web address
Configure image settings
- Alt text - Important for accessibility and SEO
- Caption - Optional text displayed below the image
- Link settings - Make the image clickable
Resize and crop if needed
Set featured image (optional)
Preview and publish
Common Issues & Troubleshooting
Image won't upload or shows error message
Check that your image file is under your hosting provider's upload limit (usually 2-8MB). Ensure the file format is supported (JPG, PNG, GIF, WebP). Try renaming the file to remove special characters or spaces.
Images appear blurry or pixelated
Upload higher resolution images - WordPress automatically creates multiple sizes. Avoid uploading images smaller than 1200px wide for best quality. Check your theme's recommended image dimensions.
Images not displaying on the front-end
Clear your website cache if using a caching plugin. Check file permissions on your /wp-content/uploads/ folder (should be 755). Verify the image URLs are correct in the media library.
Image block shows broken or missing
The original image file may have been deleted. Go to Media > Library to check if the image exists. Re-upload the image or select a different one from the media library.