ShortPixel Image Optimizer

Descriere

Un modul freemium pentru comprimarea imaginilor, ușor de folosit, comprehensiv, stabil și actualizat frecvent, cu suport din partea echipei prietenoasă care l-a creat. 🙂

Increase your website’s SEO ranking, number of visitors and ultimately your sales by optimizing any image or PDF document on your website.
ShortPixel is an easy to use, lightweight, install-and-forget-about-it image optimization plugin that can compress all your past images and PDF documents with a single click. New images are automatically resized/rescaled and optimized on the fly, in the background. It’s also compatible with any gallery, slider or ecommerce plugin.

Ready for a quick DEMO? Test here or here.

Short Pixel uses minimal resources and works well with any shared, cloud, VPS or dedicated web hosting. It can optimize any image you have on your website even the images that aren’t listed in Media Library like those in galleries like NextGEN, Modula or added directly via FTP!

Both lossy and lossless image compression are available for the most common image types (JPG, PNG, GIF and WebP) plus PDF files.
We also offer glossy JPEG compression which is a very high quality lossy optimization algorithm. Specially designed for photographers!
Optimized images mean better user experience, better PageSpeed Insights or GTmetrix results, better Google PageRank and more visitors.

un test instantaneu de comprimare a imaginii pe situl tău sau comprimă niște imagini pentru a fi sigur că sunt pe placul tău.

De ce este ShortPixel cea mai bună alegere când vine vorba de optimizare imagine și comprimare PDF?

  • modul popular cu peste 200.000 de instalări active, potrivit WordPress
  • comprimă imagini JPG, PNG, GIF (statice sau animate) și documente PDF
  • option to automatically convert PNG to JPG if that will result in smaller images. Ideal for large images in PNG format.
  • nicio limită de dimensiune pentru fișier
  • opțiune pentru a converti gratuit orice fișier JPEG, PNG sau GIF (chiar și cele animate) în WebP pentru a fi plăcute de Google. Cum să activez WebP?
  • option to include the generated WebP images into the front-end pages by using the <picture> tag instead of <img>
  • compatibil cu WP Retina 2x – toate imaginile retina sunt comprimate automat. Cum beneficiez de afișările Retina?
  • optimize thumbnails as well as featured images. You can also select individual thumbnails to exclude from optimization.
  • posibilitatea de a optimiza orice imagine de pe situl tău, inclusiv imagini din NextGEN Gallery sau din alte galerii de imagini sau carusele
  • integrates with Gravity Forms post_image field type optimizing the images upon upload
  • imaginile reprezentative pot fi redimensionate automat înainte de a fi optimizate prin două metode diferite. Nu este nevoie de module suplimentare precum Imsanity.
  • Conversie CMYK în RGB
  • 24h de suport stelar (24/7) direct de la dezvoltatori.
  • testează cu ușurință variantele cu pierderi/fără pierderi ale imaginilor din Biblioteca media cu un singur clic
  • este excelent pentru fotografi: păstrează sau înlătură datele EXIF din imaginile tale, comprimă imaginile cu opțiunea fără pierderi.
  • funcționează bine atât cu siturile HTTPS cât și cu cele HTTP
  • uses progressive JPEG for larger images in order to speed up the image display
  • poți rula modulul ShortPixel pe mai multe situri web sau pe multi-sit cu o singură cheie API
  • it is safe to test and use the plugin: all the original images can be restored with a click, either one by one or in bulk
  • Optimizează în masă toate imaginile existe în Biblioteca media sau în alte galerii cu un singur clic
  • funcționează grozav pentru situri web eCommerce care folosesc WooCommerce sau alte module
  • funcționează grozav cu NextGEN Gallery, Foo Gallery și alte galerii și carusele.
  • compatibil cu siturile web găzduite de WP Engine sau cu toți furnizorii de găzduire importanți
  • compatibil cu modulele WPML și WPML Media
  • sare peste imaginile deja optimizate
  • compatibil cu module de filigranare
  • opțiune pentru a dezactiva imaginile cu optimizare automată la încărcare
  • imaginile care sunt optimizate sub 5% sunt bonus
  • WooCommerce, WP offload S3 and WP Stateless compatible
  • Raport de optimizare pentru 40 de zile cu toate detaliile pentru imagini și statistici generale
  • We are GDPR compliant! Read more.
  • credite gratuite de optimizare pentru organizații non-profit, contactează-ne pentru detalii

Cât costă?
ShortPixel vine cu 100 de credite gratuite/lună și poți cumpăra credite suplimentare cu doar 4,99 $ pentru 5.000 de credite imagine.
Vezi prețurile noastre.

Testimoniale:
★★★★★ Un modul formidabil care lucrează foarte bine, o reducere globală de 62%. robertvarns
★★★★★ Sosul secret pentru un sit web WordPress. mark1mark
★★★★★ Un modul pe care trebuie să-l ai, suport excelent! ElColo13
★★★★★ Un modul excelent! Serviciu pentru clienți chiar mai bun! scaliendo
★★★★★ Comprimare excelentă pentru imagini, un modul solid, suport la fel de bun. matters1959
mai multe testimoniale

Ajută-ne să ne facem cunoscuți recomandând ShortPixel prietenilor tăi și aduni 100 de credite imagine suplimentare lunare pentru fiecare prieten care se înregistrează. Câștigi bani promovând modulul cu programul nostru de afiliere 50/50.

Intră în contact!

Actions and Filters for Developers

The ShortPixel Image Optimiser plugin calls the following actions and filters:

do_action( ‘shortpixel_image_optimised’, $post_id ); //upon successful optimization

do_action(„shortpixel_before_restore_image”, $post_id); //before restoring an image from backup

do_action(„shortpixel_after_restore_image”, $post_id); //after succesful restore

apply_filters(„shortpixel_backup_folder”, $backup_folder, $main_file_path, $sizes); //just before returning the ShortPixel backup folder, usually /wp-content/uploads/ShortpixelBackups. The $sizes are the sizes array from metadata.

apply_filters(‘shortpixel_image_exists’, file_exists($path), $path, $post_id); //post ID is not always set, only if it’s an image from Media Library

apply_filters(‘shortpixel_image_urls’, $URLs, $post_id) // filters the URLs that will be sent to optimization, $URLs is a plain array

apply_filters(‘shortpixel/db/chunk_size’, $chunk); //the $chunk is the value ShortPixel chooses to use as number of selected records in one query (based on total table size), some hosts work better with a different value

In order to define custom thumbnails to be picked up by the optimization you have two options, both comma separated defines:

define(‘SHORTPIXEL_CUSTOM_THUMB_SUFFIXES’, ‘_tl,_tr’); will handle custom thumbnails like image-100x100_tl.jpg

define(‘SHORTPIXEL_CUSTOM_THUMB_INFIXES’, ‘-uae’); will handle custom thumbnails like image-uae-100×100.jpg
define(‘SHORTPIXEL_USE_DOUBLE_WEBP_EXTENSION’, true); will tell the plugin to create double extensions for the WebP image counterparts, for example image.jpg.webp for image.jpg

define(„SHORTPIXEL_NOFLOCK”, true); // don’t use flock queue, only activate this when you have flock() denied errors on your installation.
.
define(„SHORTPIXEL_EXPERIMENTAL_SECURICACHE”, true); // adds timestamps to URLS, to prevent hitting the cache. Useful for persistent caches.

4.14.3

Release date: 22nd July 2019
* Compatibility with Flywheel hosting by not using flock if Flywheel detected
* When using the PICTURE tag to deliver WebP, keep the width and height at level
* Refactoring of the API Key settings page, refactoring of Other media
* Performance improvements for selecting from large wp_posts and wp_postmeta tables when doing bulk optimization
* Display a message when bulk is skipping many processed images, if bulk processing is ran again.
* Fixed: Other media – Recompress adds „Preserve CMYK”
* Fixed: duplicate error message when validating wrong API key
* Conflict message: align the text vertically and provide space between text and button when displayed on any admin page
* Fixed: Other media Restore fails when original file is readable, not writable

4.14.2

Release date: 1st July 2019
* add the possibility to define custom infixes for thumbnails (like image-uai-150×150.jpg for image.jpg) – comma separated define SHORTPIXEL_CUSTOM_THUMB_INFIXES

4.14.1

Release date: 17th June 2019
* Fix errors when DOMDocument not present

4.14.0

Release date: 17th June 2019
* Add new filters proposed by WP Stateless: shortpixel_backup_folder, shortpixel_image_exists, shortpixel_image_urls
* Better placement of the elements on the Other Media page
* Fix custom bulk for PDFs when the pdf thumbnails are not activated
* Fix selecting items from DB twice for bulk in some circumstances
* Warn user that converting PNG to JPG while keeping EXIF in options doesn’t keep it (no EXIF for PNGs).
* When SHORTPIXEL_DEBUG=x get parameter is provided, display a floating link to the shortpixel_log file
* Adaptive Max execution time and capped to 90 sec. for the bulk background AJAX calls. (Kinsta has a max_execution_time of 300 sec. in PHP but the HTTP connection is cut after 180 sec.)
* Fix custom 404 page for missing images not working when using .htaccess for WebP
* Fix WebP picture tag with relative URLs not working in some circumstances
* Fix replacing the inside an existing tag with another tag.
* Clear SP optimization cache in order to be able to optimize an image which initially had permissions error, after changing the permissions.
* Fix being able to list the contents of ShortpixelBackups on some badly configured servers.
* Fix error when inputting D’Artagnan in the AUTH pass field of settings.
* Add the Quriobot for support.

4.13.1

Release date: 16th April 2019
* fix thumbnail optimization when a thumbnail was replaced with another one
* better integration with Regenerate Thumbnails Advanced

4.13.0

Release date: 10th April 2019
* Bulk restore for the Other Media
* make the filename extension be updated when manually optimizing a PNG from Media Library, if the convert to JPG is active, without refreshing the page
* Integration with Regenerate Thumbnails Advanced new 2.0 beta version
* Add the rules for WebP in the WP-CONTENT .htaccess
* ShortPixel Other Media – display the time of optimization in the grid and offer option to sort by it
* Keep sort order when optimizing / refreshing page on Other Media
* offer the visual comparer for Other Media too
* resolve the Settings inconsistency in Other Media (settings displayed were from when adding the folder not from when actually optimizing)
* Make pressing Escape or clicking outside of any popup close it.
* Fixed: Restoring an Other Media item and then Optimizing it again optimizes it Lossless
* fix generating the WebP tags when the images are either on a subdomain or on a CDN domain having the same root domain as the main site.

EARLIER VERSIONS

  • please refer to the changelog.txt file inside the plugin archive.

Capturi ecran

  • Bulk optimization running. (Media>Bulk ShortPixel)

  • Activează-ți cheia API în setări modul. (Setări>ShortPixel)

  • Verifică setările principale după ce ai activat cheia API. (Setări>ShortPixel)

  • Ajustează folosind setările avansate. (Setări>ShortPixel)

  • Comprimă toate imaginile pe care le ai cu un singur clic (Media>ShortPixel în masă)

  • Verifică-ți statisticile: număr de fișiere procesate, spațiu economisit, compresie medie, lățime de bandă salvată, imagini rămase. (Setări>ShortPixel)

  • Verifică starea optimizării imaginilor, restaurează și reoptimizează imaginea. (Media>Bibliotecă)

  • Verifică detalii optimizare imagine. (Media>Bibliotecă->Editează)

  • Verifică starea altor imagini optimizate - imagini din teme sau alte module.(Media>Altă media)

Instalare

Ia modulul ShortPixel ca să ruleze pe situl tău web WordPress:

  1. Înregistrează-te folosind adresa ta de email la https://shortpixel.com/wp-apikey
  2. Vei primi cheia personală API printr-un emailul de confirmare trimis la adresa pe care ai furnizat-o.
  3. Încarcă modulul ShortPixel în directorul /wp-content/plugins/
  4. Folosește-ți cheia API unică pentru a activa modulul ShortPixel în meniul „Module” în WordPress.
  5. Imaginile încărcate pot fi optimizate automat în Biblioteca media.
  6. Gata!

Întrebări frecvente

How does ShortPixel compare to other image optimisation plugins (e.g Smush, Imagify, TinyPNG, Kraken, EWWW)?

ShortPixel has better compression rates, more features, supports backups and has very affordable one-time plans.
If you are serious about making an informed decision please take 10 minutes and read this article.

Can I use the same API Key on multiple web sites?

Yes, you can.
As long as you have available credits you can use a single API Key on as many websites as you wish!

Can I test/use the plugin for free?

Yes you can.
We offer 100 free image optimization credits each month. Exceeding the monthly free quota will pause the optimization process till the quota is reset or extended by buying one of our plans.

Can I optimize images that aren’t in Media Library?

Absolutely.
You can actually optimize any image you have on your site regardless of its place. You just need to add – in the Advanced section of the ShortPixel Settings – the folders where the images you want to optimize are located and ShortPixel will work its magic and do the rest.

Can I optimize both past and new images?

Sure!
You can optimize all your past/current images using our „Bulk ShortPixel” page in your Media with a single click.

A credit = an optimized image?

Yes, that is correct.
But please note that usually an image in Media Library has 3, 5 or more associated thumbs. Each optimized thumb requires a credit. In the rare cases when ShortPixel does not optimize the image (lossy) with at least 5%, the credit will not be consumed, though.

Can I restore my images? What happens with the originals?

If you choose the „Image backup” option in Settings/ShortPixel then the original version of any optimized image or PDF will be saved in the backup folder.
The original image is needed if you want to restore an image or if you want to convert an image from lossy/glossy to lossless or viceversa.

Care sunt tipurile de format care pot fi optimizate?

ShortPixel optimizes JPEG, PNG, GIF and PDF type of files.

Do you have one-time plans?

Yes we do.
The credits that come with our one-time plans never expire. Yummy! 🙂

What happens to my existing images?

Your existing images are replaced with the optimized ones.
If you choose the backup option then the originals will be saved in a separate folder so you can restore them should you ever need/want to do that.

How does the plugin work?

Our light-weight plugin sends the original images to our Image Optimization Cloud where they are compressed. ShortPixel then downloads the optimized images and the unoptimized originals are replaced with the optimized versions.

Do you optimize the images in cloud?

Yes, all the images processsed by ShortPixel are optimized in the Cloud. This takes the load off of your server and allows us to produce the best results.

What payment methods are accepted?

We accept payments via PayPal and card.

Cum activez cheia API pentru un multi-sit?

You have to activate the plugin in the network admin and then activate it manually on each individual site in the multisite. Once you have done that, the Settings menu appears and you can add the API key for each individual site.
As an alternative, you can edit wp-config.php and add this line
define(‘SHORTPIXEL_API_KEY’, ‘APIKEY’)
where ‘APIKEY’ is the API Key received upon sign up.
If configured that way, the API key will be used for all the sites of the multisite but will only be visible on the main site’s Settings page, being hidden for the rest of the sites.

I am not the only one working in the WordPress Dashboard. How can I hide my API key?

There is a simple way to hide the API key, all you need to do is to add these two lines in your wp-config.php:
define(‘SHORTPIXEL_API_KEY’, ‘<>’);
define(‘SHORTPIXEL_HIDE_API_KEY’, true);

How much is a credit?

A credit is used each time ShortPixel optimizes an image or thumbnail by at least 5%. If we’re not able to optimize an image or thumbnail by at least 5% then no credit will be used 🙂
Please also note that usually images in your Media Library have 3-5 thumbs associated and a credit will be used for each featured image or associated thumbnail that is optimized.

Why shall I use a wordpress plugin and not an offline tool?

Because ShortPixel algorithms were perfected while optimizing over a hundred million real-life images.
ShortPixel not only offers the best compression for JPEG, PNG, GIF and PDF files but it also saves you a lot of time. You just install it on your site and then ShortPixel will take care that all the images on your site are immediately optimized after upload.

Does optimizing images affect my ALT tags?

No, ShortPixel only optimizes images, it won’t touch anything else like your HTML/CSS.

If I stop using ShortPixel will my images remain optimized?

Absolutely!
Once optimized the images will remain optimized unless you explicitly choose to restore them. But why would you do that? 🙂

Do I have to pay monthly or one time?

We have both options available.
One-time credits never expire are a bit more expensive. Check out our prices here

When can I cancel a monthly plan?

Whenever you want.
The credits you still have available for the current billing period will still be available until the end of the billing period. At the end of it, you won’t be billed again and the plan will be reset to the free plan.

When credits expire?

Monthly credits expire after 30 days while one-time credits never expire.

Do you have an API?

Yes, we have several APIs and tools.
You can learn more about it here:
https://shortpixel.com/api-tools

Can I use ShortPixel WP plugin on a localhost installation?

Unfortunately not 🙁
But you can use either our command line tool or our web tool
https://shortpixel.com/web-tool-docs
https://shortpixel.com/cli-docs

How does resizing work?

If you choose the option to resize your images then the featured image can be resized to a predefined size while keeping its aspect and proportions intact. The associated thumbs won’t be resized
Using this option you can safely upload original images safely without needing to apply any pre-processing to make them smaller.

Va funcționa ShortPixel dacă situl meu folosește CloudFare?

Absolutely! Sometimes you’ll need to make sure you whitelist some IPs, just contact us and we’ll assist you with that.

M-am blocat. Ce fac?

Echipa ShortPixel este aici pentru a ajuta. Contactează-ne!

Verificări

6 decembrie 2019
I'm extremely happy to have finally found an image optimizer like ShortPixel that: 1. compresses to absolutely optimal levels (the "glossy" setting is PERFECT), 2. offers the ideal level of advanced compression selectability, without offering too much or too little control, 3. works as it should without intrusion to editor-level users (they have no idea that their stupidly large non-optimized photos are being optimized automatically), and 4. offers a solid amount of monthly image uploads (100) with FULL Pro level functionality for free. Better than WP Smush and literally every other image optimizer in the WP marketplace. And if your or your clients need more volume than 100 images per month, it's well worth the modest price - trust me! Thank you, ShortPixel!
8 decembrie 2019
It is ok. But when i disinstall always appears the message to bud cdn.
4 decembrie 2019
I have the paid version of the plugin and it is brilliant. Highly recommended! The plugin has optimized my website´s image. As a result, the plugin decreased the website load time. The result is priceless.
28 noiembrie 2019
Great to handle subaccounts for customers.
Citește toate cele 479 de recenzii

Contributori și dezvoltatori

„ShortPixel Image Optimizer” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

„ShortPixel Image Optimizer” a fost tradus în 9 locale. Mulțumim traducătorilor pentru contribuția lor.

Tradu „ShortPixel Image Optimizer” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

4.15.2

Release date: 28th November 2019
* Fix for is_null error and „Call to undefined method ShortPixel\ShortPixelPlugin::alterHtaccess” in some cases.
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted

4.15.1

Release date: 27th November 2019
* Fix the infamous T_PAAMAYIM_NEKUDOTAYIM error on PHP 5.3 with WP Offload Media compat. module.
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted

4.15.0

Release date: 27th November 2019
* Ask if WebP files should be created before bulk optimization : checkbox added in Bulk page.
* Added filters for optimal chunk size when selecting records from wp_postmeta while bulk processing: ‘shortpixel/db/chunk_size’.
* Optimize images also on edit-media screen.
* Experimental support for static cache firewalls, and sending images w/ timestamp: SHORTPIXEL_EXPERIMENTAL_SECURICACHE.
* Limit loading of JS / CSS to pages we do work on.
* Refactoring & speed optimizations: – new external class for gravity forms, nextgen and visual composer, new controller for global admin hooks, new front controller, updated plugin init, clean(ish) root file, database optimization(reduced number of queries), unlistedThumbs checker only fires when the optimize unlisted check is active, optimizations for filesystem and findFileByPattern.
* WPML Duplicates – Don’t mark empty GUID’s as duplicate.
* Fix broken styles on WP 5.3.
* Fix in case meta_value in processCountable has a WP_Error object instead of normal metadata.
* Fix on WP Engine when large wp_postmeta table: limit to 16K the size of the query with ID list.
* Fixed: error when log path is not writeable
* Fixed: double sends within the same images, can happen with something like WPML and it’s duplicated media.
* Fixed: bug when searching unlisted images, in some circumstances.
* Fixed: max_execution_time when time is set lower than 0.
* Fixed: directories with no permission would give PHP error
* Fixed: pathToUrl now also works for paths outside wp uploads
* Fixed: check for DOING_AJAX on redirect to settings.
* Fixed: Shortpixel icon + exclamation mark in toolbar showing on every page load.
* Fixed: Add Custom media browser doesn’t display files anymore
* Fixed: WebP option adds an extra border if image already has a border -> borders will not be replicated to tags.
* Fixed: Validating empty key doesn’t show any message.
* Fixed: on Nginx writes .htaccess files.
* Fixed: Bug with safeGetAttachmentUrl for URLs that start with //.
* Fixed: New S3-Offload version breaks Shortpixel and offloading.
* Fixed: get_attached_file when S3-Offload is active, breaks other plugins.
* Fixed: crash when doing .htaccess files ( WP 5.3 specific ).
* Fixed: double file occurences on png2jpg in conjunction with s3offload.
* Language – 1 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted

4.14.6

Release date: 9th October 2019
* Don’t convert to <picture> the <img>s with backgrounds.
* Remove unused eval() call.
* Restore the validate button next to API Key but change label to „Save and validate”
* Fixed: PNGtoJPG issue with already uploaded images
* Fixed: finding wrong unlisted thumbnails due to regex.
* Fixed: fatal error when trying to delete crashed attachement ( without proper URL )
* Fix for S3 offload – PNG2JPG , doesn’t remove old JPG files
* Fixed: S3Offload will not offload anymore when ‘Copy files to bucket’ is off ( and object was not previously offloaded )
* S3Offload doesn’t offload via optimiser anymore if this setting is off
* Fixed: cutting out initial offload if optimization needs to be done, when autolibrary is on
* Fix for PNG2JPG – JPG files remained in backupdir.
* Small fix for remote download thumbnails
* Fixed: notice in filemodel due meta-facade feeding array
* Fixed: bug in File2Url in filesystemcontroller
* Fixed: download issue in attempt to remote download
* Language – 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted

4.14.5

Release date: 29th August 2019
* If constant SHORTPIXEL_USE_DOUBLE_WEBP_EXTENSION is defined as true, use double extension for WebP (.jpg.webp)
* Fixed: Javascript – String.prototype causes errors on React apps
* Fixed: Undefined page load when using ShortPixel and Divi preloaded images
* Fixed: Offload Media – When removing PNG2JPG converted file, the files / folder are not removed.
* Fixed: When the constant that enables using double extensions for WebP (.jpg.webp) is active, the webp’s are found as unlisted thumbnails and sent to optimization.
* Fixed: missing call to apply_filters(‘shortpixel_image_exists’…) on a particular case.
* Language – 0 new strings added, 1 updated, 0 fuzzied, and 0 obsoleted

4.14.4

Release date: 19th August 2019
* Check if unlisted thumbnails present for already optimized images (in case the thumbnails were added later) in Media Library list and when doing bulk. This also integrates with the Unicode plugin.
* If JSON PHP module not present, add a proper error
* Fixed: bulk error „WordPress database error You have an error in your SQL syntax” on some installs
* Fixed: Warning: count() Parameter must be an array.
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted