In this article
- Why Compress Images in Framer?
- Installing Skwiz
- Scanning Your Project
- Choosing Compression Settings
- Preview and Compare
- Batch Replace
- Advanced Techniques
You've built a stunning Framer site. The layout is perfect, the interactions are smooth, the typography is on point. But when you publish and run a PageSpeed test, the score is disappointing — and the diagnosis is always the same: unoptimized images.
This guide shows you exactly how to compress images inside Framer using the Skwiz plugin, step by step.
Why Compress Images in Framer?
Most designers optimize images before uploading to Framer using external tools. That works, but it has problems:
- You have to leave Framer, open another tool, export, compress, re-import
- CMS images uploaded by clients or content editors bypass your optimization workflow
- You can't see how compression affects images in context of your actual layout
- It's tedious to do for every image across a multi-page site
Skwiz solves all of these by running directly inside Framer. Scan, compress, preview, and replace — without ever leaving the editor.
Installing Skwiz
- Open your Framer project
- Go to Plugins in the left sidebar (or press
⌘/Ctrl + /) - Search for "Skwiz"
- Click Install
- Open Skwiz from your Plugins panel
You can try all features with the free trial — no credit card required.
Scanning Your Project
Skwiz offers five scanning modes depending on what you want to optimize:
| Mode | What It Scans | Best For |
|---|---|---|
| Current Selection | Selected canvas elements | Quick single-image optimization |
| Current Page | All images on active page | Page-by-page optimization |
| Entire Project | All images across all pages | Full site audit |
| Scan CMS | All CMS collection images | Content-heavy sites |
| Upload | Local files from your computer | Pre-optimization before adding to Framer |
For your first pass, use Entire Project to get the complete picture.
Choosing Compression Settings
After scanning, set your compression parameters:
- Format: WebP is the best default choice. 25-35% smaller than JPEG at equivalent quality, with 97%+ browser support
- Quality: 80 is the sweet spot for most images. Range from 75 (thumbnails) to 85 (hero images)
- Resize: Set max width to match your layout. 1920px for full-width, 1200px for content columns, 800px for cards
Preview and Compare
Before replacing anything, Skwiz shows a side-by-side preview of every image:
- Visual comparison — see original vs compressed at full resolution
- File size reduction — exact bytes saved and percentage
- Per-image control — adjust settings or skip individual images
- Zoom and pan — inspect fine details at pixel level
This step is crucial. Never batch-replace without previewing first.
Batch Replace
Once you're satisfied with the previews, hit the batch replace button. Skwiz replaces each image in your Framer project through the API — your layout, positioning, and styling remain untouched. Only the image data changes.
For CMS images, the process is identical. Skwiz writes the optimized images directly back to CMS items.
Advanced Techniques
Presets
Save your preferred settings (format, quality, resize) as a preset. Apply it with one click on future projects — consistency across all your work.
Visual Effects
Skwiz includes built-in effects — brightness, contrast, saturation, blur, sharpening. Apply adjustments before compression for polished results without opening Photoshop.
Smart Advice
Skwiz analyzes each image and provides intelligent recommendations — flagging images that are already optimized, suggesting format changes, and identifying oversized files.