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 optimising 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 imaginilor pe situl tău sau comprimă niște imagini pentru a testa algoritmii noștri de optimizare.

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
  • compress JPG (and its variations JPEG, JPEG 2000, JPEG XR), PNG, GIF (still or animated) images and also PDF documents
  • 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 automatically convert PNG to JPG if that will result in smaller images. Ideal for large images in PNG format
  • 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
  • option to scale images down, with 2 different options, which is very useful to automatically resize large images. This applies to the featured images and there is no need for additional plugins like Imsanity
  • Conversie CMYK în RGB
  • sare peste imaginile deja optimizate
  • 24h de suport stelar (24/7) direct de la dezvoltatori.
  • easily test lossy/glossy/lossless versions of the images with a single click in your Media Library
  • este excelent pentru fotografi: păstrezi sau înlături datele EXIF din imagini, comprimi fotografiile 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 are by default saved in a local backup that 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
  • nicio limită de dimensiune pentru fișier
  • integrates with Gravity Forms post_image field type optimizing the images upon upload
  • compatibil cu module de filigranare
  • opțiune pentru a dezactiva imaginile cu optimizare automată la încărcare
  • no credits are used for the images that are optimised less that 5%
  • direct integration with CloudFlare, either by using an API Key or a Token
  • Raport de optimizare pentru 30 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.

Other plugins by ShortPixel

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 optimisation, $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.

Hide the Cloudflare settings by defining these constants in wp-config.php:

define('SHORTPIXEL_CFTOKEN', 'the Cloudflare API token that has Purge Cache right');
define('SHORTPIXEL_CFZONE', 'The Zone ID from the domain settings in Cloudflare');

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ă detaliile referitoare la optimizarea imaginilor. (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. Sign up using your email at 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, Optimole)?

ShortPixel consistently has better compression rates along with more features, backup support and has very affordable one-time or monthly plans.
Here are a couple of independent reviews:
AuthorityHacker – „ShortPixel is our tool of choice, simply because it’s pretty much automated – we just let it do its thing.” (read full review)
WP Modula – „One of the reasons I’m personally a huge fan of ShortPixel is the built-in support for next-gen image formats like WebP.” (read full review)

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!

What plan is better for me? What do you recommend?

Everyone has different needs, but generally, we recommend getting a One-Time plan to optimize your whole Media Library and then get a Monthly plan to optimize your future uploads. To learn more, have a look at this comparison

I don’t know how many thumbnails do I have, what plan should I take?

To know how many thumbnails you have, just install the plugin and go to Media > Bulk ShortPixel. The plugin will tell you how many thumbnails you’ve got. Based on this, have a look at our plans

Can I upgrade/downgrade easily my plan?

Of course. You can upgrade or downgrade your plans in a couple of clicks from your account on shortpixel.com.

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 images that are both past and new?

Sure!
You can optimize all your past/current images and photos 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 optimise 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 optimises JPEG (JPG, JPEG, JPEG 2000, JPEG XR), PNG, GIF (animated and still) 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 optimised versions.

Do you optimize images in the 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 card (Mastercard, Visa, Maestro, American Express, Discover, Diners Club, JCB, UnionPay), PayPal and Apple Pay.

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', '<<your api key here>>');
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 2 billion 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 images on your site, 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

30 august 2020
As others have said, if you spend the time to optimise your images before you upload, then this app is not needed. The upside is that you don't need to worry about that side of things so a) your workflow increases b) as long as you set the compression level up on the app your quality isn't adversely impacted. To be honest though, even if the quality does drop a little, I would rather trade that with the increase in site speed.
Citește toate cele 561 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 13 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.20.2

Release date August 26th 2020
* Fix: there was a PHP warning when using the PICTURE method to deliver WebP images, which is now fixed;
* Fix: in some cases the image URL’s were relative and the optimization could not be done;
* Language: 4 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.20.1

Release date August 19th 2020
* HelpScout and Quirobot widgets are now disabled
* Language: 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.20.0

Release date August 17th 2020
* New: Small refactor of the way to handle ABSPATH;
* Fix: jQuery browser ( IE 6.0 support removed ) for WordPress 5.5;
* Fix: Always reset quota when doing check notice, to prevent hanging notices;
* Compat: Addded Phoenix Media Rename plugin to the conflicting plugins list, because of the way they treat the ShortPixel metadata;
* Language: 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.19.3

Release date July 14th 2020
* Fix: Images weren’t optimized when they were added from the Upload function of the Gutenberg image block;
* Fix: Scaled images when using relative paths now don’t fail on domain issues;
* Fix: Drop any notices that don’t have ShortPixel Notice as SubClass;
* Fix: Properly handle some situations when the .htaccess file is read-only;
* Fix: Avoid the plugin crash in some specific situations when an invalid API Key was provided;
* Fix: Notices were being displayed for the first time custom folders were added on a multisite install;
* Fix: Optimize now wasn’t displayed anymore as a button in Other Media for multisite installs;
* Fix: In certain situations, when the image timestamp changed, the optimization was counting 2 credits;
* Language: 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.19.2

Release date June 10th 2020
* Fixed a fatal error when specific notifications were active and the plugin wasn’t updated through WordPress;
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.19.1

Release date June 9th 2020
* Fixed a fatal error when WebP delivery was active;
* Fixed an error in a specific situation when running out of credits while the bulk processing was running;
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.19.0

Release date June 4th 2020
* Added an animation in settings that better explains the automatic resize done by ShortPixel;
* Fix for fatal errors in some cases when updating the plugin, by moving the class loader to PSR-4;
* Fix for a situation where the compare function wouldn’t work because of a wrong assumption for the backup folder path;
* Fix: if directory structure is fully empty, select other media folder displays empty modal;
* Fix for check quota button that wasn’t working in certain situations;
* Fix for missing DB table when doing a bulk restore before having optimized images;
* Fix for a DB foreign key issue in situations where multiple WordPress sites run on the same DB;
* Fix for backup getting broken on IIS/Windows servers, because of the way Windows handles the paths;
* Compability fix for WooCommerce germanized PRO plugin, where the cart page was throwing a fatal error because of the PDF that ShortPixel was trying to optimize;
* Various fixes for other media screen, to make it more consistent with the Media Library;
* Language – 5 new strings added, 1 updated, 1 fuzzied, and 0 obsoleted.

4.18.1

Release date 20th May 2020
* Fix for a situation when running the bulk could result in duplicate images;
* Updated some old docs links;
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.18.0

Release date 7th May 2020
* Added a warning for the case when Imagik library isn’t available and „Keep EXIF data is enabled”;
* Added a check to prevent the bulk process to be called in multiple browsers in order to decrease the load on admin-heavy sites;
* Fix for the situation when the bulk process would enter a loop in certain situations;
* Fix for the notices after bulk restore that would duplicate the files missing form backups;
* Fix for multisite when DB tables were created even for sub-sites without the plugin being active;
* Language – 1 new strings added, 0 updated, 0 fuzzied, and 5 obsoleted.

4.17.4

Release date: 22nd April 2020
* Fix 400 errors response on admin-ajax.php when using a fontend uploader plugin;
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.17.3

Release date: 16th April 2020
* Added a collapsable details feature to notifications, in order to avoid filling up the screen with them;
* Added a filter to completely disable the plugin, when necessary (for certain user roles for example);
* Hide the API key from the support chat module in settings, when the API key is entered via wp-config.php;
* Prevent fatal errors if multiple versions of the plugin are active simultaneously;
* Fix for API key that could be leaked in the frontend through JS;
* Fix for situations where the plugin was crashing if the API key was added via wp-config.php;
* Fix missing optimize button on Edit Media screen;
* Fix for time stamp in Other Media screen when the server is set on another time zone than UTC;
* Fix for JSON parsing errors when set_time_limit function is forbidden;
* Fix for notifications not showing correctly the number of credits available;
* Fix for images stuck in „Pending Restore” in Other Media, when there was no backup for them;
* Fix for hamburger menu in Other Media not displaying options centered;
* Language – 4 new strings added, 2 updated, 0 fuzzied, and 4 obsoleted.

4.17.2

Release date: 10th April 2020
* Fix for Over Quota notification that didn’t go away even if there were enough credits;
* From now on other ShortPixel notifications will only show up on ShortPixel related pages (Media Library, ShortPixel settings, Other Media page, Bulk Optimize page);
* Added a constant which can be used to completely disable all ShortPixel notifications. To be used with care as in certain cases it can hide important notifications;
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.17.1

Release date: 6th April 2020
* Fix for MySQL index errors for MySQL 5.6;
* Language – 0 new strings added, 0 updated, 0 fuzzied, and 0 obsoleted.

4.17.0

Release date: 2nd April 2020
* Complete rewrite of the Other Media part of the plugin. It now looks closer to the standard Media Library, having thumbnails and actions like Compare, Re-optimize and Restore from backup for all images when you have Backups activated;
* Added notification to activate the integration with NextGen Gallery, when the plugin is active and the integration is not activated;
* Improved the way Other Media folders are added and it should not crash anymore for folders with a very large number of images;
* Fix for the extra information (i) next to each Other Media folder in the Advanced Settings;
* Fixes for multiple issues reagrding the NextGen Gallery plugin integration;
* Fix for notififcations showing up when they’re not supposed to show up;
* Fix for multiple notifications when backup files are not found. These are now merged together;
* Fix for notifications that were crashing outside ShortPixel screens;
* Fix for the report that was wrongly stating 40 days, when actually the report is only for 30 days;
* Fix for the exclude regex section that was returning true even if no matches were found;
* Removed from the plugin the files that are not used anymore;
* Language – 15 new strings added, 0 updated, 0 fuzzied, and 8 obsoleted.

EARLIER VERSIONS

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