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

Optimera Images med WP Smush (Pro, nackdelar och alternativ)

Images kan avsevärt sakta ner din website och därför är det viktigt att save all your images optimerade för webben. Nyligen frågade en av våra användare oss om för- och nackdelar med att använda ett plugin som WP Smush. I den här artikeln kommer vi att diskutera pro, contra och alternativ till WP Smush för att optimera images i WordPress.

Image Optimization in WordPress

Vad är WP Smush?

WP Smush är ett plugin för WordPress som tillåter dig att optimera images utan att förlora kvalitet.

Pro med WP Sm ush

WP Smush är mycket användarvänligt, och du kan optimera dina images direkt när du uploadar dem till din WordPress site.

För your older images you can go to Media ” WP Smush to bulk smush 50 images at a time.

Bulk smush images

För Beginnare är det ett enkelt och smidigt sätt att optimera sina images och förbättra prestandan på sin site.

Nackdelar med WP Smush

Prestandaskillnaden är ej lika betydande som du kan få med andra metoder.

Om du till exempel uppladdar ett 3 MB fotografi till din WordPress site, så reducerar WP Smush det med 10-20% utan att förlora kvalitet. Det är fortfarande en fil på 2,4 till 2,7 MB, vilket är enormt.

WP Smush ger dig ingen control på hur mycket du kan optimera en image. Även om det minskar filstorleken på images, är det ej den bästa lösningen.

WP Smush Alternativ

Det finns flera andra tools och tillägg till WordPress som allow you att optimera dina images. Dessa tools ger dig mer control över hur du vill optimera dina images. Detta kan resultera i ännu mindre filstorlekar och snabbare hämtar av sidor.

EWWW Image Optimizer

ewww Image Optimizer

EWWW Image Optimizer är ett plugin för WordPress som optimerar dina images när du upladar dem. Du kan också optimera dina tidigare uppladdade images. Det tillåter dig också att konvertera filformat, så att du kan välja ett format som ger en lägre image-storlek.

Om du t.ex. uppladdar en screenshot i PNG kan du konvertera den till JPEG, vilket kan resultera i en mycket mindre filstorlek.

Imsanity

Imsanity allow you to bulk resize large images in WordPress. Till skillnad från de tillägg som nämns ovan, Imsanity allow you att välja en standard maximal storlek för your images.

Imsanity plugin allows you to bulk resize large images in WordPress

Du kan välja standardkomprimering för jpeg-images i WordPress. Tillägget kan också användas för att automatiskt konvertera format för image-filer från BMP till JPEG eller PNG till JPEG.

Adobe Photoshop

Adobe Photoshop är industristandarden för edit av images. Det är lite dyrt, men helt värt det. Det kommer med ett built-in Save for Web alternativ som allow you att save images optimerade för webben.

Saving images for the web in Photoshop

Det bästa med det är att du kan välja hur mycket du vill optimera en image. You can choose compression level for JPEG images as well as choosing number of colors in PNG files.

Det kommer också att visa dig image preview och filstorlek när du justerar dessa settings.

Gimp är ett gratis alternativ till Photoshop. Det kanske inte ser lika snyggt ut som Photoshop, men det kan optimera dina images för webben.

Exporting images in Gimp

Slutliga tankar

Optimering av images görs bäst utanför WordPress. Vi har skrivit en detaljerad tutorial som visar you hur man optimerar images för WordPress.

Även om du kan använda WP Smush eller något av WP Smush-alternativen, kommer du ej att få lika bra resultat som tools som Photoshop, GIMP, JPEGMini och TinyPNG.

That’s all vi hoppas att den här artikeln hjälpte dig att lära dig optimera images med WP Smush och dess alternativ.

Om du gillade den här artikeln, vänligen prenumerera på vår YouTube-kanal för WordPress video tutorials. Du kan också hitta oss på Twitter och Facebook.

Avslöjande: Vårt innehåll stöds av våra läsare. Det innebär att om du klickar på några av våra länkar, kan vi tjäna en provision. Se hur WPBeginner finansieras, varför det är viktigt, och hur du kan stödja oss. Här är vår editoriala process.

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.

Den ultimata WordPress-verktygslådan

Få GRATIS tillgång till vår verktygslåda - en samling WordPress-relaterade produkter och resurser som varje professionell användare bör ha!

Reader Interactions

39 kommentarerLämna ett svar

  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. Jiří Vaněk says

    I used to convert images to webp using online tools, which was a bit of a hassle. Since I add about one blog post per day, it wasn’t too demanding. However, after some time, I discovered that there’s a small percentage of browsers that don’t support webp, and in those browsers, my images obviously didn’t work. The Smush plugin saved me. Now, I upload images in jpeg and perform the conversion to webp on the website. This way, I have images in the new format for modern browsers, and the original jpeg images are still available for that small percentage of browsers. It’s a great solution, and I no longer need to convert images online as I used to.

  3. santosh747 says

    Hi,
    I have used wp smush.i would like to know why wp smush creates multiple file like 40 same images with different width and height for 1 image.instead of having 10 original images after smush it creates the 400 images that is lot and how come it is reducing the space.Is that common with smush.
    Thanks

  4. Mian says

    Hello sir i hope you are fine. i use wp smush plugin and now my website pics 200+ then i see some errors in my website. some peoples saying now you use paid version. please tell me my site have some big problem or not ? i used paid version then my site working is perfectly or not ?

  5. Sohail Akah says

    Hi, Thanks for the wonderful article, your site has always been helpful …. I am in a bit of a problem here, I hope you can give me a solution.

    I smushed all the images on my site, as a result, they appear broken in the google search results, I have worked really really hard to get my site and some of my images ranked in google …. but smush has turned the situation for into a nightmare, I have search everywhere on the web, but i can’t seem to find a proper solution for it …. I have read your article on Regenerating Thumbnails … but I’m not sure if that’s what I am suppose to do here. And I surely can’t bear to make another mistake.

    Your articles and your site has always been a great support through out my career I’ve learnt a lot from you … please help me out in this

  6. Arijit Biswas says

    I had used WP Smush Pro v.2.7.1 & their 2x Super Smush feature and sadly it is damn slow.. I had almost 50k images(300-400kb) each.
    It was smushing at 1 image/20 sec.

  7. garry says

    problem, with photoshop and other similar software, is you have to optimize all of the images manually which will eat up your whole time just to optimize images may be I’ll need to hire someone to do the job with photoshop and if you have only small site with only a few images than its doesn’t even matter if you optimize your images or not, maybe just try some plugin to fix them.

  8. Johnny says

    This plugin caused a HUGE MESS on my site. NEVER download it. I have to manually upload add missing pics and repair broken links and pages. If developers of this plugin are reading this, I would like to let them know that whatever they did wrong it is costing me money and a lot of time. 1 Star for your plugin. I cancelled my wp-dev membership and am extremely disappointed.

  9. Asma says

    I optimize my pictures with photoshop they looks crispy and clear on the edit post they looks perfect but once I upload them it turns blurry and not really high quality
    I downloaded some plugins maybe it could work and nothing’s work
    I try to verify the default zoom level of my browser (google chrome) but still doesn’t work
    is there any solution?

  10. Nikolas Broman says

    If you optimize with Photoshop/Gimp/outside of WP, then your resized images (large/medium/thumbnail) won’t be optimized. How can you recommend that approach?

      • Nikolas Broman says

        I actually tested this before commenting, and the resized images are not optimized.

        I downloaded the first image you see (with mountains) on jpegmini. The resolution is 5184 x 3456, the original’s size is 19.2 MB, and the optimized version is 2.9 MB (the website allows you to download both for comparison).

        I uploaded them to WP and checked out the resized ”large” version (1024×683 on default settings).

        Both came out as 121 KB. So the size of the source image didn’t have any effect.

        (Side note: Then I tried optimizing both resized images with the free JPEGmini Lite, and something interesting happened. The original, resized to 1024×683, came out as 98 KB. The already once optimized version, and then resized to 1024×683, came out as 101 KB. A small difference, but still a difference!)

        Could you please test this yourself? Did I do something wrong?

        You said that resized images ”will be optimized too, because the source image is smaller in size”. Is that really true?

      • Peter says

        Actually, I think Nikolas is onto something here.
        I have large source images (to cater for hi-dpi) at 1920x2010px that which is is 1.4 Mb. One of my custom image sizes is 1280×1340, and after uploading the source that size comes out to 380Kb. I thought that was too large, so I optimized the living daylights out of the source image in Photoshop and came up with a new source at 1920x210px that is 191Kb. After uploading the new source (under a new name to be able to tell images apart), the generated 1280×1340 is still more or less 380Kb, almost double the size of the source image even though its pixel dimensions are vastly smaller.

        There is a jpeg compression filter in WP. I get the feeling that WP decompresses the source image to bitmap before generating media sizes, and unless you apply compression through the WP filter, anything else but the source image will not be compressed!

        Does anyone have any thought’s on this?

        • Peter says

          edit: there is a pixel typo above: I wrote 1920x210px, but of course I mean 1920x2010px.

  11. John Blum says

    I have better results using ShortPixel so far. It allows working with multiple images at once and even with big sizes such as 10mb/image.

  12. Oliver says

    I use Phatch, an opensource batch image processor to optimize images outside of WordPress if I have a lot to do, if not then GIMP for the odd one here or there. Most of the time though, once a site is handed over to a client there is no control over image compression. Tools like WP Smush are a good starting point to impose some sort of sense into image uploads.

  13. AutumnSadness says

    Hi
    I used the plugin and it did what it says but when i look at the images sized in library in wp admin it says the plugin has reduced the image size but when i sabe the image to my computer, the size is the same (the size that was before smushing)
    So wtf? it dosen’t reduce the images? or what?

  14. Joy says

    Is there a plugin that will compress images already uploaded to your media library? We were using .png files for our blog posts because .jpgs looked really grainy, but it’s causing server load issues. Happy to use .jpg web compression for future media uploads but I don’t want to spend hours re-uploading re-linking compressed png files?

  15. Juergen | webbeetle says

    I agree that image optimization should happen outside WordPress, though what bugs me is that WP creates additional image sizes without any decent compression! I upload, via FTP, the required thumbnails for my featured images, and every time mine are around 35-50% smaller in files size than the ones WordPress created… You explain! Particularly since my original file was well compressed, so no process should be able to add extra file information (data = file size) to it.
    I use IrfanView, a very good and established freeware, which has an option ”Save for Web” (like Photoshop) which compresses files well and strips all EXIF information – highly recommended!

  16. Nick Jubrey says

    Does photoshop strip meta data from images? I’ve just started using tinypng for this feature. Photoshop works well and you can automate it which is nice. I also saw that Tinypng has a PS plugin for $50 a little step if its just just a save function built in to PS.

    I would like to do a side by comparison and see what we get.

  17. nawaf says

    i added wpsmush and did smushed all my images of wordpress.then it showed 9mb saved.when i ran a test some images say
    They saved 200 kb.
    But it is same the actual size
    I mean that even after smushing the size remains same for me .but in smush options it shows it saved 200kb. Why so?

    • Umesh Kumar says

      The savings shown over there is the sum of compression for the all sizes(Large, Medium, Thumbnail or any other ) of that particular image.

      So even if not the full size image is compressed, the other size for the image are probably reduced with a good amount.

    • Scott Hartley says

      You would have to download the image locally and replace the URL with that image. Or you can attempt to load the image with lazy load to improve performance.

  18. Alan Marsden says

    This is something I’m still working on. Thankfully it’s early days for the blog so not many images to deal with. I’m using Pixelmator for Mac which has the ”save for web” feature. You can also manually adjust the setting. Works great with no discernible loss of quality.

  19. Jer says

    What are your thoughts about Fireworks? I’ve been using it for years and am very happy with the results. Of course, since Adobe bought it…

  20. Nicole says

    Thank you for this info. I have been trying to figure out images with my blog and it is not going well (total newbie here). When I upload them to my media and add them to a post, they automatically get added to my post very, very small. Much smaller than the original. Then I try to make them bigger by resizing within the post and the images lose quality and look really bad! I am thinking this didn’t happen with some of my earliest posts. I switched themes. Could that have something to do with it? Is one of the above solutions (Smush or the alternatives) what I need to fix this?

  21. Morgan Madej says

    I always look out for your WP Beginner articles and catalogue the links for future refernce. Thank you for this review, much appreciated.

    I have been using http://webresizer.com/resizer/ recently. It is able to reduce my images by upto 77% while halving the pixels by roughly 50%

    There are other options that I have not used yet. It appears to be free to use online so it can be a quickly accessible tool.

    I do not know the owner, nor am I an affiliate.

Lämna ett svar

Tack för att du väljer att lämna en kommentar. Tänk på att alla kommentarer modereras enligt våra policy för kommentarer, och din e-postadress kommer INTE att publiceras. Vänligen använd INTE nyckelord i namnfältet. Låt oss ha en personlig och meningsfull konversation.