Before you add an image to an Elementor page, resize it to the width the layout needs and pick a format. We did that for heroes, backgrounds, galleries and logos with Pixlune’s resize tool and measured the result in JPG, WebP and AVIF. The tables below give the file size and the PSNR, a measure of how close each result stayed to a lossless copy, so you can choose with numbers instead of a rule of thumb. Your images are processed in your browser and are not uploaded to a server.
Image types in Elementor
We tested four kinds of image, each with its own width:
| Where the image goes | What we tested |
|---|---|
| Full-width hero (a Container with Content Width set to Full Width) | 1920 px wide, four photos |
| Container background | 1920 px wide, two files narrower than that |
| Gallery or card image (Basic Gallery, Image Carousel or Image Box in the free version) | 400 px and 1200 px wide, four photos and ZIP |
| Logo or icon | Not resized, three PNGs with transparency |
Every resized photo went through the same steps:
- Open Resize image.
- Under New size, choose Pixels, type the width in Width (px) and leave Keep aspect ratio on.
- In To, choose JPG, WebP or AVIF.
- Open Advanced settings and set Quality. We used 75 and 85.
- Add your images, then Download each one or Download all as ZIP.
Read this before comparing formats
The quality number means something different in each format. JPG 75, WebP 75 and AVIF 75 are three different encoders with their own scales, so the same number doesn’t give the same quality. That’s why every table shows two values together: the file size in KB and the PSNR in dB. PSNR compares the result with a lossless PNG resized the same way; a higher PSNR means a smaller average difference from that PNG. It measures the loss from compression, not from resizing.
Full-width hero
We resized two landscape photos to 1920 px wide.
| Photo → result (size in KB / PSNR in dB) | JPG 75 | JPG 85 | WebP 75 | WebP 85 | AVIF 75 | AVIF 85 |
|---|---|---|---|---|---|---|
| Leaves, WebP, 7728 × 5152, 4,402.4 KB → 1920 × 1280 | 229.3 / 38.1 | 372.9 / 40.7 | 152.2 / 37.5 | 219.6 / 39.6 | 159.9 / 40.3 | 235.6 / 41.7 |
| Aircraft, WebP, 4752 × 3168, 628.6 KB → 1920 × 1280 | 141.9 / 39.4 | 225.4 / 41.6 | 99.6 / 38.3 | 166.2 / 40.7 | 150.2 / 41.6 | 238.9 / 43.7 |
What the numbers show:
- At both quality settings, WebP gave the smallest file for both photos (2 of 2). It also had the lowest PSNR of the three formats in both.
- AVIF had the highest PSNR at both settings for both photos. Its file was smaller than JPG for the leaves and larger than JPG for the aircraft.
- The leaves photo went from 4,402.4 KB to between 152.2 KB and 372.9 KB, depending on format and quality.
Portrait photos at 1920 px wide
Two of our photos are portrait: a lake photo from a phone (stored as 4032 × 3024 and shown upright as 3024 × 4032) and a vase photo (stored as 6000 × 4000, shown as 4000 × 6000). At 1920 px wide they became 1920 × 2560 and 1920 × 2880, so they are not landscape hero examples. We list them separately:
| Photo → result (size in KB / PSNR in dB) | JPG 75 | JPG 85 | WebP 75 | WebP 85 | AVIF 75 | AVIF 85 |
|---|---|---|---|---|---|---|
| Lake, JPG, 3,976.7 KB → 1920 × 2560 | 778.6 / 32.2 | 1,102.1 / 34.6 | 802.9 / 35.0 | 1,121.3 / 38.2 | 1,058.8 / 39.3 | 1,407.8 / 41.8 |
| Vase, JPG, 10,714.3 KB → 1920 × 2880 | 39.1 / 45.6 | 75.8 / 45.5 | 24.1 / 44.5 | 40.7 / 44.7 | 11.8 / 45.3 | 31.9 / 45.7 |
- The vase results were very small: 11.8 KB for AVIF 75 at 1920 × 2880.
- For the vase, JPG 85 had a slightly lower PSNR than JPG 75 (45.5 dB and 45.6 dB) while the file was larger (75.8 KB and 39.1 KB). That is the measured value; we didn’t look into why.
- For both photos, the AVIF rows showed the tool’s note that AVIF encoding is slow. We didn’t time it.
Container background
In Elementor 4.4.2 you add a background image to a Container under Style → Background → Classic → Image.
We used the same 1920 px width for backgrounds, this time with two files that are narrower than 1920 px: an aerial texture saved as high-quality WebP and a 1280 × 1707 copy of the lake photo. The resize tool doesn’t enlarge images, so both kept their pixel size and each row said “This image is already smaller than this size, so it wasn’t enlarged.”
| File → result (size in KB / PSNR in dB) | JPG 75 | JPG 85 | WebP 75 | WebP 85 | AVIF 75 | AVIF 85 |
|---|---|---|---|---|---|---|
| Aerial texture, WebP, 369.9 KB → 1520 × 760 | 183.2 / 31.6 | 289.4 / 33.7 | 252.7 / 33.9 | 350.6 / 41.2 | 349.0 / 38.1 | 463.0 / 41.5 |
| Lake copy, JPG, 808.7 KB → 1280 × 1707 | 465.8 / 28.2 | 644.3 / 31.2 | 536.6 / 34.4 | 698.0 / 38.1 | 666.9 / 40.7 | 802.5 / 43.5 |
- Both files were already compressed. Converting them again didn’t always make them smaller: the AVIF 85 copy of the texture was 463.0 KB, larger than the 369.9 KB file we started with.
- For both files, JPG 75 gave the smallest result and the lowest PSNR.
Lazy load and LCP
We didn’t measure load times, LCP or PageSpeed scores. Below is what Elementor’s documentation says, plus what we saw on one test page.
In Elementor 4.4.2 the background image option is the “Lazy Load Background Images” setting under Elementor → Settings → Performance, on by default. Elementor’s lazy loading help page (updated 17 December 2024, checked 3 December 2026) describes the feature as “applying lazy loading to all background images except the first one.” On our single test page in Elementor 4.4.2, the page’s CSS contained a rule that hides background images from the fourth top-level container onward (from the third when the window is at most 1024 px tall, and from the second when it is at most 640 px tall).
In the same Performance tab, the “Optimized Image Loading” setting is on by default. Elementor’s page on performance features (updated 19 November 2026, checked 3 December 2026) lists a feature for “applying fetchpriority=”high” on LCP images and loading=”lazy” on images below the fold.” On the same test page, all three Image widgets got fetchpriority=“high” and none got loading=“lazy”.
Gallery and card images
We resized the same four photos to 400 px and 1200 px wide and downloaded each set as one ZIP. Two of them are the same shoe photo, once as JPG and once as an AVIF we converted from it.
400 px wide
| Photo → result (size in KB / PSNR in dB) | JPG 75 | JPG 85 | WebP 75 | WebP 85 | AVIF 75 | AVIF 85 |
|---|---|---|---|---|---|---|
| Mug, JPG, 1,363.0 KB → 400 × 386 | 9.8 / 37.3 | 15.6 / 39.7 | 6.4 / 37.9 | 9.7 / 39.4 | 8.0 / 40.1 | 12.7 / 41.2 |
| Shoe, JPG, 1,670.4 KB → 400 × 301 | 6.6 / 37.9 | 9.5 / 40.0 | 4.2 / 39.7 | 6.2 / 41.6 | 5.3 / 42.2 | 7.7 / 43.7 |
| Guidepost, WebP, 494.3 KB → 400 × 533 | 33.7 / 30.9 | 51.5 / 33.1 | 36.6 / 33.8 | 53.1 / 37.0 | 53.3 / 38.2 | 71.4 / 40.5 |
| Shoe, AVIF, 139.2 KB → 400 × 301 | 6.6 / 38.0 | 9.6 / 40.2 | 4.2 / 39.9 | 6.2 / 42.0 | 5.3 / 42.6 | 7.7 / 44.2 |
| ZIP with all 4 (KB) | 57.2 | 86.6 | 51.9 | 75.7 | 72.3 | 99.9 |
1200 px wide
| Photo → result (size in KB / PSNR in dB) | JPG 75 | JPG 85 | WebP 75 | WebP 85 | AVIF 75 | AVIF 85 |
|---|---|---|---|---|---|---|
| Mug, JPG → 1200 × 1158 | 51.1 / 41.5 | 87.4 / 43.4 | 28.9 / 40.9 | 49.3 / 42.5 | 35.0 / 42.9 | 65.4 / 44.3 |
| Shoe, JPG → 1200 × 902 | 33.8 / 39.7 | 55.4 / 41.3 | 23.4 / 40.3 | 39.2 / 41.9 | 32.3 / 42.6 | 56.2 / 43.9 |
| Guidepost, WebP → 1200 × 1600 | 303.8 / 31.0 | 438.6 / 33.5 | 329.9 / 34.7 | 463.7 / 38.3 | 475.7 / 39.9 | 620.3 / 42.7 |
| Shoe, AVIF → 1200 × 902 | 33.3 / 40.7 | 52.6 / 42.7 | 22.9 / 41.5 | 36.7 / 43.8 | 31.4 / 44.7 | 50.2 / 46.7 |
| ZIP with all 4 (KB) | 422.5 | 634.4 | 405.6 | 589.3 | 574.9 | 792.5 |
What the numbers show:
- At both widths and both quality settings, WebP gave the smallest file for 3 of our 4 photos. For the guidepost photo, JPG was smallest.
- AVIF had the highest PSNR for all 4 photos, at both widths and both quality settings.
- The ZIP at quality 75 was 51.9 KB with WebP and 57.2 KB with JPG at 400 px, and 405.6 KB and 422.5 KB at 1200 px.
Logo and icon
Logos and icons usually need transparency, so we didn’t resize them. We compressed three PNGs with Compress PNG, which keeps them as PNG, and converted the same files with PNG to WebP at quality 75 and 85.
| File (size in KB) | Before | PNG, compressed | WebP 75 | WebP 85 |
|---|---|---|---|---|
| Logo, 4020 × 1601 | 131.4 | 46.2 | 63.6 | 72.2 |
| Icon, 1024 × 1024 | 16.5 | 13.2 | 5.7 | 5.8 |
| Dog photo with the background removed, 1028 × 1370 | 621.5 | 301.3 | 92.8 | 114.5 |
For the logo, both WebP files were larger than the compressed PNG. For the icon and the dog photo, WebP was smaller.
Transparency: in all 9 results the alpha value of every pixel matched the PNG we started with.
Colour: we compared the colour of every visible pixel with the PNG we started with, grouped by how opaque the pixel is. Each opacity cell shows how many pixels changed colour and the largest change weighted by opacity (change × opacity ÷ 255, on a 0–255 scale). The last two columns show the average change per colour channel (0–255) in fully opaque pixels and in all visible pixels. A dash means the file has no pixels in that group.
| File and result | Fully opaque | Opacity 64–254 | Opacity 16–63 | Opacity 1–15 | Mean change, fully opaque | Mean change, all visible |
|---|---|---|---|---|---|---|
| Logo: pixels in the group | 1,176,631 | 17,379 | — | — | — | — |
| Logo, PNG compressed | 0 / 0 | 0 / 0 | — | — | 0.000 | 0.000 |
| Logo, WebP 75 | 802,498 / 106 | 13,818 / 42 | — | — | 0.666 | 0.761 |
| Logo, WebP 85 | 785,786 / 107 | 13,487 / 37 | — | — | 0.545 | 0.633 |
| Icon: pixels in the group | 794,870 | 1,219 | 155 | 84 | — | — |
| Icon, PNG compressed | 0 / 0 | 0 / 0 | 0 / 0 | 0 / 0 | 0.000 | 0.000 |
| Icon, WebP 75 | 660,967 / 17 | 1,144 / 14 | 143 / 4 | 83 / 0 | 0.603 | 0.606 |
| Icon, WebP 85 | 637,217 / 21 | 1,183 / 17 | 148 / 4 | 84 / 0 | 0.528 | 0.532 |
| Dog photo: pixels in the group | 167,761 | — | — | — | — | — |
| Dog photo, PNG compressed | 0 / 0 | — | — | — | 0.000 | 0.000 |
| Dog photo, WebP 75 | 153,160 / 46 | — | — | — | 4.652 | 4.652 |
| Dog photo, WebP 85 | 146,585 / 40 | — | — | — | 3.202 | 3.202 |
- In the compressed PNGs, no visible pixel changed, fully opaque or partly transparent.
- In the WebP files, most fully opaque pixels changed colour, at both quality settings and in all 3 files; the average change was 0.528 to 4.652 per channel, and the largest was 17 to 107. These WebP numbers also include any difference between the WebP decoder and the PNG decoder we used.
What WordPress does after you upload
We observed one upload, the vase, and didn’t test other files. WordPress’s developer documentation on responsive images says: “So WordPress automatically creates several sizes of each image uploaded to the media library.”
WordPress also has a filter for large images, big_image_size_threshold. Its reference says: “The threshold value in pixels. Default 2560.” Our portrait vase result at 1920 px wide is 2880 px tall, above that number. When we uploaded it to WordPress 7.1.5, WordPress made a 1707 × 2560 copy named jpg-vase-scaled.jpg, kept the file we uploaded next to it and made six smaller sizes. The scaled copy was 101.9 KB, larger than the 39.1 KB file we uploaded. You can read more in our guide to compressing images for WordPress without a plugin.
Elementor Image Optimizer or doing it yourself?
Elementor makes a separate Image Optimizer plugin; it needs an Elementor account to optimize images. In version 1.7.8 its “Resize larger images” setting is on by default at 1920 pixels, and Elementor’s help page on the settings (updated 19 November 2026, checked 3 December 2026) describes it as “allowing images a maximum height and width of 1920 pixels.” The settings screen also notes “This uses one additional credit per image.” Of the other defaults, we read that converting to WebP is selected and “Optimize new uploads” is checked.
We didn’t test the Image Optimizer, so we can’t compare its files with ours. What you get when you prepare images yourself before upload is what the tables above show: you pick the width, the format and the quality for each kind of image, and you see the file size before the image reaches WordPress. To do it on the home page tool instead, use Pixlune’s image tool; for a single format change, there’s also JPG to AVIF and PNG to WebP.
How we measured
- When and where: 3 December 2026, in Chrome 158 on an Apple M3 Mac. We measured the logo and icon files again on 5 December 2026, after Compress PNG changed; the WebP results came out the same.
- Tested with: WordPress 7.1.5 (PHP 8.3, in WordPress Playground), Elementor 4.4.2 and Image Optimizer 1.7.8, on 3 December 2026.
- Resized images: Resize image, Pixels mode, width 1920, 1200 or 400 px with the aspect ratio kept. In To we chose JPG, WebP or AVIF, then set Quality to 75 or 85 under Advanced settings. 1 KB = 1000 bytes.
- Encoders: JPG with MozJPEG, WebP with libwebp, AVIF with libavif. Each has its own quality scale.
- PSNR: for every file we also made a lossless PNG on the same page with the same width, and compared each result with that PNG, pixel by pixel in RGB. PSNR measures compression loss, not resizing.
- Logos and icons: Compress PNG with default settings, and PNG to WebP at quality 75 and 85, without resizing. We decoded the PNG we started with and every result outside the browser, without drawing them on a canvas. The WebP files were decoded with libwebp’s own decoder, which is a different program from the PNG decoder, so for WebP the colour difference includes any difference between the two decoders. We didn’t separate the two.
- ZIP: the size of the downloaded ZIP file with all 4 results.
- Not tested: load times, LCP, PageSpeed scores and the output of Elementor’s Image Optimizer. We observed one upload to WordPress (the vase) and didn’t test other files.
- Images: from Wikimedia Commons, all CC0: the lake photo by AutumnNY and its 1280-pixel copy made by Wikimedia, the vase by Jonas Salcedo, the leaves by Psykon, the aircraft by FaboVonDestory, the aerial texture by Rob Tuytel, the mug by Daderot, the shoe by Wikipedia-ce (the AVIF copy was converted from this CC0 photo by us), the guidepost by Slugghe, the logo by Kasia Ostrowska, the icon by paomedia and the dog photo by Kissmykumbaya.
Questions
Which format should I use for Elementor images?
Check the table for the kind of image you have. In our test, WebP gave the smallest file for both landscape hero photos and for 3 of 4 gallery photos, and AVIF had the highest PSNR for all 6 of those photos. The portrait vase was an exception: at quality 75, JPG had a higher PSNR than AVIF. Compare size and PSNR together, because the quality numbers aren’t the same across formats.
What width should a hero image be?
We tested 1920 px. Elementor’s Image Optimizer settings mention the same number, quoted above. If your image is narrower than 1920 px, the resize tool keeps its pixel size and doesn’t enlarge it.
Should I convert my logo to WebP?
Check both. In our test the logo was smaller as a compressed PNG, while the icon and the dog photo were smaller as WebP. The compressed PNGs kept every visible pixel unchanged. The WebP files changed the colour of most fully opaque pixels, by 0.528 to 4.652 per channel on average and by at most 107, on a 0–255 scale.
Are my images sent to a server?
No. Pixlune resizes and converts them in your browser; your files are not uploaded to a server.