Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Puchar WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Jak zoptymalizować obrazki pod kątem wydajności w sieci bez utraty jakości

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Czy wiesz, że optymalizacja twoich obrazków przed wgraniem ich do WordPressa może mieć ogromny wpływ na szybkość twojej witryny internetowej?

Podczas zakładania nowego bloga wielu początkujących po prostu przesyła obrazki bez optymalizacji ich pod kątem sieci. Te duże pliki obrazków sprawiają, że twoja witryna internetowa działa wolniej.

Możesz to poprawić, stosując najlepsze praktyki optymalizacji obrazków w ramach rutynowego blogowania.

W tym artykule pokażemy ci, jak zoptymalizować twoje obrazki, aby przyspieszyć działanie stron internetowych bez utraty jakości. Udostępnimy również wtyczki do automatycznej optymalizacji obrazków dla WordPressa, które ułatwią ci życie.

How to Easily Optimize Images for the Web (Without Losing Quality)

Ponieważ jest to kompleksowy przewodnik po optymalizacji obrazków na potrzeby sieci, stworzyliśmy łatwy w użyciu spis treści:

1. Czym jest optymalizacja obrazków?

Optymalizacja obrazków to proces zapisywania i dostarczania obrazków w najmniejszym możliwym rozmiarze pliku bez obniżania ogólnej jakości obrazka.

Choć proces ten wydaje się skomplikowany, w dzisiejszych czasach jest on dość prosty. Możesz użyć jednej z wielu wtyczek i narzędzi do optymalizacji obrazu, aby automatycznie skompresować obrazy nawet o 80% bez widocznej utraty jakości obrazka.

Oto przykład zoptymalizowanego i niezoptymalizowanego obrazka:

Optimized vs Unoptimized Images in WordPress

Jak widać, przy odpowiedniej optymalizacji ten sam obrazek może być nawet o 80% mniejszy od oryginału bez utraty jakości. W tym przykładzie obrazek jest mniejszy o 52%.

Jak działa optymalizacja obrazków?

Najprościej rzecz ujmując, optymalizacja obrazków polega na wykorzystaniu technologii kompresji.

Kompresja może być „stratna” lub „bezstratna”.

Kompresja bezstratna zmniejsza całkowity rozmiar pliku bez utraty jakości obrazka. W przypadku kompresji stratnej może wystąpić niewielka utrata jakości, ale w idealnym przypadku nie będzie ona zauważalna dla twoich odwiedzających.

Co oznacza optymalizacja obrazków?

Być może otrzymałeś zalecenie optymalizacji obrazków od pomocy technicznej Twojego hostingu WordPress lub narzędzia do testowania prędkości i zastanawiasz się, co musisz zrobić.

Będziesz musiał zmniejszyć rozmiar plików swoich obrazków, optymalizując je pod kątem sieci. Pokażemy ci, jak to zrobić krok po kroku.

2. Jakie są korzyści z optymalizacji obrazków?

Istnieje wiele korzyści płynących z optymalizacji twoich obrazków, ale oto najważniejsze z nich, o których powinieneś wiedzieć:

  • Większa szybkość witryny internetowej
  • Ulepszone rankingi SEO
  • Wyższy ogólny współczynnik konwersji sprzedaży i potencjalnych klientów
  • Mniej pamięci masowej i przepustowości (co może obniżyć koszty hostingu i CDN)
  • Szybsze tworzenie kopii zapasowych witryn internetowych (co może obniżyć koszty przechowywania kopii zapasowych)

Obrazki są drugim po filmach najcięższym elementem na stronie internetowej. Według archiwum HTTP, obrazki stanowią 42% całkowitej wagi przeciętnej strony internetowej.

Ponieważ wiemy, że szybkie witryny internetowe zajmują wyższe pozycje w wyszukiwarkach (SEO) i mają lepszą konwersję, optymalizacja obrazków jest czymś, co każda witryna internetowa firmy musi zrobić, jeśli chce odnieść sukces online.

Być może zastanawiasz się teraz, jak dużą różnicę może naprawdę zrobić optymalizacja obrazków.

Według badania Strangeloop, jednosekundowe opóźnienie wczytywania witryny internetowej może kosztować 7% sprzedaży, 11% mniej odsłon i 16% spadek zadowolenia klientów.

Strangeloop case study

Jeśli nie są to wystarczające powody, aby przyspieszyć twoją witrynę internetową, to powinieneś wiedzieć, że wyszukiwarki takie jak Google również preferencyjnie traktują pod względem SEO szybciej ładujące się witryny.

Oznacza to, że optymalizując twoje obrazki dla sieci, możesz zarówno poprawić szybkość witryny internetowej, jak i poprawić rankingi SEO WordPress.

Film instruktażowy

Subscribe to WPBeginner

Jeśli wolisz pisemne instrukcje, czytaj dalej.

3. Jak zapisywać i optymalizować obrazki pod kątem wydajności w sieci?

Kluczem do udanej optymalizacji obrazków pod kątem wydajności w sieci jest znalezienie idealnej równowagi między najmniejszym rozmiarem pliku a akceptowalną jakością obrazka.

Trzy rzeczy, które odgrywają ogromną rolę w optymalizacji obrazków to:

  • Format pliku obrazka (JPEG vs. PNG vs. GIF)
  • Kompresja (wyższa kompresja = mniejszy rozmiar pliku)
  • Wymiary obrazka (wysokość i szerokość)

Wybierając odpowiednią kombinację tych trzech, możesz zmniejszyć rozmiar swojego obrazka nawet o 80%.

Przyjrzyjmy się każdemu z nich bardziej szczegółowo.

1. Format pliku Imagely

Dla większości właścicieli witryn internetowych jedyne trzy formaty plików obrazków, które naprawdę mają znaczenie, to JPEG, PNG i GIF. Wybór odpowiedniego rodzaju pliku odgrywa ważną rolę w optymalizacji obrazków.

Aby zachować prostotę, należy używać plików JPEG do zdjęć lub obrazków z dużą ilością kolorów, PNG do prostych lub przezroczystych obrazków, a GIF tylko do animowanych obrazków.

Dla tych, którzy nie znają różnicy między każdym rodzajem pliku, format obrazu PNG jest nieskompresowany, co oznacza, że jest to obrazek wyższej jakości. Wadą jest to, że rozmiary plików są znacznie większe.

Z drugiej strony, JPEG to skompresowany format pliku, który nieznacznie obniża jakość obrazka w celu zapewnienia znacznie mniejszego rozmiaru pliku.

Natomiast GIF wykorzystuje tylko 256 kolorów wraz z bezstratną kompresją, co czyni go najlepszym wyborem dla animowanych obrazków.

Na WPBeginner używamy wszystkich trzech formatów obrazków w zależności od ich rodzaju.

2. Kompresja

Kolejną rzeczą jest kompresja obrazków, która odgrywa ogromną rolę w optymalizacji obrazków.

Dostępne są różne rodzaje i poziomy kompresji obrazków. Ustawienia dla każdego z nich różnią się w zależności od twojego narzędzia do kompresji obrazków.

Większość narzędzi do edycji obrazów, takich jak Adobe Photoshop, ON1 Photo, GIMP, Affinity Photo i inne, ma wbudowane funkcje kompresji obrazków.

Można również zapisywać obrazki normalnie, a następnie użyć narzędzia internetowego, takiego jak TinyPNG lub JPEGmini, aby ułatwić kompresję obrazków.

Chociaż wymagają one pewnego ręcznego wysiłku, te dwie metody pozwalają na kompresję obrazków przed wgraniem ich do WordPressa i to właśnie robimy na WPBeginner.

Istnieje również kilka popularnych wtyczek WordPress, takich jak Optimole i EWWW Image Optimizer, które mogą automatycznie kompresować obrazki podczas ich pierwszego przesyłania. Jest to wygodne i wielu początkujących, a nawet duże korporacje wolą korzystać z tych wtyczek do optymalizacji obrazków.

Więcej informacji na temat korzystania z wtyczek WordPress przedstawimy w dalszej części artykułu.

3. Wymiary obrazka

Zazwyczaj, gdy importujesz zdjęcie z twojego telefonu lub aparatu cyfrowego, ma ono bardzo wysoką rozdzielczość i duże wymiary pliku (wysokość i szerokość).

Zazwyczaj zdjęcia te mają rozdzielczość 300 DPI i wymiary od 2000 pikseli wzwyż. Podczas gdy wysokiej jakości zdjęcia dobrze nadają się do druku lub publikacji na pulpicie, ich duże rozmiary sprawiają, że nie nadają się do witryn internetowych.

Zmniejszenie wymiarów obrazka do bardziej rozsądnych może znacznie zmniejszyć rozmiar pliku. Możesz po prostu zmienić rozmiar obrazków za pomocą oprogramowania do edycji obrazków na twoim komputerze.

Na przykład, zoptymalizowaliśmy zdjęcie o rozdzielczości 300 DPI i wymiarach obrazka 4900×3200 pikseli. Oryginalny rozmiar pliku wynosił 1,8 MB.

Wybraliśmy format JPEG dla większej kompresji i zmieniliśmy wymiary na 1200×795 pikseli. Rozmiar pliku został zmniejszony do zaledwie 103 KB. To o 94% mniej niż oryginalny rozmiar pliku.

Teraz, gdy znasz już trzy ważne czynniki w optymalizacji obrazków, przyjrzyjmy się różnym narzędziom do optymalizacji obrazków dla właścicieli witryn internetowych.

4. Najlepsze narzędzia i programy do optymalizacji obrazków

Jak wspomnieliśmy wcześniej, większość programów do edycji obrazów zawiera ustawienia optymalizacji i kompresji obrazków.

Poza oprogramowaniem do edycji obrazów, istnieje również kilka potężnych darmowych narzędzi do optymalizacji obrazów, które można wykorzystać do optymalizacji obrazków na potrzeby sieci (za pomocą zaledwie kilku kliknięć).

Zalecamy korzystanie z tych narzędzi do optymalizacji obrazków przed przesłaniem ich do WordPressa, zwłaszcza jeśli jesteś perfekcjonistą.

Metoda ta pomaga zaoszczędzić miejsce na dysku na twoim koncie hostingowym WordPress i gwarantuje najszybszy obraz w najlepszej jakości, ponieważ ręcznie przeglądasz każdy obrazek.

Adobe Photoshop

Adobe Photoshop to wysokiej klasy aplikacja do edycji obrazków, która umożliwia eksportowanie obrazów o mniejszym rozmiarze na potrzeby Internetu.

Export image for the web

Za pomocą okna dialogowego eksportu można wybrać format pliku obrazka (JPG, PNG, GIF), który zapewnia najmniejszy rozmiar pliku.

Można również zmniejszyć jakość obrazka, kolory i inne opcje, aby jeszcze bardziej zmniejszyć rozmiar pliku.

Optimize image before saving

GIMP

GIMP to darmowa i otwarta alternatywa dla Adobe Photoshop. Może być używany do optymalizacji twoich obrazków dla sieci. Wadą jest to, że nie jest tak łatwy w użyciu, jak niektóre inne rozwiązania z tej listy.

Najpierw musisz otworzyć swój obrazek w programie GIMP, a następnie wybrać opcję Plik ” Eksportuj jako…. Spowoduje to wyświetlenie okna dialogowego Eksportuj obrazek, w którym możesz nadać twojemu plikowi nową nazwę. Następnie należy kliknąć przycisk „Eksportuj”.

Zostaną wyświetlone opcje eksportu obrazków. W przypadku plików JPEG można użyć suwaka „Jakość”, aby wybrać poziom kompresji i zmniejszyć rozmiar pliku.

Exporting an Image in GIMP

Na koniec należy kliknąć przycisk „Eksportuj”, aby zapisać zoptymalizowany plik obrazka.

TinyPNG

TinyPNG to darmowa aplikacja internetowa, która wykorzystuje inteligentną technikę kompresji stratnej w celu zmniejszenia rozmiaru twoich plików PNG i JPEG. Wszystko, co musisz zrobić, to wejść na ich witrynę internetową i przesłać swoje obrazki za pomocą prostego przeciągania i upuszczania.

Optimize Your Images

Skompresują obrazek i podadzą odnośnik do pobrania.

Mają również rozszerzenie dla Adobe Photoshop, którego używamy jako części naszego procesu edycji obrazków, ponieważ umożliwia dostęp do TinyPNG z poziomu Photoshopa.

Dla programistów mają API do automatycznej konwersji obrazków. Dodatkowo, dla początkujących, mają wtyczkę WordPress, która zrobi to za Ciebie. Więcej na ten temat powiemy później.

JPEGmini

JPEGmini wykorzystuje technologię bezstratnej kompresji, która znacznie zmniejsza rozmiar obrazków, nie mając wpływu na ich postrzeganą jakość. Można również porównać jakość oryginalnego obrazka i obrazka skompresowanego.

JPEGMini online image compression tool

Możesz korzystać z ich wersji internetowej za darmo lub kupić program na twój komputer. Mają również płatne API do automatyzacji procesu dla twojego serwera.

ImageOptim

ImageOptim to narzędzie dla komputerów Mac, które pozwala kompresować obrazki bez utraty jakości poprzez znajdowanie najlepszych parametrów kompresji i usuwanie niepotrzebnych profili kolorów.

Optimizing Images Using ImageOptim

Alternatywą dla systemu Windows jest Trimage.

5. Najlepsze wtyczki do optymalizacji obrazków dla WordPressa

Uważamy, że najlepszym sposobem na optymalizację twoich obrazków jest zrobienie tego przed przesłaniem ich do WordPressa. Jeśli jednak prowadzisz witrynę z wieloma autorami lub potrzebujesz zautomatyzowanego rozwiązania, możesz wypróbować wtyczkę do kompresji obrazków WordPress.

Oto nasza lista najlepszych wtyczek WordPress do kompresji obrazków:

  1. Optimole, popularna wtyczka stworzona przez zespół odpowiedzialny za ThemeIsle
  2. EWWW Image Optimizer
  3. JPEG, PNG & WebP Image Compression, wtyczka autorstwa wspomnianego wyżej zespołu TinyPNG
  4. Imagify, wtyczka popularnego zespołu WP Rocket
  5. ShortPixel Image Optimizer
  6. Smush
  7. reSmush.it
  8. Envira Gallery to wtyczka do galerii WordPress z wbudowaną kompresją obrazków

Te wtyczki do optymalizacji obrazków WordPress pomogą ci przyspieszyć twoją witrynę internetową.

6. Końcowe przemyślenia i najlepsze praktyki dotyczące optymalizacji obrazków

Jeśli nie zapisujesz obrazków zoptymalizowanych pod kątem sieci, musisz zacząć robić to teraz. Zrobi to ogromną różnicę w szybkości Twojej witryny, a użytkownicy będą Ci za to wdzięczni.

Nie wspominając o tym, że szybsze witryny internetowe są świetne dla SEO i prawdopodobnie zauważysz wzrost w rankingach wyszukiwarek.

Poza optymalizacją obrazków, dwie rzeczy, które znacząco pomogą przyspieszyć twoją witrynę internetową, to korzystanie z wtyczki pamięci podręcznej WordPress i korzystanie z WordPress CDN.

Alternatywnie możesz skorzystać z zarządzanej firmy hostingowej WordPress, ponieważ często oferują one zarówno pamięć podręczną, jak i CDN jako część platformy.

Przewodniki ekspertów na temat poprawy wydajności WordPressa

Teraz, gdy już wiesz, jak przyspieszyć twoją witrynę internetową poprzez optymalizację obrazków, być może spodoba ci się kilka innych artykułów związanych z poprawą wydajności WordPressa.

Mamy nadzieję, że ten artykuł pomógł ci dowiedzieć się, jak zoptymalizować twoje obrazki w WordPress. Zachęcamy również do zapoznania się z naszym przewodnikiem na temat tego, jak poprawić zabezpieczenia WordPressa lub z wyborem najlepszych wtyczek WordPress dla witryn biznesowych.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

122 komentarzeZostaw odpowiedź

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dennis Muthomi says

    Well for me I ALWAYS convert all my images to .webp file format before uploading them to my WordPress site.
    I chose to use .webp over JPEG and PNG because it provides much better lossless compression, allowing the file size to be significantly reduced without affecting image quality.

  3. Jiří Vaněk says

    Thanks for the tutorial. Personally, I used to convert the images to .webp format first and then upload them to the web in that format. This format seems to me to be the smallest in terms of data volume and at the same time still very high quality for a good user experience. I don’t use plugins for this, but I usually convert images in online converters or in computer software.

      • Jiří Vaněk says

        But if I use the plugin, won’t it take up too much space on my FTP because the original file will be there too? But I will certainly be happy to go and look at your instructions. Thanks for the link.

        • WPBeginner Comments says

          You could always delete the original files. You can use the search feature on the Media admin page to search for filetypes, such as the .png or .jpg/.jpeg extensions.

  4. Mrteesurez says

    This is a comprehensive guide.
    It’s essential to optimize images in order to have fast website loading and content delivery.
    You quoted that images are the second heaviest after video, what of audio, is audio lighter than images and how ?

    • WPBeginner Comments says

      Audio would tend to be between images and video. That said, depending on the amount of audio and the audio filetype, this is not an exact rule and it just depends on the files in question.

      • Mrteesurez says

        Thanks for your reply, the thing is, I used to see audio files bigger in term of size than images, most images are in kilobytes while audios are usually more than that, I think the duration for a audio to be played and delivered a meaningful message also contribute to it’s size.

  5. Michelle N says

    Would love to say that this has been incredibly helpful, easy to digest and implement, I appreciate all the tools provided. Thank you! :) – from a beginner blogger

  6. mohadese esmaeeli says

    By the way, another question I have is whether, when using image optimization plugins and optimizing previously uploaded images, the new images replace the old ones? Or do the original images remain in the WordPress media library, with the optimized images alongside them?

    • WPBeginner Support says

      It would depend on the specific plugin you are using as some will replace the image while others have the option to keep the original.

      Administrator

    • Jiří Vaněk says

      Many of them give you a choice whether you want to keep the original images or delete them. From personal experience, I recommend keeping the original images on the website (at least as a backup).

  7. mohadese esmaeeli says

    Hello,
    Greetings to you. This article appears to be quite comprehensive. I became acquainted with your website a few days ago and started reading the articles. I have decided to implement the same process on my website as I read through these articles.
    I quickly reached point 2, focusing on site speed. To be honest, I have been working on my site for just a few days, and I have only managed to achieve a 10% increase in site speed.

      • mohadese esmaeeli says

        Yes, that’s exactly right. In this vast and competitive world, those who are always improving their website and offering something more than their competitors will be the winners. Otherwise, we will be the losers.

  8. Moinuddin Waheed says

    Having optimizes images for websites or blogs is very important for the speed of the website.
    Heavy image sizes takes time to load and causes the website to slow.
    I have used some of the plugins for image optimisation.
    But I think best option is to use caching plugins and CDN for the websites.
    it lets the website speed not only fast but also helps in retaining the visitors.

    • WPBeginner Support says

      CDNs are normally for speed instead of retention but a fast loading site does help keep your visitors and helps make them want to return :)

      Administrator

  9. Lewis says

    First of all, it’s important to note that not all image file types are created equal. JPEGs are generally going to be much smaller in file size than PNGs, for example, so it’s important to choose the right file type for the job.

    Additionally, when it comes to resizing images, you should always resize them before you upload them to your website. This way, you can avoid having to serve oversized images to your visitors, which can slow down your site.

    Finally, I wanted to point out that there are a number of plugins available that can help you automate the process of optimizing your images. WP Smush is a great option that can help you save time and ensure that your images are always properly optimized.

  10. Rebecca Gelsi says

    This is brilliant, thank you. I’m using JPEGmini after reading this article and am so relieved to have this aspect of our site sorted.

  11. Andy says

    Thanks for the normal and simple explanation. I made a few mistakes with my photo content on my site, but with the help of your explanations, I figured out exactly what I needed to do. Thank you!

  12. Tania says

    So helpful!! Thank you for sharing. Quick question – If I compress my images to an optimal/acceptable KB size directly in Photoshop using the Save for web setting mentioned above, and then upload to WordPress…is there a need to also run Shortpixel or another image compression plugin? Or is that redundant?

    Trying to understand if there are added benefits to using a plugin vs Photoshop. Would love to hear your thoughts. Thanks!

    • WPBeginner Support says

      The plugins are an alternative, if you optimize your images before uploading them, you wouldn’t need to use an image optimization plugin :)

      Administrator

  13. Eddier Naranjo says

    The optimization plugins make a copy of the „heavy” image and serve the optimized version. But that increases the storage space on the site.
    Is there a way to delete the old version and leave only the optimized image?

    • WPBeginner Support says

      We would recommend checking with the support for the plugin that you are using as they normally have an option to remove the unoptimized version.

      Administrator

  14. Diane Talbotier says

    Hi, does resizing mean changing the size of the images as they are shown on the website, or resizing the size of the file , please?
    And how do I know what is the optimal size?

    • WPBeginner Support says

      It would depend on what you mean, for compression in this guide, it is the size for the file. You can also reduce the width and height of an image if it is too large. Your specific theme would determine the specific image size you want to use.

      Administrator

  15. Terri says

    You mentioned in your optimise example that your original photo was 300dpi, then you optimised it to a smaller file size. But you did not say what the target dpi was. Is it 72 for web? Or higher? Thanks for the informative article.

    • WPBeginner Support says

      That would depend on your personal preference and how large you are wanting/needing the images to be.

      Administrator

  16. Odenyi Emmanuel Chidera says

    What I like most about wpbeginner is how they will give you information on what to implement on your own site but also tell you what they are using on their own site. It really helps me decide faster. Learning from a master is always easier. Thanks.

  17. Luz Manalo-Cruz says

    I’ve compressed images via TinyPNG and tried to replace the heavier images on my site with these (ie. I deleted the heavy photos and uploaded the compressed ones). However the media library is still uploading the old heavier images. Does that mean that I can’t replace the old images already uploaded? Will it only upload the compressed images that have not been uploaded at all?

    • WPBeginner Support says

      If you are replacing the heavier images, you would want to ensure you don’t have caching on your site that is showing the old image and when you upload the new image that you are uploading the correct image.

      Administrator

  18. Giovanna says

    Thanks for the informative article, Syed.

    Moving forward I am going to make sure to always use optimized images. Do you recommend I go back to already published posts and replace my images with optimized ones?

    • WPBeginner Support says

      If possible we would recommend updating your older images, the plugins we recommended should handle that for you :)

      Administrator

  19. Percy Young says

    Thank you for your post. many nice tools. I wonder if theres any thing to be done to rezize images that have been previously uploaded, and how to delete images the worpress is not using any more.

  20. İbrahim BOZKURT says

    I’m a WordPress developer. I am writing from Turkey.
    Very difficult to find quality WordPress resources.
    I discovered you. I didn’t know English but learned English. Thanks to you everything.

  21. Felipe Adan Lerma says

    Hi, it seems maybe WordPress has incorporated some of this into its current image upload process, at least in the Premium bracket?

    I ask cause I now get the option to choose the actual size or something larger or smaller?

    Or is that process not an optimization / reduction in size of the image?

    Thanks so much! Very important useful topic.

    Adan

  22. Anna says

    Very helpful info!! I was just researching how to do this when your email came through! Saved em time and effort and had just the advice I was looking for.

  23. Lindsay says

    When saving on photoshop what width do you suggest for optimum web performance?
    My theme is saving 1600×1050 for optimum header but what should I do for the body images. Theme designer doesn’t have a recommendation.

    • WPBeginner Support says

      If you’re going through the other steps in this article then the image size would be what would fit your content’s dimensions best so WordPress wouldn’t need to resize the image.

      Administrator

  24. edccde says

    Please update that youtube video.First of all Jpegmini isn’t a web app and it is a software which i have to install in my pc.

    • WPBeginner Support says

      Thank you for letting us know about the video, we’ll certainly look into updating the video :)

      Administrator

  25. Jackie says

    Is there way to compress images already uploaded to wordpress? Or do I need to compress all my images and then reupload into WP? THanks in advance for the advices.

  26. Irina says

    Hi,
    Need an advice: I need to upload Low res and Hi-res images (1200pix at 300dpi) so my customers can download them. I have no questions about LR image optimization. How can I save hi-res images? The size is up to 2 MB. I have hundreds of thousands of images…

  27. Ratan Kumar says

    This post is awesome and really add value to my site. However, I recently tried to save images from flipkart but it saved in very low pixel format. Wondering if you can help me to figure out on how to do that.

  28. Ray says

    I already bulk uploaded 1500 product images that were connected to image urls I found on the internet.

    Now that I have those 1500 images already in my Media Library, how can I go back and resize and compress them?

    Also, I’m confused about whether resizing means changing the size of the images as they are shown on the website, or resizing the size of the file.

    Thanks!

  29. Donna says

    I will be travelling to a place where internet connectivity is limited and expensive. So, I want to reduce the file size of my photos before I go online to upload them to my blog. Can someone please recommend for me what resolution and dpi would be good to use? The app I am planning to use asks for three measurements:
    resolution – from 200 to 2048
    DPI – from 72×72 to 300×300
    jpeg quality (compression level) – from 0.00 to 1.00

  30. Carrie says

    In the video she changes her pic. I understand the screen in PS. But you have not explained what should the width and height be in pixels for WP the limit is 2mb. What would be a good standard for sliders, etc for a wp site?

  31. Carrie says

    Sorry for being the dunce in the corner, but could someone please clarify one thing? I installed the WP Smush it plugin and have been slowly working through all the photos I’ve uploaded to my site for the last 2 years. I’m doing 50 at a time, the free limit. However, now that I have the plugin, for future photo uploads, does having it mean I don’t have to use any other program to resize my photos before uploading them to my WP site? If I have an 8 MB photo and upload it to my site, the plugin does everything for me? I just want to confirm that the original photo is not still uploaded and saved to my host server, SiteGround. My site is wicked slow, I’ve run tons of diagnostics, and I still can’t figure out why except that everything points to my photos. Thanks!

    • Tony Squibb says

      Hi Carrie, I’m defo not an expert in any way but I do have experience with WP Smush it and yes, future uploads should be auto 'smushed’. There is a little notification in the media gallery as you do so.

      To check the causes of your slow site you can use GTmetrix and then open the waterfall page where it will show the times of the individual pages items loading. Once you know what is the problem you can then address it.

      I hope that helps from one 'dunce’ to another :)

      • Carrie says

        Hi Tony,

        Thanks for weighing in! Unfortunately I uninstalled WP Smush and tried EWWW Image Optimizer along with the Thumbnail Regerate plugin (based on another bloggers suggestion) and royally messed up the photos on my site. I’m a newb with regards to how to manage my files through the FTP on my web host, so I ended up deleting a bunch of images (as in hundreds) and re-uploading them after resizing them manually in an image program. Turns out that too was a bad idea. Now I have a bunch of error messages when I render my site in my Google Console because when Google crawls my site, those files are now gone or moved. AGH! I’m on the verge of simply paying someone to revamp my site or quitting altogether. But I really appreciate that you took the time to leave a helpful comment. :)

        Happy New Year! May 2017 be better than 2016.

  32. Gagan says

    I was thinking what if i upload my Images to Google Blogger and use them on my wordpress Site by „Insert From URL” option?
    Any suggestion if this is a Good Idea or no?
    Thanks in advance

  33. Zimbrul says

    I came back here as I’m looking for plugins that upload a large image as a optimised image straight to WordPress. I’m sure I’ve seen this somewhere here at WP Beginner but I cannot find it.

  34. Jack says

    Photoshop is definitely the best one, for online services, kraken.io and resizeimage.net are good alternatives to tinypng.

  35. Larry Aldrich says

    Someone mentioned RIOT in an earlier comment. It is my go-to app for minimizing images BEFORE you upload them. The compression rate is close to phenomenal. Sorry MAC users, but it’s only available for Windows.

  36. Martin says

    Hello WPBeginner,

    I would be very interested in the Windows version of Trimage you have apparently seen.

    On the Trimage homepage you just see a link asking for help with the windows port…

  37. Marianne P. says

    I just checked out the Trimage site and did not see the Windows version – just various *nix versions. Please point me in the right direction. Thanks so much – really great article!

  38. Corinna says

    I was wondering if there was any way of reducing the size of the images already uploaded to a site? I have changed the way I upload them so in future all my images will be smaller. But I thought maybe it would be useful to change the size of those already uploaded.

  39. Samiullah Khan says

    Search the web too much to find good solution to optimize images; but most of them most of them doesn’t let’s see tools mentioned in this post work or not

  40. Graham says

    The article defines PNG as an uncompressed file format, but as far as I know, standard PNGs use lossless compression.
    And I think it would be helpful to mention why you might choose one format over another for continuous tone images (eg. a photo) vs. limited palette images (eg. a logo).

  41. Rob Dewing says

    Why no mention of Photoshop Elements, the cut down home use version of Photoshop? It does 90+% of the things full phat Photoshop will do, including 'save for web’ image compression, all for less than $100.

  42. Ines says

    Would you recommend to use Flickr to upload your images and then copy the HTML code to your wordpress site? What would you suggest for travel blogs that contain lots of pictures? Thanks.

    • WPBeginner Support says

      You can add flickr photos in WordPress by simply pasting the photo URL in a post. Normally we would not recommend it, because people will be viewing and finding your photos on Flickr and may never even get a chance to visit your website. However, if you feel that building a community around your photos on flickr is more useful for you, then sure go ahead.

      Administrator

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.