Media
Image processing, upload controls, and media file management. These settings let you fine-tune how WordPress handles files when they're uploaded and served.
#Upload Formats
WordPress restricts which file types can be uploaded to the media library by default. These settings unlock modern formats:
Setting | What it does | Rec |
|---|---|---|
Allow SVG Uploads | Enables | Yes |
Allow WebP Uploads | Enables | Yes |
Allow AVIF Uploads | Enables | - |
SVG support also adds sanitization - uploaded SVG files are scanned and cleaned before saving to remove potentially malicious code.
#Image Processing
Control how WordPress processes images after upload:
Setting | What it does |
|---|---|
Disable Big Image Scaling | Prevents WordPress from automatically downscaling images larger than 2560px |
Disable Image Sizes | Select which auto-generated thumbnail sizes to skip ( |
Progressive JPEG | Enables interlaced JPEG encoding - images render progressively instead of top-to-bottom |
Disable PDF Thumbnails | Stops WordPress from generating preview images for PDF uploads |
Disabling the 1536x1536 and 2048x2048 sizes is a good default for most sites - WordPress generates these for the block editor but they're rarely needed if you're using a page builder or classic editor.
#Upload Settings
Setting | What it does |
|---|---|
Clean Media Filenames | Strips accents and special characters from filenames on upload (e.g. |
Custom Upload Limit | Override the server max upload size - choose from 2, 5, 10, 25, 50, or 100 MB |
Clean Media Filenames is especially useful for sites with multilingual content or editors who upload files with spaces and special characters - it prevents broken URLs and improves compatibility.
#Redirects
Setting | What it does | Rec |
|---|---|---|
Disable Attachment Pages | Redirects attachment URLs (e.g. | Yes |
Disable Image Hotlinking | Blocks external sites from embedding your images directly, protecting your bandwidth | - |
Disabling attachment pages is strongly recommended - they serve thin content (just an image and title) that can hurt your SEO. The 301 redirect sends visitors and search engines to the actual post instead.
Last updated
Was this article helpful?
On this page