Ai intrat pe propriul site de pe telefon și ai stat trei secunde bune să se încarce pagina principală. Dacă tu ai simțit asta cu conexiune bună și răbdare, un vizitator nou care nu te cunoaște încă a plecat deja. Cel mai des, vina e la imagini: poze de 3-4 megaocteți puse direct din telefon sau de la fotograf, fără nicio prelucrare.
De ce imaginile îți încetinesc site-ul
O poză făcută cu un telefon modern are, de obicei, între 3.000 și 4.000 de pixeli lățime. Pe ecran ea apare la 800 sau 1.000 de pixeli. Diferența aia — tot ce nu se vede — se descarcă degeaba, de fiecare dată când vine cineva pe pagină.
Compresia înseamnă să reduci dimensiunea fișierului fără ca ochiul să observe diferența. Lazy-loading (încărcare întârziată) înseamnă că imaginile din josul paginii nu se descarcă deloc până când vizitatorul nu derulează spre ele.
Cum comprimi imaginile, pas cu pas
- Deschizi folderul cu imaginile site-ului sau pagina din WordPress unde le încarci.
- Alegi un instrument de compresie — există unelte online gratuite unde tragi poza și primești înapoi o versiune mai mică, la aceeași calitate vizuală.
- Verifici formatul: pentru fotografii folosești JPEG, pentru logo-uri și desene cu puține culori folosești PNG, iar dacă vrei fișiere și mai mici, treci pe format WebP.
- Redimensionezi poza la mărimea reală din pagină, nu mai mare. O imagine de fundal de 1.920 pixeli lățime e suficientă pentru orice ecran obișnuit.
- Încarci poza comprimată în locul celei vechi și verifici pagina din nou.
Pentru WordPress, un plugin de optimizare a imaginilor face pașii ăștia automat, la fiecare încărcare de poză nouă. Nu mai stai să comprimi manual fiecare fișier.
Cum activezi lazy-loading
Din 2021, majoritatea browserelor moderne suportă lazy-loading nativ, fără plugin. Dacă folosești WordPress, funcția e activă din oficiu de câțiva ani buni pentru imaginile din articole.
Ce merită verificat separat: imaginile din slider-ul principal de pe prima pagină, adică prima imagine pe care o vede vizitatorul, nu trebuie să aibă lazy-loading. Acolo vrei încărcare imediată, altfel omul vede un spațiu gol o clipă. Restul imaginilor, de la a doua în jos, pot aștepta.
Ce nu merită să faci
Nu merită să comprimi agresiv până imaginea începe să se vadă pixelată — pierzi mai mult la impresia site-ului decât câștigi la viteză. Și nu merită să pui lazy-loading pe absolut orice element, inclusiv pe logo sau pe iconițe mici; efortul de încărcare al lor e oricum minim, iar codul suplimentar nu ajută cu nimic.
La un client cu magazin online am găsit odată poze de produs de 5 megaocteți fiecare, puse așa cum au venit de la furnizor. După compresie și redimensionare, aceleași poze au scăzut la 200-300 de kilobiți, iar pagina de produs s-a încărcat vizibil mai repede la primul test.
Ce faci de mâine dimineață
Deschide pagina principală a site-ului din telefon, cu conexiunea de date, nu de wi-fi, și cronometrează cât durează încărcarea. Apoi verifică trei-patru dintre cele mai mari poze de pe pagină și comprimă-le pe loc — de aici pornește tot restul.
Întrebări frecvente
Cât de mult scade efectiv timpul de încărcare după compresie?
Depinde de cât de mari erau pozele înainte. Dacă aveai fotografii de 3-4 megaocteți necomprimate, poți vedea pagina încărcându-se de câteva ori mai rapid, mai ales pe conexiuni mobile mai slabe.
Se pierde din calitatea imaginii dacă o comprim?
La o compresie normală, ochiul nu observă diferența pe ecran. Se pierde vizibil doar dacă exagerezi cu gradul de compresie, ceea ce nu e cazul cu uneltele obișnuite setate la valorile lor implicite.
Trebuie să știu să programez pentru asta?
Nu, dacă folosești WordPress un plugin de optimizare face compresia automat, iar lazy-loading e deja activ din oficiu. Pentru un site făcut altfel, un instrument online de compresie e suficient pentru partea manuală.
You opened your own website on your phone and waited a good three seconds for the homepage to load. If you felt that with a decent connection and patience, a first-time visitor who doesn't know you yet has already left. The usual culprit is images: 3-4 megabyte photos uploaded straight from a phone or a photographer, with zero processing.
Why images slow your site down
A photo from a modern phone is usually 3,000 to 4,000 pixels wide. On screen it shows up at 800 or 1,000 pixels. Everything beyond that — the part nobody sees — still gets downloaded, every single time someone visits the page.
Compression means shrinking the file size without the eye noticing any difference. Lazy-loading means images further down the page don't load at all until the visitor scrolls close to them.
How to compress your images, step by step
- Open the folder with your site's images, or the WordPress screen where you upload them.
- Pick a compression tool — there are free online tools where you drag a photo in and get back a smaller version at the same visual quality.
- Check the format: use JPEG for photographs, PNG for logos and simple graphics with few colors, and WebP if you want even smaller files.
- Resize the photo to the actual size it appears at on the page, not larger. A background image at 1,920 pixels wide is enough for any regular screen.
- Upload the compressed photo in place of the old one and check the page again.
In WordPress, an image optimization plugin does these steps automatically every time you upload a new photo. You stop compressing files by hand one by one.
How to turn on lazy-loading
Since 2021, most modern browsers support lazy-loading natively, no plugin needed. If you run WordPress, this has been switched on by default for images inside posts for a few years now.
What's worth checking separately: images in your main homepage slider — the very first thing a visitor sees — shouldn't have lazy-loading. You want those to load immediately, otherwise people see a blank space for a moment. Everything below that can wait to load.
What's not worth doing
It's not worth compressing so aggressively that the image starts looking pixelated — you lose more on how the site looks than you gain in speed. And it's not worth adding lazy-loading to absolutely everything, including logos or small icons; loading those costs almost nothing anyway, and the extra code doesn't help at all.
On one client's online store I once found product photos at 5 megabytes each, uploaded exactly as they came from the supplier. After compression and resizing, the same photos dropped to 200-300 kilobytes, and the product page loaded noticeably faster on the first test.
What to do tomorrow morning
Open your homepage on your phone using mobile data, not wifi, and time how long it takes to load. Then check the three or four largest images on that page and compress them right away — everything else follows from there.
Frequently asked
How much faster does the site actually load after compression?
It depends on how large your photos were before. If you had uncompressed 3-4 megabyte photos, the page can load several times faster, especially on weaker mobile connections.
Does compression ruin image quality?
With normal compression, the eye can't tell the difference on screen. Quality only drops visibly if you push the compression too far, which isn't the case with standard tools left at their default settings.
Do I need to know how to code for this?
No — on WordPress, a plugin handles compression automatically and lazy-loading is already on by default. For a site built differently, a free online compression tool covers the manual part.


