PluginProbe ʕ •ᴥ•ʔ
EWWW Image Optimizer / 8.5.0
EWWW Image Optimizer v8.5.0
8.7.1 8.7.0 8.6.0 trunk 5.6.2 5.7.1 5.8.2 6.0.3 6.1.0 6.1.1 6.1.2 6.1.3 6.1.4 6.1.5 6.1.6 6.1.7 6.1.8 6.1.9 6.2.0 6.2.1 6.2.2 6.2.3 6.2.4 6.2.5 6.3.0 6.4.0 6.4.1 6.4.2 6.5.0 6.5.1 6.5.2 6.6.0 6.7.0 6.8.0 6.9.0 6.9.1 6.9.2 6.9.3 7.0.0 7.0.1 7.0.2 7.1.0 7.2.0 7.2.1 7.2.2 7.2.3 7.3.0 7.4.0 7.5.0 7.6.0 7.7.0 7.8.0 7.9.0 7.9.1 8.0.0 8.1.0 8.1.1 8.1.2 8.1.3 8.1.4 8.2.0 8.2.1 8.3.0 8.3.1 8.4.0 8.4.1 8.5.0
ewww-image-optimizer / includes / nextgen.js
ewww-image-optimizer / includes Last commit date
chart.min.js 6 months ago check-webp.js 4 years ago check-webp.min.js 4 years ago eio-beacon.js 2 years ago eio-bulk-table.js 2 months ago eio-bulk.js 2 months ago eio-settings.js 3 months ago eio-tools.js 2 months ago flag.js 3 years ago jquery-ui-1.10.1.custom.css 2 months ago lazysizes-post.js 6 months ago lazysizes-pre.js 6 months ago lazysizes.js 5 years ago lazysizes.min.js 6 months ago load-webp.js 2 years ago load-webp.min.js 2 years ago ls.print.js 6 years ago ls.print.min.js 6 years ago ls.unveilhooks-addon.js 3 years ago ls.unveilhooks.js 3 years ago media.js 2 years ago nextcellent.js 5 years ago nextgen.js 3 years ago resize-detection.js 2 years ago resize-detection.min.js 4 years ago webp.js 3 months ago
nextgen.js
44 lines
1 jQuery(document).on( 'click', '.ewww-manual-optimize', function() {
2 var post_id = jQuery(this).data('id');
3 var ewww_nonce = jQuery(this).data('nonce');
4 var ewww_manual_optimize_data = {
5 action: 'ewww_ngg_manual',
6 ewww_manual_nonce: ewww_nonce,
7 ewww_force: 1,
8 ewww_attachment_ID: post_id,
9 };
10 jQuery('#ewww-nextgen-status-' + post_id ).html( ewww_vars.optimizing );
11 jQuery.post(ajaxurl, ewww_manual_optimize_data, function(response) {
12 var ewww_manual_response = JSON.parse(response);
13 if (ewww_manual_response.error) {
14 jQuery('#ewww-nextgen-status-' + post_id ).html( ewww_manual_response.error );
15 } else if (ewww_manual_response.success) {
16 jQuery('#ewww-nextgen-status-' + post_id ).html( ewww_manual_response.success );
17 }
18 });
19 return false;
20 });
21 jQuery(document).on( 'click', '.ewww-manual-image-restore', function() {
22 var post_id = jQuery(this).data('id');
23 var ewww_nonce = jQuery(this).data('nonce');
24 var ewww_manual_optimize_data = {
25 action: 'ewww_ngg_image_restore',
26 ewww_manual_nonce: ewww_nonce,
27 ewww_attachment_ID: post_id,
28 };
29 jQuery('#ewww-nextgen-status-' + post_id ).html( ewww_vars.restoring );
30 jQuery.post(ajaxurl, ewww_manual_optimize_data, function(response) {
31 var ewww_manual_response = JSON.parse(response);
32 if (ewww_manual_response.error) {
33 jQuery('#ewww-nextgen-status-' + post_id ).html( ewww_manual_response.error );
34 } else if (ewww_manual_response.success) {
35 jQuery('#ewww-nextgen-status-' + post_id ).html( ewww_manual_response.success );
36 }
37 });
38 return false;
39 });
40 jQuery(document).on('click', '.ewww-show-debug-meta', function() {
41 var post_id = jQuery(this).data('id');
42 jQuery('#ewww-debug-meta-' + post_id).toggle();
43 });
44