PixiqueAi
Back to blog

How to Prepare Images for WordPress

WordPress powers blogs, business sites, and WooCommerce stores — and every image you upload triggers an automatic factory of derivatives. Thumbnail, medium, large, full — sometimes theme-specific sizes too. Upload a 24 MP phone photo and WordPress stores half a dozen massive files you'll never display.

Preparing images **before** Media Library upload is the highest-leverage optimization most site owners skip. This guide covers WordPress and WooCommerce prep for 2026: upload limits, auto-generated sizes, recommended dimensions, WebP plugin versus manual workflow, featured images, product galleries, alt text, lazy loading interaction, and compress-resize order. For general web sizing, see best image size for faster loading; for SEO, see optimize images for SEO.

How WordPress processes uploads

On upload, WordPress:

1. Stores the **original** (scaled down if over 2560 px big image threshold by default). 2. Generates registered **intermediate sizes** — typically thumbnail (150×150 crop), medium (300 max), medium_large (768), large (1024×1024 max height/width). 3. Themes and plugins register **additional sizes** — WooCommerce gallery, hero banners, card thumbnails.

Your theme picks sizes for each layout. The **full** size often displays on single posts — but only if upload width exceeds content column.

Understanding this prevents uploading 5000 px files "for quality" when the theme never serves beyond 1200 px width.

The big image scaling threshold

WordPress 5.3+ scales originals over **2560 px** on longest edge to `-scaled` suffix. You lose direct access to full resolution in admin — still stored but confusing for editors.

Pre-resize to intended delivery max avoids WordPress surprise scaling and keeps Media Library predictable.

WebP plugins vs manual pre-conversion

**Plugin approach** (ShortPixel, Imagify, EWWW, WebP Express):

- Converts on upload or bulk-optimizes library. - Serves WebP via rewrite rules or `<picture>`. - Good for retroactive optimization of 10,000 legacy uploads.

**Manual pre-conversion:**

- Control quality before WordPress second pass. - Use Image Converter or WebP guide. - Upload WebP if theme/plugin supports; keep JPEG fallback master in archive.

Site-wide format policy: best format for websites 2026.

Alt text and accessibility at upload

WordPress Media Library alt field feeds:

- Screen readers. - SEO image search. - Image search traffic.

Add descriptive alt during upload — not filename DSC_0042.jpg. Deep guide: optimize images for SEO.

Lazy loading and LCP

WordPress 5.5+ lazy-loads images by default. **Featured hero and first product image** should often opt out of lazy load (theme setting or plugin) — they are LCP candidates.

Compressing heroes aggressively hurts LCP scores less than oversized uncompressed files — balance with PageSpeed guide.

srcset and responsive images

WordPress auto-generates `srcset` from registered sizes. Uploading only at correct max width ensures srcset entries are useful — not five sizes all downscaled from one 6000 px monster.

For manual control, some themes prefer exact width uploads per breakpoint — advanced; default WordPress srcset works when upload width is sane.

EXIF and privacy

Public Media Library URLs expose uploaded files. EXIF may contain GPS and camera serial — strip before upload. EXIF guide. Image Compressor typically strips on export.

Upload limits and hosting constraints

Shared hosts often limit:

- **PHP upload_max_filesize** — 2–64 MB. - **Memory** for image processing — huge PNG fails silently.

Pre-compress to under 1 MB for blog, under 2 MB for product — avoids timeout and fits backup windows.

Compress-before-upload workflow

Standard pipeline for any WordPress image:

1. Edit crop/composition in external tool if needed. 2. Resize to theme content width × 2. 3. Compress once — JPEG Q82–88 blog, Q85–90 product. 4. Optional WebP duplicate for plugin-less modern serving. 5. Upload to Media Library. 6. Set alt text and title. 7. Insert into post/product — use "Large" or "Full" size appropriately, not always Full if oversized.

Never upload → edit in WordPress → re-upload — duplicates media entries.

Common WordPress image mistakes

**Uploading camera originals** — Storage bloat, slow backups, no visual gain.

**Using Full size in content when Large suffices** — Serves bigger file than column width.

**Skipping alt text** — Accessibility and SEO loss.

**Double WebP conversion** — Plugin re-compresses already crushed files.

**Mixing aspect ratios in WooCommerce grid** — Theme crops inconsistently.

PixiqueAI WordPress prep summary

Blog post: crop → resize 1400 px wide → compress Q85 → upload Featured + inline.

WooCommerce: product cutout pipeline → 2048 square → product compress → upload gallery.

Plugin compatibility note

Page builders (Elementor, Divi) may register custom image sizes — check theme docs and add 100–200 px buffer to resize targets.

Putting it together

WordPress image prep means **right-sizing before upload**, not fixing bloat after. Let WordPress generate thumbnails from sane masters; compress once; set alt text; align WooCommerce with marketplace export presets. General compression theory lives in compress without losing quality — this guide applies it to the Media Library factory that runs on every upload.

Frequently asked questions

What size should I upload images to WordPress?+

Upload at 1.5× to 2× your theme's content width — typically 1200–1600 px wide for blog content, 2048 px for WooCommerce product galleries. WordPress generates smaller sizes automatically; oversized uploads waste storage and slow backups.

Does WordPress compress uploaded images?+

WordPress generates thumbnail, medium, large, and full-size variants. JPEG quality is filterable (default ~82). Plugins may add WebP conversion. Pre-compressing before upload gives you control before WordPress applies its defaults.

Should I use a WebP plugin or pre-convert images?+

Either works. Pre-converting with an external tool ensures consistent quality before upload. WebP plugins (ShortPixel, Imagify, WebP Express) automate on upload — useful for large existing libraries. See our WebP and format guides for strategy.

What image size for WooCommerce product galleries?+

Match Shopify guidance: 2048×2048 px square or theme-documented size. WooCommerce uses WordPress media sizes for catalog thumbnails — consistent upload dimensions keep shop grids uniform.

How do I avoid blurry WordPress images?+

Upload sufficient pixel width for display size × retina (2×). Do not upload tiny images stretched by CSS. Do not rely on WordPress to upscale — use AI upscale on small sources before upload if needed.

Should I strip EXIF before WordPress upload?+

Stripping EXIF reduces file size and removes GPS privacy data from public media URLs. Most compression tools strip metadata on export. See our EXIF guide for details.