Imagify Image Optimizer - Version 1.4

Version Description

  • Interface
    • Medias: Click a button to open images comparison between Original and Optimized (available for big enought images)
  • Improvement
    • Add async method to optimize resized images
Download this release

Release Info

Developer wp_media
Plugin Icon 128x128 Imagify Image Optimizer
Version 1.4
Comparing to
See all releases

Code changes from version 1.3.6.1 to 1.4

assets/css/admin.css CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  .imagify-plugins-error {
2
  overflow:hidden;
3
  padding-left:20px;
@@ -267,7 +270,8 @@ td .imagify-chart {
267
  }
268
  .imagify-settings .button,
269
  .imagify-welcome .button,
270
- .imagify-notice .button {
 
271
  height: auto;
272
  padding: 8px 20px;
273
  border: 0 none;
@@ -275,6 +279,7 @@ td .imagify-chart {
275
  font-weight: 600;
276
  box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
277
  }
 
278
  .imagify-notice .button-mini {
279
  padding: 2px 10px;
280
  font-size: 13px;
@@ -312,19 +317,33 @@ td .imagify-chart {
312
  vertical-align: middle;
313
  }
314
  .imagify-settings .button-primary.button-primary,
315
- .imagify-welcome .button-primary.button-primary {
 
316
  background: #40B1D0;
317
  color: #FFF;
318
  box-shadow: 0 3px 0 rgba(51, 142, 166, 1);
319
- text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799
320
  }
321
  .imagify-settings .button-primary:hover,
322
  .imagify-settings .button-primary:focus,
323
  .imagify-welcome .button-primary:hover,
324
- .imagify-welcome .button-primary:focus {
 
 
325
  background: rgb(51, 142, 166);
326
  box-shadow: 0 3px 0 rgb(31, 122, 146);
327
  }
 
 
 
 
 
 
 
 
 
 
 
328
  .imagify-settings input[type="text"] {
329
  color: #4A4A4A;
330
  font-weight: 600;
@@ -2008,6 +2027,15 @@ td.imagify-cell-filename {
2008
  border-radius: 50%;
2009
  }
2010
 
 
 
 
 
 
 
 
 
 
2011
  .imagify-modal .imagify-comparison-title {
2012
  font-size: 28px;
2013
  margin-bottom: 1em;
1
+ body.imagify-modal-is-open {
2
+ overflow: hidden;
3
+ }
4
  .imagify-plugins-error {
5
  overflow:hidden;
6
  padding-left:20px;
270
  }
271
  .imagify-settings .button,
272
  .imagify-welcome .button,
273
+ .imagify-notice .button,
274
+ .imagify-button-primary.imagify-button-primary {
275
  height: auto;
276
  padding: 8px 20px;
277
  border: 0 none;
279
  font-weight: 600;
280
  box-shadow: 0 3px 0 rgba(0, 0, 0, .15);
281
  }
282
+
283
  .imagify-notice .button-mini {
284
  padding: 2px 10px;
285
  font-size: 13px;
317
  vertical-align: middle;
318
  }
319
  .imagify-settings .button-primary.button-primary,
320
+ .imagify-welcome .button-primary.button-primary,
321
+ .imagify-button-primary.imagify-button-primary {
322
  background: #40B1D0;
323
  color: #FFF;
324
  box-shadow: 0 3px 0 rgba(51, 142, 166, 1);
325
+ text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799!important;
326
  }
327
  .imagify-settings .button-primary:hover,
328
  .imagify-settings .button-primary:focus,
329
  .imagify-welcome .button-primary:hover,
330
+ .imagify-welcome .button-primary:focus,
331
+ .imagify-button-primary.imagify-button-primary:hover,
332
+ .imagify-button-primary.imagify-button-primary:focus {
333
  background: rgb(51, 142, 166);
334
  box-shadow: 0 3px 0 rgb(31, 122, 146);
335
  }
336
+
337
+ /* exception */
338
+ .wp_attachment_image .imagify-button-primary {
339
+ float: left;
340
+ padding: 0 10px 1px;
341
+ margin: 0 5px 2px 0;
342
+ font-size: 13px;
343
+ line-height: 26px;
344
+ box-shadow: 0 3px 0 rgba(51, 142, 166, 1);
345
+ }
346
+
347
  .imagify-settings input[type="text"] {
348
  color: #4A4A4A;
349
  font-weight: 600;
2027
  border-radius: 50%;
2028
  }
2029
 
2030
+ /* Attachment page exception */
2031
+ .wp_attachment_image #imagify-visual-comparison .close-btn {
2032
+ top: 0;
2033
+ }
2034
+ /* Attachment page exception */
2035
+ .wp_attachment_image #imagify-visual-comparison .imagify-modal-content {
2036
+ padding-top: 40px;
2037
+ }
2038
+
2039
  .imagify-modal .imagify-comparison-title {
2040
  font-size: 28px;
2041
  margin-bottom: 1em;
assets/css/admin.min.css CHANGED
@@ -1 +1 @@
1
- .imagify-plugins-error{overflow:hidden;padding-left:20px;list-style-type:disc}.imagify-plugins-error li{width:300px;line-height:30px}@media (max-width:570px){.imagify-plugins-error li{width:auto}}.imagify-notice-dismiss.notice-dismiss{text-decoration:none}.imagify-spinner{display:inline-block;width:20px;height:20px;margin-right:5px;vertical-align:middle;background:rgba(0,0,0,0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px;opacity:0.7}.misc-pub-section.misc-pub-imagify h4{font-size:14px;margin-top:5px;margin-bottom:0}.imagify-sweet-alert button{margin-top:17px !important;height:45px !important;letter-spacing:3px;text-transform:uppercase !important;border-radius:3px !important;background-color:#40b1d0 !important;box-shadow:0 3px 0 #338ea6 !important}.imagify-sweet-alert button.cancel{background:#777 !important;box-shadow:0 3px 0 #444 !important}.imagify-sweet-alert-signup .sa-confirm-button-container{width:40%}.imagify-sweet-alert-signup button{width:100%;padding:0 !important}.imagify-sweet-alert .sa-input-error:before,.imagify-sweet-alert .sa-input-error:after,.imagify-sweet-alert .la-ball-fall{top:25% !important}#wpwrap{transition:all .4s}.stop-scrolling #wpwrap{filter:blur(2px)}.stop-scrolling #wpwrap #wpadminbar{top:-32px}.imagify-primary{color:#40b1d0}.imagify-secondary{color:#8cc152}#imagify-check-api-container{font-weight:bold}#imagify-check-api-container .dashicons{font-size:25px}#imagify-check-api-container .dashicons-no:before{color:#f06e57;vertical-align:-1px}#imagify-check-api-container .dashicons-yes:before{color:#8BC34A;vertical-align:-1px}.imagify-valid{color:#8BC34A}.imagify-chart{width:33.33%;position:relative}#imagify-overview-chart-legend{overflow:hidden}.imagify-doughnut-legend{margin-top:38px;list-style:none}.imagify-doughnut-legend li{display:block;padding-left:30px;position:relative;margin-bottom:15px;border-radius:5px;padding:3px 8px 2px 31px;font-size:14px;font-weight:600;cursor:default;-webkit-transition:background-color 200ms ease-in-out;-moz-transition:background-color 200ms ease-in-out;-o-transition:background-color 200ms ease-in-out;transition:background-color 200ms ease-in-out}.imagify-doughnut-legend li span{display:block;position:absolute;left:0;top:0;width:25px;height:25px;border-radius:50%}.imagify-chart{float:left;margin-bottom:20px}td .imagify-chart{float:none;margin-bottom:0}.imagify-chart-container{position:relative;width:180px;float:left;margin-right:40px}td .imagify-chart-container{width:18px;height:18px;float:none;margin-right:10px}td .imagify-chart{top:4px}.imagify-chart-percent{position:absolute;left:0;right:0;top:50%;margin-top:-14px;text-align:center;font-size:55px;font-weight:bold;color:#46B1CE}.imagify-chart-percent span{font-size:20px;vertical-align:super}.media_page_imagify-bulk-optimization .media-item{margin:0}.media_page_imagify-bulk-optimization .media-item .progress{float:none;width:100%;margin:0;background:#1F2331;box-shadow:0;border-radius:0}.media_page_imagify-bulk-optimization .media-item .percent{width:auto;padding:0 5px;line-height:1.85;font-size:12px}.media_page_imagify-bulk-optimization .media-item .progress,.media_page_imagify-bulk-optimization .media-item .percent{text-align:right}.media_page_imagify-bulk-optimization .media-item .progress .bar{width:1px;height:22px;margin-top:0;background:#46B1CE;border-radius:0;overflow:visible;-webkit-transition:width .5s;transition:width .5s}.imagify-settings a,.imagify-settings .button,.imagify-settings input,.imagify-welcome a,.imagify-welcome .button,.imagify-weolcome input{-webkit-transition:all .275s;transition:all .275s}.imagify-settings a{color:#40b1d0}.imagify-options-title{padding-bottom:.5em;border-bottom:3px solid #F2F2F2;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:0.025em;color:#40b1d0}.imagify-settings,.imagify-settings p,.imagify-settings th{color:#5F758E}@media (max-width:782px){.imagify-settings .form-table th{padding-top:2em;padding-bottom:.5em}}.imagify-settings .form-table td{vertical-align:top}.imagify-settings .form-table th span{cursor:pointer}.imagify-middle th{padding-top:35px}.imagify-settings .button,.imagify-welcome .button,.imagify-notice .button{height:auto;padding:8px 20px;border:0 none;font-size:14px;font-weight:600;box-shadow:0 3px 0 rgba(0,0,0,.15)}.imagify-notice .button-mini{padding:2px 10px;font-size:13px}.button-primary.button-mini{padding:2px 10px}.imagify-settings .button.button-mini-flat{padding:3px 6px 5px;font-size:12px;box-shadow:none!important;line-height:1.2}.imagify-settings .button.button-mini-flat:hover,.imagify-settings .button.button-mini-flat:focus{box-shadow:none!important}.imagify-title .button-ghost.button-ghost{padding:2px 9px;border:1px solid #40B1D0;font-size:12px;font-weight:normal;color:#40B1D0;background:transparent}.imagify-title .button-ghost.button-ghost:hover,.imagify-title .button-ghost.button-ghost:focus{border-color:transparent;color:#000;background:#40B1D0}.button .dashicons{margin-right:5px;vertical-align:middle}.imagify-settings .button-primary.button-primary,.imagify-welcome .button-primary.button-primary{background:#40B1D0;color:#FFF;box-shadow:0 3px 0 rgba(51,142,166,1);text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799,-1px 0 1px #006799}.imagify-settings .button-primary:hover,.imagify-settings .button-primary:focus,.imagify-welcome .button-primary:hover,.imagify-welcome .button-primary:focus{background:rgb(51,142,166);box-shadow:0 3px 0 rgb(31,122,146)}.imagify-settings input[type="text"]{color:#4A4A4A;font-weight:600;box-shadow:none}.imagify-settings p.submit .button-primary{margin-left:240px}@media (max-width:850px){.imagify-settings p.submit .button-primary{margin-left:0px}.imagify-settings p.submit{text-align:center}}.imagify-title.imagify-title{position:relative;padding:30px 50px;font-size:23px;background:#2E3243;color:#FFF}.imagify-settings .imagify-title+.imagify-notice{margin:0;border-right:1px solid #D9D9D9;padding-top:15px;padding-bottom:15px}.imagify-logo{vertical-align:top}.imagify-sub-header,.imagify-sub-title.imagify-sub-title,.imagify-settings div.submit{margin:0;padding:20px;background:#F2F5F7}.imagify-bulk-info{margin:1em 1em 1em 240px;transition:margin .3s}@media (max-width:850px){.imagify-bulk-info{margin:1em}}.imagify-bulk-info p{display:inline-block;text-align:left;width:400px;max-width:100%;font-weight:bold}@media (min-width:1500px){.imagify-settings div.submit{display:table;width:100%}.imagify-settings div.submit >*{display:table-cell;vertical-align:middle}.imagify-bulk-info{padding:0 25px;text-align:right}}.imagify-settings div.submit{margin-top:2em;padding:20px 0}.imagify-sub-header th{text-align:right}.imagify-sub-header .form-table{margin:0}.imagify-sub-header th,.imagify-sub-header td{padding-top:0;padding-bottom:0}[for="api_key"]{padding-top:5px}.imagify-notice .imagify-rate-us.imagify-rate-us{position:relative;bottom:0;right:0;text-align:left}.imagify-notice .imagify-rate-us .stars{margin:0}.imagify-rate-us.imagify-rate-us{position:absolute;bottom:50%;right:20px;text-align:right;margin-bottom:-2.4em;color:#FFF}.imagify-rate-us a{color:#40B1D0}.imagify-rate-us .stars{display:inline-block;margin:2px 0 0 10px;text-decoration:none;letter-spacing:.2em;vertical-align:-1px}.imagify-rate-us .stars .dashicons:before{font-size:18px}.imagify-rate-us a:hover,.imagify-rate-us a:focus{color:#FEE102}@media (max-width:1220px){.imagify-rate-us.imagify-rate-us{position:static;margin-bottom:0;text-align:left}.imagify-rate-us.imagify-rate-us br{display:none}.imagify-rate-us .stars{display:block;margin-left:0}}.imagify-settings-section{padding:10px 20px}[id="imagify-settings"],.imagify-welcome .imagify-settings-section{border:1px solid #D9D9D9;border-top:0 none;background:#FFF}.imagify-br{line-height:2}.imagify-important{color:#F5A623}.imagify-info,.imagify-info a{color:#40B1D0;font-size:12px}.imagify-info{position:relative;display:inline-block;padding-left:25px;vertical-align:top}.imagify-info .dashicons{position:absolute;left:0;top:-1px}label+.imagify-info,label+.imagify-options-line,.imagify-visual-label{display:inline-block;max-width:70%;margin-left:15px;margin-top:2px!important;-webkit-transition:opacity .3s;transition:opacity .3s}.imagify-visual-label{vertical-align:-5px}label[for="imagify_sizes_full"]+.imagify-info{vertical-align:middle}.imagify-settings.imagify-settings [type="checkbox"]:not(:checked)+label+.imagify-options-line,.imagify-settings.imagify-settings [type="checkbox"]:not(:checked)+label .imagify-visual-label{opacity:.5}.imagify-settings.imagify-settings [type="checkbox"]:checked+label+.imagify-options-line,.imagify-settings.imagify-settings [type="checkbox"]:checked+label .imagify-visual-label{opacity:1}.imagify-checkbox-marged{max-width:500px;margin-left:45px}.imagify-settings.imagify-settings [type="checkbox"]:not(:checked),.imagify-settings.imagify-settings [type="checkbox"]:checked{opacity:0.01}.imagify-settings.imagify-settings [type="checkbox"]:not(:checked):focus,.imagify-settings.imagify-settings [type="checkbox"]:checked:focus{box-shadow:none!important;outline:none!important;border:0 none!important}.imagify-settings [type="checkbox"]:not(:checked)+label,.imagify-settings [type="checkbox"]:checked+label{position:relative;padding-left:6px;cursor:pointer;vertical-align:top}.imagify-settings [type="checkbox"]:not(:checked)+label:before,.imagify-settings [type="checkbox"]:checked+label:before{content:'';position:absolute;left:0;top:0;width:28px;height:28px;margin:0 0 0 -24px;border:2px solid #8BA6B4;background:#FFF;border-radius:4px}.imagify-settings [type="checkbox"]:not(:checked)+label:after,.imagify-settings [type="checkbox"]:checked+label:after{content:"✓";position:absolute;font-size:1.4em;top:3px;left:-16px;-webkit-transition:all .2s;-moz-transition:all .2s;-ms-transition:all .2s;transition:all .2s}.imagify-settings [type="checkbox"][disabled]:not(:checked)+label:before,.imagify-settings [type="checkbox"][disabled]:checked+label:before{border-color:#ccc;background:#ddd}.imagify-settings [type="checkbox"]:not(:checked)+label:after{opacity:0;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.imagify-settings [type="checkbox"]:checked+label:after{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}input[id^="imagify_sizes_"]:checked+label{font-weight:bold}.imagify-settings .mini[type="checkbox"]:not(:checked)+label:before,.imagify-settings .mini[type="checkbox"]:checked+label:before{width:15px;height:15px;border-width:1px;border-radius:2px;margin-top:0}.imagify-settings .mini[type="checkbox"]:not(:checked)+label:after,.imagify-settings .mini[type="checkbox"]:checked+label:after{content:"✓";font-size:.9em;left:-21px;top:1px}.imagify-settings [type="checkbox"]:not(:checked):focus+label:before,.imagify-settings [type="checkbox"]:checked:focus+label:before{border-style:dotted;border-color:#40b1d0}.imagify-inline-options{position:relative;display:table;width:100%;max-width:600px;border-collapse:collapse}.imagify-inline-options:after{content:"";display:table;clear:both}.imagify-inline-options input[type="radio"]:not(:checked),.imagify-inline-options input[type="radio"]:checked{position:absolute;left:5px;top:5px;display:none}.imagify-inline-options input[type="radio"]:not(:checked)+label,.imagify-inline-options input[type="radio"]:checked+label{position:relative;display:table-cell;padding:13px 10px;text-align:center;font-weight:600;font-size:16px;text-transform:uppercase;letter-spacing:0.1em;color:#FFF;background:#2E3243;border-left:1px solid rgba(255,255,255,0.2);box-shadow:0 -3px 0 rgba(0,0,0,0.1) inset,inset -1px 0 0 rgba(255,255,255,0.2);z-index:2;-webkit-transition:all .275s;transition:all .275s}.imagify-bulk-submit .imagify-inline-options input[type="radio"]:not(:checked)+label,.imagify-bulk-submit .imagify-inline-options input[type="radio"]:checked+label{margin-bottom:1.75em}.imagify-inline-options input[type="radio"]:not(:checked)+label:first-of-type,.imagify-inline-options input[type="radio"]:checked+label:first-of-type{border-radius:3px 0 0 3px}.imagify-inline-options input[type="radio"]:not(:checked)+label:last-of-type,.imagify-inline-options input[type="radio"]:checked+label:last-of-type{border-radius:0 3px 3px 0}.imagify-inline-options input[type="radio"]:checked+label{background:#8BC34A}.imagify-inline-options .imagify-info{margin-top:15px}.imagify-btn-info{display:block;font-size:0.7em;letter-spacing:0;line-height:1;text-transform:none}#describe-resize-larger input{width:5em}.imagify-col{overflow:hidden}.imagify-sidebar{float:right;width:280px;margin-left:25px}.imagify-sidebar-section{border:1px solid #BBB;background:#FFF}.imagify-sidebar-section+.imagify-sidebar-section{margin-top:2em}@media (max-width:760px){.imagify-settings{display:flex;flex-direction:column}.imagify-sidebar{order:2;float:none;width:auto;margin-left:0;margin-top:25px}.wp-media-products{text-align:center}.wp-media-products li{display:inline-block;width:100%;max-width:276px}}.imagify-sidebar-title{display:block;padding:20px 15px;border-bottom:1px solid #BBB;font-size:14px;font-weight:bold;color:#23282d;background:#F2F5F7}.imagify-sidebar-title img{vertical-align:top;margin-right:5px}.imagify-sidebar .wp-media-products{margin-top:0;margin-bottom:-.5em}.imagify-sidebar .wp-media-products .links{display:block;padding:85px 25px 24px;text-align:center;background-color:#2E3243;background-size:contain;background-repeat:no-repeat;background-position:50% 0;text-decoration:none}.imagify-sidebar .wp-media-products .links p{margin:1.5em auto;color:#FFF}.imagify-sidebar .wp-media-products .wprocket-link{background-image:linear-gradient(to bottom,rgba(59,30,78,0),rgba(59,30,78,0) 130px,rgba(59,30,78,1) 210px),url("../images/sidebar-wp-rocket.jpg");background-color:#3B1E4E;background-repeat:repeat-x,no-repeat}.imagify-sidebar-content{padding:10px 20px}.imagify-mark-styled{display:inline-block;padding:1px 2px 1px 4px;line-height:1.3;font-weight:bold;background:#F7A933;transform-origine:50% 50%;transform:rotateZ(-2deg) rotateX(-10deg) skewX(-2deg) skewY(-3deg);text-shadow:1px 1px 0 rgba(0,0,0,0.2)}.imagify-mark-styled span{display:inline-block;transform:rotateZ(2deg) rotateX(10deg) skewX(2deg) skewY(3deg)}.imagify-discount-code{margin:0.35em 0 .5em;display:block;font-size:2em;letter-spacing:.05em;font-weight:bold;text-align:center;text-shadow:1px 1px 0 rgba(0,0,0,0.2)}.imagify-big-text{font-size:15px;font-weight:bold}.imagify-big-text strong{font-size:20px}a.btn-rocket{display:block;font-size:1.15em;padding:12px;background:#F7A933;box-shadow:0 3px 0 #D69626;border-radius:3px;color:#FFF;text-transform:uppercase;font-weight:bold;text-shadow:1px 1px 0 rgba(0,0,0,0.2);text-decoration:none}a.btn-rocket:hover,a.btn-rocket:focus{background:darkorange;box-shadow:0 3px 0 darkorange}.imagify-welcome{margin:30px 20px 0 0}.imagify-welcome .baseline{display:inline-block;margin:.2em 0 0 2em;font-size:17px}.imagify-welcome .imagify-logo{vertical-align:middle}.imagify-welcome-remove{position:absolute;top:50%;right:15px;margin-top:-8px;color:#FFF;text-decoration:none}.imagify-columns{overflow:hidden;padding:15px 0;counter-reset:cols}.imagify-columns [class^="col-"]{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.imagify-columns .col-1-3{width:33.333%;padding-left:28px}.imagify-columns .col-1-2{width:50%;padding:0 20px}.imagify-columns .col-informations{width:41.6%;padding-right:30px}.imagify-columns .col-statistics{width:25%}@media (max-width:830px){.imagify-columns [class^="col-"]{float:none;margin-bottom:1.5em}.imagify-columns .col-1-3,.imagify-columns .col-1-2{width:auto;padding:0 28px;clear:both;padding-top:1em}}.imagify-columns [class^="col-"] img{float:left;margin-right:18px}.imagify-col-content{overflow:hidden}.imagify-col-title{margin:0 0 15px 0;font-size:23px}.counter .imagify-col-title:before{counter-increment:cols;content:counter(cols) ". ";color:#40B1D0}.imagify-col-desc{color:#5F758E;margin-bottom:2em}.imagify-notice.imagify-notice{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0;margin:10px 20px 10px 2px;border:0 none;background:#2E3243;box-shadow:none;color:#FFF}@media (max-width:782px){.imagify-notice.imagify-notice,.imagify-welcome{margin-right:12px}}@media (max-width:450px){.imagify-notice.imagify-notice{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column}}.wrap .imagify-notice{margin:5px 15px 2px;position:relative}.imagify-notice-logo{padding:18px 23px;background:#40B1D0}.updated .imagify-notice-logo{background:#8BC34A}.error .imagify-notice-logo{background:#D0021B}.imagify-notice-title{font-size:15px}.imagify-notice-content{padding:5px 23px}.imagify-notice-content.imagify-notice-content p{margin:0.65em 0}.imagify-notice a{color:#40B1D0}.imagify-notice a:hover,.imagify-notice a:focus{color:#FEE102}.imagify-notice code{background:rgba(0,0,0,0.4) none repeat scroll 0 0}.column-imagify_optimized_file.column-imagify_optimized_file{width:300px;text-align:center;vertical-align:middle}.column-imagify_optimized_file >*{max-width:235px;margin:0 auto}ul.imagify-datas-list.imagify-datas-list{margin:0 auto;color:#555;font-size:10px}.compat-field-imagify .label{vertical-align:top}.compat-field-imagify ul.imagify-datas-list{margin-top:7px;font-size:11px}ul.imagify-datas-list .big{font-size:12px;color:#40B1D0}.imagify-data-item{overflow:hidden}.imagify-data-item .imagify-chart{display:inline-block;top:1px;width:20px;vertical-align:middle;margin-bottom:0}li.imagify-data-item{clear:both;margin-bottom:2px}ul.imagify-datas-list .imagify-data-item span.data,ul.imagify-datas-list .imagify-data-item strong{float:left;width:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}ul.imagify-datas-list .imagify-data-item span.data{text-align:left;padding-right:5px}.compat-field-imagify .imagify-datas-list .imagify-data-item .data{width:130px;text-align:left;font-weight:bold}.media-sidebar .imagify-datas-list .imagify-data-item .data{width:auto;float:none}ul.imagify-datas-list .imagify-data-item strong{text-align:left;padding-left:5px}.media-sidebar .imagify-datas-list .imagify-data-item strong{width:auto;float:none}.imagify-datas-more-action.imagify-datas-more-action{margin:.4em auto;background:linear-gradient(to bottom,transparent,transparent 49%,rgba(0,0,0,.075) 50%,rgba(0,0,0,.075) 58%,transparent 58%,transparent)}.imagify-datas-more-action a{display:inline-block;padding:0 5px;background:#40B1D0;color:#FFF;text-transform:uppercase;font-size:9px;font-weight:bold;line-height:1.9;text-decoration:none}.imagify-datas-more-action a.is-open{background:#555}.imagify-datas-more-action a.is-open .dashicons{transform:rotate(180deg)}.imagify-datas-more-action a .dashicons{font-size:14px;vertical-align:middle;line-height:.8}.imagify-datas-more-action a .dashicons:before{vertical-align:middle;line-height:20px}.imagify-datas-more-action .the-text{display:inline-block;vertical-align:middle;height:20px;line-height:20px}ul.imagify-datas-details.imagify-datas-details{margin:.7em auto}.imagify-datas-details strong{color:#40B1D0}.imagify-datas-details .original{color:#555}.imagify-datas-actions-links{overflow:hidden;border-top:2px solid transparent;padding-top:5px;font-size:8px}.imagify-datas-actions-links a{position:relative;display:inline-block;padding-left:17px;text-decoration:none;font-weight:600}.compat-field-imagify .imagify-datas-actions-links{max-width:300px}.misc-pub-imagify .imagify-datas-actions-links{border-top:2px solid #f2f2f2;padding-bottom:5px}.compat-field-imagify .imagify-datas-actions-links a,.misc-pub-imagify .imagify-datas-actions-links a{font-size:10px;float:left;width:50%}.media-sidebar .compat-field-imagify .imagify-datas-actions-links a{display:block;width:auto;float:none}.column-imagify_optimized_file .imagify-datas-actions-links a{margin:0 .7em;padding-left:15px}.imagify-datas-actions-links a:only-child{float:none;width:auto}.imagify-datas-details.is-open+.imagify-datas-actions-links{border-top-color:rgba(0,0,0,.075)}.imagify-datas-actions-links .dashicons{position:absolute;left:0;top:4px;width:12px;margin-right:2px;font-size:11px}.imagify-title >h1{padding:0}.imagify-title-right{display:table;float:right;margin-top:-10px}.imagify-title-right p{margin:0}.imagify-title-right a{font-weight:bold;text-decoration:none}.imagify-title-right >div{display:table-cell;vertical-align:middle}.imagify-title-right .dashicons-arrow-down-alt2{vertical-align:-4px;margin-left:2px}@media (max-width:1200px){.imagify-bulk .imagify-title{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.imagify-title-right{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;margin-top:20px}}.imagify-account,.imagify-account-link{padding-right:15px}.imagify-sep-v{width:1px;background:rgba(255,255,255,.2)}.imagify-credit-left{position:relative;min-width:280px;padding-left:15px}.imagify-meteo-icon{display:inline-block;height:38px;vertical-align:middle;margin-right:10px}.imagify-user-plan{color:#40b1d0}@media (max-width:630px){.imagify-title-right{display:block;width:auto}.imagify-title-right >div{display:block;width:auto;margin-top:10px;max-width:100%}.imagify-credit-left{padding-left:0}}.imagify-meteo-title.imagify-meteo-title{color:#FFF;font-size:17px}.imagify-space-left{display:inline-block;min-height:38px;min-width:245px;vertical-align:middle}.imagify-space-left >p{color:#FFF}[class^="imagify-bar-"],#wp-admin-bar-imagify-profile [class^="imagify-bar-"]{position:relative;height:15px;width:100%;background:#60758D;color:#FFF;font-size:10px}.base-transparent{background:transparent}[class^="imagify-bar-"].right-outside-number{-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:45px}.right-outside-number .imagify-barnb{display:block;margin-right:-45px;text-align:right;font-weight:bold;line-height:15px}.imagify-progress-value,#wp-admin-bar-imagify-profile .imagify-progress-value{position:absolute;top:0;right:0;left:0;bottom:0;text-align:center;line-height:13px;font-weight:bold}.imagify-progress,#wp-admin-bar-imagify-profile .imagify-progress{height:15px}.imagify-bar-positive .imagify-progress{background:#8CC152}.imagify-bar-positive .imagify-barnb{color:#8CC152}.imagify-bar-negative .imagify-progress{background:#73818C}.imagify-bar-negative .imagify-barnb{color:#73818C}.imagify-bar-neutral .imagify-progress{background:#F5A623}.imagify-space-left .imagify-bar-negative .imagify-progress{background:#D0021B}#wpadminbar #wp-admin-bar-imagify-profile *{line-height:1.5;white-space:initial}#wpadminbar #wp-admin-bar-imagify .ab-submenu{padding-bottom:0}#wpadminbar #wp-admin-bar-imagify-profile .ab-item{height:auto;padding:0 13px}#wpadminbar #wp-admin-bar-imagify-profile{min-width:200px;padding:15px 0 10px;margin-top:0.7em;background:#222}#wp-admin-bar-imagify .dashicons{font-family:"dashicons";font-size:18px;vertical-align:middle;margin:0 5px 0 0}#wp-admin-bar-imagify .button-text{display:inline-block;vertical-align:middle}#wp-admin-bar-imagify .imagify-abq-row{display:table;width:100%}#wp-admin-bar-imagify .imagify-abq-row+.imagify-abq-row{margin-top:.75em}#wp-admin-bar-imagify .imagify-abq-row >*{display:table-cell}#wp-admin-bar-imagify-profile .imagify-meteo-icon{padding-right:7px}#wp-admin-bar-imagify-profile .imagify-meteo-icon img{width:37px}#wp-admin-bar-imagify-profile .imagify-meteo-title{font-size:17px}#wp-admin-bar-imagify-profile .imagify-meteo-subs{color:#72889F}#wpadminbar #wp-admin-bar-imagify-profile strong{font-weight:bold}#wpadminbar #wp-admin-bar-imagify-profile .imagify-user-plan,#wpadminbar #wp-admin-bar-imagify-profile a{padding:0;color:#40B1D0}#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link{display:table}#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link >* {display:table-cell}#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left{max-width:210px;min-width:210px;width:210px}#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left p{font-size:12px}#wp-admin-bar-imagify-profile .imagify-error,#wp-admin-bar-imagify-profile .imagify-warning{padding:10px;margin:0 -13px -13px}#wp-admin-bar-imagify-profile .imagify-error p+p,#wp-admin-bar-imagify-profile .imagify-warning p+p{margin-top:.5em}#wp-admin-bar-imagify-profile .imagify-error p+p+p,#wp-admin-bar-imagify-profile .imagify-warning p+p+p{margin-top:1em}.btn-ghost,#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost{display:inline-block;height:auto;padding:7px 10px;border:1px solid #FFF;text-align:center;background:transparent;color:#FFF;border-radius:3px;transition:all .275s}.btn-ghost:hover,.btn-ghost:focus,#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:hover,#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:focus{background:#FFF;color:#888}.txt-center{text-align:center}.imagify-list-dash li{position:relative;padding-left:24px}.imagify-list-dash li:before{content:"";position:absolute;left:0;top:9px;height:1px;width:12px;background:#5f758e}.imagify-sub-title.imagify-sub-title{font-size:23px;background:#FFF;color:#2E3243;border-left:1px solid #D9D9D9;border-right:1px solid #D9D9D9;font-weight:lighter}.imagify-sub-title .icon-bulk{margin-right:10px;vertical-align:middle}.imagify-sub-title .title-text{display:inline-block;line-height:1;vertical-align:middle}.imagify-bulk .imagify-settings-section{border:1px solid #D9D9D9;border-top:0;background:#F2F5F7;color:#4A4A4A}.imagify-bulk .imagify-settings-section p,.imagify-bulk .imagify-settings-section li,.imagify-bulk .imagify-settings-section h3{color:#4A4A4A}.imagify-bulk .imagify-settings-section h3{margin-bottom:2em}.imagify-bulk-submit{margin-top:4em}#imagify-bulk-action{float:left}#imagify-bulk-action+.imagify-tooltips{overflow:hidden;display:block}.imagify-title .imagify-tooltips{position:absolute;top:100%;left:0}.imagify-tooltips .icon-round{float:left;display:inline-block;width:28px;height:28px;border:1px solid #FFF;margin-right:8px;margin-bottom:8px;font-size:17px;font-style:italic;line-height:29px;font-weight:bold;text-align:center;border-radius:50%}.imagify-tooltips .tooltip-content{display:block;position:relative;max-width:250px;padding:7px 15px 8px;background:#2e3242;color:#FFF;font-size:10px;border-radius:3px}.imagify-tooltips.right .tooltip-content{margin-left:12px}.imagify-tooltips.bottom .tooltip-content{margin-top:4px}.imagify-inline-options label .tooltip-content{position:absolute;left:0;right:0;top:100%;text-transform:none;font-size:10px;letter-spacing:0;text-align:center}.imagify-tooltips .tooltip-content:after{content:"";position:absolute}.imagify-tooltips.right .tooltip-content:after{top:16px;left:-6px;border-right:8px solid #2e3242;border-top:6px solid transparent;border-bottom:6px solid transparent}.imagify-tooltips.bottom .tooltip-content:after{top:-5px;left:50%;margin-left:-3px;border-bottom:6px solid #2e3242;border-left:6px solid transparent;border-right:6px solid transparent}.imagify-space-tooltips .tooltip-content{max-width:280px;margin-top:20px;margin-left:0;padding:5px 15px 5px;font-size:13px;background:#40B1D0;box-shadow:0 3px 0 #338EA6}.imagify-space-tooltips .tooltip-content:after{top:-14px;left:50%;margin-left:-7px;border:0 none;border-bottom:15px solid #40B1D0;border-left:15px solid transparent;border-right:15px solid transparent}.tooltip-content.tooltip-table{display:table;width:100%}.tooltip-content.tooltip-table >*{display:table-cell;vertical-align:middle}.tooltip-content .cell-icon{width:28px}.tooltip-content .cell-icon .icon{margin-bottom:0}.tooltip-content .cell-text{padding:5px 10px 5px 0;line-height:1.3}.tooltip-content .cell-sep{width:1px;background:rgba(255,255,255,.4)}.tooltip-content .cell-cta{padding-left:10px}.tooltip-content .cell-cta a{display:block;color:#FFF;width:100%;height:100%;white-space:nowrap}.imagify-number-you-optimized .number{float:left;margin-right:15px;font-size:36px;font-weight:bold;line-height:1.1}.imagify-number-you-optimized .text{display:block;overflow:hidden;font-size:12px}.imagify-number-you-optimized{padding-bottom:0.85em;margin-bottom:1.35em;overflow:hidden;border-bottom:1px solid rgba(0,0,0,0.05)}.imagify-bars p{font-weight:bold;font-size:12px;margin-bottom:0}.imagify-bars+.imagify-number-you-optimized{border-bottom:0;padding-top:0.85em}.imagify-bars+.imagify-number-you-optimized p{color:#46b1ce}.imagify-bulk-table{margin-top:2em;max-height:600px;max-height:60vh;overflow:auto}.imagify-bulk-table table{width:100%;border-spacing:0;border-collapse:collapse;border:1px solid #D3D3D3}.imagify-bulk-table td{padding:8px 15px}.imagify-bulk-table thead tr,.imagify-bulk-table thead th{background:#2E3242}.imagify-bulk-table tfoot tr,.imagify-bulk-table tfoot th{background:#73818C}.imagify-bulk-table thead th{padding:14px 15px;text-align:left;color:#F2F5F7;font-weight:bold;font-size:14px}.imagify-bulk-table tfoot td{padding:14px 15px;color:#F9FAFA}.imagify-bulk-table tbody tr,.imagify-bulk-table tbody td{background:#FFF}.imagify-bulk-table tbody tr:nth-child(odd),.imagify-bulk-table tbody tr:nth-child(odd) td{background:#F2F5F7}.imagify-bulk-table .imagify-row-progress{display:none}.imagify-bulk-table .imagify-row-progress,.imagify-bulk-table .imagify-row-progress td{height:15px;padding:0}.imagify-bulk-table .imagify-no-uploaded-yet td{height:200px;font-size:17px;letter-spacing:.1em;word-spacing:.12em;vertical-align:middle;text-transform:uppercase;font-weight:bold;text-align:center;color:#999;background-color:#FFF}.imagify-row-complete{padding:35px 20px;margin-top:2em;background:#8BC34A;color:#FFF;text-shadow:0 0 2px rgba(0,0,0,.1)}.imagify-row-complete .imagify-ac-chart{margin-top:3px}.imagify-row-complete p{color:#FFF;margin:0}@-webkit-keyframes congrate{ 0%{opacity:0;-webkit-transform:scale(1)} 50%{-webkit-transform:scale(1.05);opacity:1} 100%{-webkit-transform:scale(1);opacity:1}}​@keyframes congrate{ 0%{opacity:0;transform:scale(1)} 50%{transform:scale(1.05);opacity:1} 100%{transform:scale(1);opacity:1}}.imagify-row-complete.done{-webkit-animation:congrate 500ms ease-in-out;animation:congrate 500ms ease-in-out}.imagify-all-complete{margin:1.5em 0}.imagify-all-complete >div{display:inline-block;vertical-align:middle}.imagify-ac-report{min-width:310px}.imagify-ac-chart{width:46px;height:46px;float:left;margin:0 20px 0 10px}.imagify-ac-report-text{overflow:hidden}.imagify-ac-report-text p{line-height:1.3}.imagify-ac-rt-big{font-weight:bold;font-size:24px;letter-spacing:0.15em;word-spacing:0.15em;text-transform:uppercase}.imagify-ac-share{text-align:right}.imagify-ac-share-content{display:inline-block;padding:10px 15px;background:rgba(255,255,255,.2)}.imagify-ac-share-content >*{display:inline-block;vertical-align:middle}.imagify-bulk-table .imagify-ac-share-content p{margin-right:5px}.imagify-share-networks,.imagify-share-networks li{margin:0}.imagify-share-networks li{display:inline-block}.imagify-share-networks a{display:inline-block;vertical-align:-7px;margin:0 5px;text-decoration:none;color:#FFF}.imagify-cell-filename{max-width:200px}.imagify-cell-status{max-width:145px}.imagify-cell-status .dashicons-warning{margin-right:2px}.imagify-cell-thumbnails{max-width:120px}td.imagify-cell-filename{text-overflow:clip;white-space:nowrap;overflow:hidden}.imagify-bulk-table td.imagify-cell-totaloriginal{padding-right:78px}.imagiuploaded,.imagifilename{display:inline-block;vertical-align:middle}.imagifilename{font-size:12px}.imagiuploaded{width:33px;height:33px;margin-right:5px;margin-left:-8px;overflow:hidden;background:url(../images/upload-image.png) 0 0 no-repeat;background-size:cover}.imagiuploaded img{max-widht:100%;height:auto}.imagistatus{color:#8CA6B3;text-transform:uppercase;font-weight:bold}.status-compressing{color:#46B1CE}.status-error{color:#CE0B24}.status-warning{color:#f5a623}.status-complete{color:#8CC152}.imagify-error{background:#D0021B;color:#FFF}.imagify-warning,#wpadminbar .imagify-warning *{background:#f5a623;color:#FFF;text-shadow:0 0 2px rgba(0,0,0,0.2)}.imagify-bulk-table .imagify-cell-thumbnails{text-align:center}.imagify-cell-percentage,.imagify-cell-savings{color:#46B1CE;font-weight:bold}.imagify-cell-optimized{font-weight:bold}.imagify-cell-totaloriginal{text-align:right}.dashicons.rotate{-webkit-animation:icon-rotate 2.6s infinite linear;animation:icon-rotate 2.6s infinite linear}.dashicons-admin-generic{transform-origin:48.75% 51.75%}.imagify-modal{display:flex;flex-direction:column;align-items:center;justify-content:center}.js .imagify-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#1F2332;background-color:rgba(31,35,50,.95);z-index:99999}.imagify-modal-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:800px;max-width:95%;max-height:90vw;overflow:auto;padding:20px 25px;margin:1em auto;background:#FFF;box-shadow:1px 1px 4px rgba(0,0,0,.7);border-radius:3px}#imagify-visual-comparison .imagify-modal-content{max-width:1400px;background:transparent;padding:5px;box-shadow:none;border-radius:0}.imagify-modal .h2{margin:.5em 0;color:#8ba6b4;font-weight:normal;font-size:24px;letter-spacing:0.075em;text-align:center}.imagify-modal .h3{color:#40b1d0;font-weight:normal;font-size:18px;letter-spacing:0.075em;text-align:center}.text-justify{text-align:justify}.imagify-modal .close-btn{display:none;visibility:hidden;position:absolute;right:20px;top:20px;font-size:1.2em;border:0;background:transparent none;border-radius:0;cursor:pointer}.imagify-modal .close-btn:hover,.imagify-modal .close-btn:focus{color:#40b1d0}.js .imagify-modal .close-btn{display:block;visibility:visible}#imagify-visual-comparison .close-btn{top:50px;right:5px;width:33px;height:33px;padding:1px 0 0 2px;border:1px solid #F2F2F2;color:#F2F2F2;line-height:19px;text-align:center;border-radius:50%}.imagify-modal .imagify-comparison-title{font-size:28px;margin-bottom:1em;color:#F2F2F2;text-align:left}.imagify-modal .imagify-comparison-title .twentytwenty-duo-buttons{position:static;margin:0 10px 0 15px}.imagify-comparison-title .twentytwenty-duo-buttons button{float:none;padding:6px 12px;font-size:16px;text-transform:none;border:1px solid #40B1D0;color:#889;letter-spacing:0}.imagify-comparison-title .twentytwenty-duo-buttons button:focus{outline:none;box-shadow:none}.imagify-comparison-title .twentytwenty-duo-buttons .selected{border:1px solid #40B1D0;color:#FFF;background:#40B1D0}.imagify-comparison-levels{margin:15px 0;overflow:hidden}.imagify-comparison-levels div{display:none;min-width:175px;font-size:11px}.imagify-comparison-levels .imagify-chart,.imagify-comparison-levels .imagify-chart-container{width:25px;float:none;margin:0}.imagify-c-level.go-left{float:left}.imagify-c-level.go-right{float:right}.imagify-c-level.go-right,.imagify-c-level.go-left{display:table}.imagify-c-level .imagify-c-level-row{display:table-row;margin:0;color:#FFF}.imagify-c-level-row >span{display:table-cell;padding:2px 0}.imagify-c-level-row .value{text-align:right;padding-left:5px}.imagify-c-level-row .value.level{color:#40b1d0}.imagify-c-level-row .value.size{color:#8bc34a;font-weight:bold}.imagify-c-level-row .value .imagify-chart{top:1px}@-webkit-keyframes icon-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes icon-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.imagify-menu-bar-img{margin-top:1em}.imagify-modal .loader{position:absolute;top:50%;left:50%;margin:-32px 0 0 -32px;opacity:0;visibility:hidden;transition:opacity .4s}.imagify-modal .loading .loader{visibility:visible;opacity:1}.imagify-settings .imagify-visual-comparison-text{margin-top:1em;color:#40b1d0;font-weight:bold}
1
+ body.imagify-modal-is-open{overflow:hidden}.imagify-plugins-error{overflow:hidden;padding-left:20px;list-style-type:disc}.imagify-plugins-error li{width:300px;line-height:30px}@media (max-width:570px){.imagify-plugins-error li{width:auto}}.imagify-notice-dismiss.notice-dismiss{text-decoration:none}.imagify-spinner{display:inline-block;width:20px;height:20px;margin-right:5px;vertical-align:middle;background:rgba(0,0,0,0) url("../images/spinner.gif") no-repeat scroll 0 0 / 20px 20px;opacity:0.7}.misc-pub-section.misc-pub-imagify h4{font-size:14px;margin-top:5px;margin-bottom:0}.imagify-sweet-alert button{margin-top:17px !important;height:45px !important;letter-spacing:3px;text-transform:uppercase !important;border-radius:3px !important;background-color:#40b1d0 !important;box-shadow:0 3px 0 #338ea6 !important}.imagify-sweet-alert button.cancel{background:#777 !important;box-shadow:0 3px 0 #444 !important}.imagify-sweet-alert-signup .sa-confirm-button-container{width:40%}.imagify-sweet-alert-signup button{width:100%;padding:0 !important}.imagify-sweet-alert .sa-input-error:before,.imagify-sweet-alert .sa-input-error:after,.imagify-sweet-alert .la-ball-fall{top:25% !important}#wpwrap{transition:all .4s}.stop-scrolling #wpwrap{filter:blur(2px)}.stop-scrolling #wpwrap #wpadminbar{top:-32px}.imagify-primary{color:#40b1d0}.imagify-secondary{color:#8cc152}#imagify-check-api-container{font-weight:bold}#imagify-check-api-container .dashicons{font-size:25px}#imagify-check-api-container .dashicons-no:before{color:#f06e57;vertical-align:-1px}#imagify-check-api-container .dashicons-yes:before{color:#8BC34A;vertical-align:-1px}.imagify-valid{color:#8BC34A}.imagify-chart{width:33.33%;position:relative}#imagify-overview-chart-legend{overflow:hidden}.imagify-doughnut-legend{margin-top:38px;list-style:none}.imagify-doughnut-legend li{display:block;padding-left:30px;position:relative;margin-bottom:15px;border-radius:5px;padding:3px 8px 2px 31px;font-size:14px;font-weight:600;cursor:default;-webkit-transition:background-color 200ms ease-in-out;-moz-transition:background-color 200ms ease-in-out;-o-transition:background-color 200ms ease-in-out;transition:background-color 200ms ease-in-out}.imagify-doughnut-legend li span{display:block;position:absolute;left:0;top:0;width:25px;height:25px;border-radius:50%}.imagify-chart{float:left;margin-bottom:20px}td .imagify-chart{float:none;margin-bottom:0}.imagify-chart-container{position:relative;width:180px;float:left;margin-right:40px}td .imagify-chart-container{width:18px;height:18px;float:none;margin-right:10px}td .imagify-chart{top:4px}.imagify-chart-percent{position:absolute;left:0;right:0;top:50%;margin-top:-14px;text-align:center;font-size:55px;font-weight:bold;color:#46B1CE}.imagify-chart-percent span{font-size:20px;vertical-align:super}.media_page_imagify-bulk-optimization .media-item{margin:0}.media_page_imagify-bulk-optimization .media-item .progress{float:none;width:100%;margin:0;background:#1F2331;box-shadow:0;border-radius:0}.media_page_imagify-bulk-optimization .media-item .percent{width:auto;padding:0 5px;line-height:1.85;font-size:12px}.media_page_imagify-bulk-optimization .media-item .progress,.media_page_imagify-bulk-optimization .media-item .percent{text-align:right}.media_page_imagify-bulk-optimization .media-item .progress .bar{width:1px;height:22px;margin-top:0;background:#46B1CE;border-radius:0;overflow:visible;-webkit-transition:width .5s;transition:width .5s}.imagify-settings a,.imagify-settings .button,.imagify-settings input,.imagify-welcome a,.imagify-welcome .button,.imagify-weolcome input{-webkit-transition:all .275s;transition:all .275s}.imagify-settings a{color:#40b1d0}.imagify-options-title{padding-bottom:.5em;border-bottom:3px solid #F2F2F2;font-size:13px;font-weight:500;text-transform:uppercase;letter-spacing:0.025em;color:#40b1d0}.imagify-settings,.imagify-settings p,.imagify-settings th{color:#5F758E}@media (max-width:782px){.imagify-settings .form-table th{padding-top:2em;padding-bottom:.5em}}.imagify-settings .form-table td{vertical-align:top}.imagify-settings .form-table th span{cursor:pointer}.imagify-middle th{padding-top:35px}.imagify-settings .button,.imagify-welcome .button,.imagify-notice .button,.imagify-button-primary.imagify-button-primary{height:auto;padding:8px 20px;border:0 none;font-size:14px;font-weight:600;box-shadow:0 3px 0 rgba(0,0,0,.15)}.imagify-notice .button-mini{padding:2px 10px;font-size:13px}.button-primary.button-mini{padding:2px 10px}.imagify-settings .button.button-mini-flat{padding:3px 6px 5px;font-size:12px;box-shadow:none!important;line-height:1.2}.imagify-settings .button.button-mini-flat:hover,.imagify-settings .button.button-mini-flat:focus{box-shadow:none!important}.imagify-title .button-ghost.button-ghost{padding:2px 9px;border:1px solid #40B1D0;font-size:12px;font-weight:normal;color:#40B1D0;background:transparent}.imagify-title .button-ghost.button-ghost:hover,.imagify-title .button-ghost.button-ghost:focus{border-color:transparent;color:#000;background:#40B1D0}.button .dashicons{margin-right:5px;vertical-align:middle}.imagify-settings .button-primary.button-primary,.imagify-welcome .button-primary.button-primary,.imagify-button-primary.imagify-button-primary{background:#40B1D0;color:#FFF;box-shadow:0 3px 0 rgba(51,142,166,1);text-shadow:0 -1px 1px #006799,1px 0 1px #006799,0 1px 1px #006799!important}.imagify-settings .button-primary:hover,.imagify-settings .button-primary:focus,.imagify-welcome .button-primary:hover,.imagify-welcome .button-primary:focus,.imagify-button-primary.imagify-button-primary:hover,.imagify-button-primary.imagify-button-primary:focus{background:rgb(51,142,166);box-shadow:0 3px 0 rgb(31,122,146)}.wp_attachment_image .imagify-button-primary{float:left;padding:0 10px 1px;margin:0 5px 2px 0;font-size:13px;line-height:26px;box-shadow:0 3px 0 rgba(51,142,166,1)}.imagify-settings input[type="text"]{color:#4A4A4A;font-weight:600;box-shadow:none}.imagify-settings p.submit .button-primary{margin-left:240px}@media (max-width:850px){.imagify-settings p.submit .button-primary{margin-left:0px}.imagify-settings p.submit{text-align:center}}.imagify-title.imagify-title{position:relative;padding:30px 50px;font-size:23px;background:#2E3243;color:#FFF}.imagify-settings .imagify-title+.imagify-notice{margin:0;border-right:1px solid #D9D9D9;padding-top:15px;padding-bottom:15px}.imagify-logo{vertical-align:top}.imagify-sub-header,.imagify-sub-title.imagify-sub-title,.imagify-settings div.submit{margin:0;padding:20px;background:#F2F5F7}.imagify-bulk-info{margin:1em 1em 1em 240px;transition:margin .3s}@media (max-width:850px){.imagify-bulk-info{margin:1em}}.imagify-bulk-info p{display:inline-block;text-align:left;width:400px;max-width:100%;font-weight:bold}@media (min-width:1500px){.imagify-settings div.submit{display:table;width:100%}.imagify-settings div.submit >*{display:table-cell;vertical-align:middle}.imagify-bulk-info{padding:0 25px;text-align:right}}.imagify-settings div.submit{margin-top:2em;padding:20px 0}.imagify-sub-header th{text-align:right}.imagify-sub-header .form-table{margin:0}.imagify-sub-header th,.imagify-sub-header td{padding-top:0;padding-bottom:0}[for="api_key"]{padding-top:5px}.imagify-notice .imagify-rate-us.imagify-rate-us{position:relative;bottom:0;right:0;text-align:left}.imagify-notice .imagify-rate-us .stars{margin:0}.imagify-rate-us.imagify-rate-us{position:absolute;bottom:50%;right:20px;text-align:right;margin-bottom:-2.4em;color:#FFF}.imagify-rate-us a{color:#40B1D0}.imagify-rate-us .stars{display:inline-block;margin:2px 0 0 10px;text-decoration:none;letter-spacing:.2em;vertical-align:-1px}.imagify-rate-us .stars .dashicons:before{font-size:18px}.imagify-rate-us a:hover,.imagify-rate-us a:focus{color:#FEE102}@media (max-width:1220px){.imagify-rate-us.imagify-rate-us{position:static;margin-bottom:0;text-align:left}.imagify-rate-us.imagify-rate-us br{display:none}.imagify-rate-us .stars{display:block;margin-left:0}}.imagify-settings-section{padding:10px 20px}[id="imagify-settings"],.imagify-welcome .imagify-settings-section{border:1px solid #D9D9D9;border-top:0 none;background:#FFF}.imagify-br{line-height:2}.imagify-important{color:#F5A623}.imagify-info,.imagify-info a{color:#40B1D0;font-size:12px}.imagify-info{position:relative;display:inline-block;padding-left:25px;vertical-align:top}.imagify-info .dashicons{position:absolute;left:0;top:-1px}label+.imagify-info,label+.imagify-options-line,.imagify-visual-label{display:inline-block;max-width:70%;margin-left:15px;margin-top:2px!important;-webkit-transition:opacity .3s;transition:opacity .3s}.imagify-visual-label{vertical-align:-5px}label[for="imagify_sizes_full"]+.imagify-info{vertical-align:middle}.imagify-settings.imagify-settings [type="checkbox"]:not(:checked)+label+.imagify-options-line,.imagify-settings.imagify-settings [type="checkbox"]:not(:checked)+label .imagify-visual-label{opacity:.5}.imagify-settings.imagify-settings [type="checkbox"]:checked+label+.imagify-options-line,.imagify-settings.imagify-settings [type="checkbox"]:checked+label .imagify-visual-label{opacity:1}.imagify-checkbox-marged{max-width:500px;margin-left:45px}.imagify-settings.imagify-settings [type="checkbox"]:not(:checked),.imagify-settings.imagify-settings [type="checkbox"]:checked{opacity:0.01}.imagify-settings.imagify-settings [type="checkbox"]:not(:checked):focus,.imagify-settings.imagify-settings [type="checkbox"]:checked:focus{box-shadow:none!important;outline:none!important;border:0 none!important}.imagify-settings [type="checkbox"]:not(:checked)+label,.imagify-settings [type="checkbox"]:checked+label{position:relative;padding-left:6px;cursor:pointer;vertical-align:top}.imagify-settings [type="checkbox"]:not(:checked)+label:before,.imagify-settings [type="checkbox"]:checked+label:before{content:'';position:absolute;left:0;top:0;width:28px;height:28px;margin:0 0 0 -24px;border:2px solid #8BA6B4;background:#FFF;border-radius:4px}.imagify-settings [type="checkbox"]:not(:checked)+label:after,.imagify-settings [type="checkbox"]:checked+label:after{content:"✓";position:absolute;font-size:1.4em;top:3px;left:-16px;-webkit-transition:all .2s;-moz-transition:all .2s;-ms-transition:all .2s;transition:all .2s}.imagify-settings [type="checkbox"][disabled]:not(:checked)+label:before,.imagify-settings [type="checkbox"][disabled]:checked+label:before{border-color:#ccc;background:#ddd}.imagify-settings [type="checkbox"]:not(:checked)+label:after{opacity:0;-webkit-transform:scale(0);-moz-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.imagify-settings [type="checkbox"]:checked+label:after{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}input[id^="imagify_sizes_"]:checked+label{font-weight:bold}.imagify-settings .mini[type="checkbox"]:not(:checked)+label:before,.imagify-settings .mini[type="checkbox"]:checked+label:before{width:15px;height:15px;border-width:1px;border-radius:2px;margin-top:0}.imagify-settings .mini[type="checkbox"]:not(:checked)+label:after,.imagify-settings .mini[type="checkbox"]:checked+label:after{content:"✓";font-size:.9em;left:-21px;top:1px}.imagify-settings [type="checkbox"]:not(:checked):focus+label:before,.imagify-settings [type="checkbox"]:checked:focus+label:before{border-style:dotted;border-color:#40b1d0}.imagify-inline-options{position:relative;display:table;width:100%;max-width:600px;border-collapse:collapse}.imagify-inline-options:after{content:"";display:table;clear:both}.imagify-inline-options input[type="radio"]:not(:checked),.imagify-inline-options input[type="radio"]:checked{position:absolute;left:5px;top:5px;display:none}.imagify-inline-options input[type="radio"]:not(:checked)+label,.imagify-inline-options input[type="radio"]:checked+label{position:relative;display:table-cell;padding:13px 10px;text-align:center;font-weight:600;font-size:16px;text-transform:uppercase;letter-spacing:0.1em;color:#FFF;background:#2E3243;border-left:1px solid rgba(255,255,255,0.2);box-shadow:0 -3px 0 rgba(0,0,0,0.1) inset,inset -1px 0 0 rgba(255,255,255,0.2);z-index:2;-webkit-transition:all .275s;transition:all .275s}.imagify-bulk-submit .imagify-inline-options input[type="radio"]:not(:checked)+label,.imagify-bulk-submit .imagify-inline-options input[type="radio"]:checked+label{margin-bottom:1.75em}.imagify-inline-options input[type="radio"]:not(:checked)+label:first-of-type,.imagify-inline-options input[type="radio"]:checked+label:first-of-type{border-radius:3px 0 0 3px}.imagify-inline-options input[type="radio"]:not(:checked)+label:last-of-type,.imagify-inline-options input[type="radio"]:checked+label:last-of-type{border-radius:0 3px 3px 0}.imagify-inline-options input[type="radio"]:checked+label{background:#8BC34A}.imagify-inline-options .imagify-info{margin-top:15px}.imagify-btn-info{display:block;font-size:0.7em;letter-spacing:0;line-height:1;text-transform:none}#describe-resize-larger input{width:5em}.imagify-col{overflow:hidden}.imagify-sidebar{float:right;width:280px;margin-left:25px}.imagify-sidebar-section{border:1px solid #BBB;background:#FFF}.imagify-sidebar-section+.imagify-sidebar-section{margin-top:2em}@media (max-width:760px){.imagify-settings{display:flex;flex-direction:column}.imagify-sidebar{order:2;float:none;width:auto;margin-left:0;margin-top:25px}.wp-media-products{text-align:center}.wp-media-products li{display:inline-block;width:100%;max-width:276px}}.imagify-sidebar-title{display:block;padding:20px 15px;border-bottom:1px solid #BBB;font-size:14px;font-weight:bold;color:#23282d;background:#F2F5F7}.imagify-sidebar-title img{vertical-align:top;margin-right:5px}.imagify-sidebar .wp-media-products{margin-top:0;margin-bottom:-.5em}.imagify-sidebar .wp-media-products .links{display:block;padding:85px 25px 24px;text-align:center;background-color:#2E3243;background-size:contain;background-repeat:no-repeat;background-position:50% 0;text-decoration:none}.imagify-sidebar .wp-media-products .links p{margin:1.5em auto;color:#FFF}.imagify-sidebar .wp-media-products .wprocket-link{background-image:linear-gradient(to bottom,rgba(59,30,78,0),rgba(59,30,78,0) 130px,rgba(59,30,78,1) 210px),url("../images/sidebar-wp-rocket.jpg");background-color:#3B1E4E;background-repeat:repeat-x,no-repeat}.imagify-sidebar-content{padding:10px 20px}.imagify-mark-styled{display:inline-block;padding:1px 2px 1px 4px;line-height:1.3;font-weight:bold;background:#F7A933;transform-origine:50% 50%;transform:rotateZ(-2deg) rotateX(-10deg) skewX(-2deg) skewY(-3deg);text-shadow:1px 1px 0 rgba(0,0,0,0.2)}.imagify-mark-styled span{display:inline-block;transform:rotateZ(2deg) rotateX(10deg) skewX(2deg) skewY(3deg)}.imagify-discount-code{margin:0.35em 0 .5em;display:block;font-size:2em;letter-spacing:.05em;font-weight:bold;text-align:center;text-shadow:1px 1px 0 rgba(0,0,0,0.2)}.imagify-big-text{font-size:15px;font-weight:bold}.imagify-big-text strong{font-size:20px}a.btn-rocket{display:block;font-size:1.15em;padding:12px;background:#F7A933;box-shadow:0 3px 0 #D69626;border-radius:3px;color:#FFF;text-transform:uppercase;font-weight:bold;text-shadow:1px 1px 0 rgba(0,0,0,0.2);text-decoration:none}a.btn-rocket:hover,a.btn-rocket:focus{background:darkorange;box-shadow:0 3px 0 darkorange}.imagify-welcome{margin:30px 20px 0 0}.imagify-welcome .baseline{display:inline-block;margin:.2em 0 0 2em;font-size:17px}.imagify-welcome .imagify-logo{vertical-align:middle}.imagify-welcome-remove{position:absolute;top:50%;right:15px;margin-top:-8px;color:#FFF;text-decoration:none}.imagify-columns{overflow:hidden;padding:15px 0;counter-reset:cols}.imagify-columns [class^="col-"]{float:left;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.imagify-columns .col-1-3{width:33.333%;padding-left:28px}.imagify-columns .col-1-2{width:50%;padding:0 20px}.imagify-columns .col-informations{width:41.6%;padding-right:30px}.imagify-columns .col-statistics{width:25%}@media (max-width:830px){.imagify-columns [class^="col-"]{float:none;margin-bottom:1.5em}.imagify-columns .col-1-3,.imagify-columns .col-1-2{width:auto;padding:0 28px;clear:both;padding-top:1em}}.imagify-columns [class^="col-"] img{float:left;margin-right:18px}.imagify-col-content{overflow:hidden}.imagify-col-title{margin:0 0 15px 0;font-size:23px}.counter .imagify-col-title:before{counter-increment:cols;content:counter(cols) ". ";color:#40B1D0}.imagify-col-desc{color:#5F758E;margin-bottom:2em}.imagify-notice.imagify-notice{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding:0;margin:10px 20px 10px 2px;border:0 none;background:#2E3243;box-shadow:none;color:#FFF}@media (max-width:782px){.imagify-notice.imagify-notice,.imagify-welcome{margin-right:12px}}@media (max-width:450px){.imagify-notice.imagify-notice{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column; -ms-flex-direction:column; flex-direction:column}}.wrap .imagify-notice{margin:5px 15px 2px;position:relative}.imagify-notice-logo{padding:18px 23px;background:#40B1D0}.updated .imagify-notice-logo{background:#8BC34A}.error .imagify-notice-logo{background:#D0021B}.imagify-notice-title{font-size:15px}.imagify-notice-content{padding:5px 23px}.imagify-notice-content.imagify-notice-content p{margin:0.65em 0}.imagify-notice a{color:#40B1D0}.imagify-notice a:hover,.imagify-notice a:focus{color:#FEE102}.imagify-notice code{background:rgba(0,0,0,0.4) none repeat scroll 0 0}.column-imagify_optimized_file.column-imagify_optimized_file{width:300px;text-align:center;vertical-align:middle}.column-imagify_optimized_file >*{max-width:235px;margin:0 auto}ul.imagify-datas-list.imagify-datas-list{margin:0 auto;color:#555;font-size:10px}.compat-field-imagify .label{vertical-align:top}.compat-field-imagify ul.imagify-datas-list{margin-top:7px;font-size:11px}ul.imagify-datas-list .big{font-size:12px;color:#40B1D0}.imagify-data-item{overflow:hidden}.imagify-data-item .imagify-chart{display:inline-block;top:1px;width:20px;vertical-align:middle;margin-bottom:0}li.imagify-data-item{clear:both;margin-bottom:2px}ul.imagify-datas-list .imagify-data-item span.data,ul.imagify-datas-list .imagify-data-item strong{float:left;width:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}ul.imagify-datas-list .imagify-data-item span.data{text-align:left;padding-right:5px}.compat-field-imagify .imagify-datas-list .imagify-data-item .data{width:130px;text-align:left;font-weight:bold}.media-sidebar .imagify-datas-list .imagify-data-item .data{width:auto;float:none}ul.imagify-datas-list .imagify-data-item strong{text-align:left;padding-left:5px}.media-sidebar .imagify-datas-list .imagify-data-item strong{width:auto;float:none}.imagify-datas-more-action.imagify-datas-more-action{margin:.4em auto;background:linear-gradient(to bottom,transparent,transparent 49%,rgba(0,0,0,.075) 50%,rgba(0,0,0,.075) 58%,transparent 58%,transparent)}.imagify-datas-more-action a{display:inline-block;padding:0 5px;background:#40B1D0;color:#FFF;text-transform:uppercase;font-size:9px;font-weight:bold;line-height:1.9;text-decoration:none}.imagify-datas-more-action a.is-open{background:#555}.imagify-datas-more-action a.is-open .dashicons{transform:rotate(180deg)}.imagify-datas-more-action a .dashicons{font-size:14px;vertical-align:middle;line-height:.8}.imagify-datas-more-action a .dashicons:before{vertical-align:middle;line-height:20px}.imagify-datas-more-action .the-text{display:inline-block;vertical-align:middle;height:20px;line-height:20px}ul.imagify-datas-details.imagify-datas-details{margin:.7em auto}.imagify-datas-details strong{color:#40B1D0}.imagify-datas-details .original{color:#555}.imagify-datas-actions-links{overflow:hidden;border-top:2px solid transparent;padding-top:5px;font-size:8px}.imagify-datas-actions-links a{position:relative;display:inline-block;padding-left:17px;text-decoration:none;font-weight:600}.compat-field-imagify .imagify-datas-actions-links{max-width:300px}.misc-pub-imagify .imagify-datas-actions-links{border-top:2px solid #f2f2f2;padding-bottom:5px}.compat-field-imagify .imagify-datas-actions-links a,.misc-pub-imagify .imagify-datas-actions-links a{font-size:10px;float:left;width:50%}.media-sidebar .compat-field-imagify .imagify-datas-actions-links a{display:block;width:auto;float:none}.column-imagify_optimized_file .imagify-datas-actions-links a{margin:0 .7em;padding-left:15px}.imagify-datas-actions-links a:only-child{float:none;width:auto}.imagify-datas-details.is-open+.imagify-datas-actions-links{border-top-color:rgba(0,0,0,.075)}.imagify-datas-actions-links .dashicons{position:absolute;left:0;top:4px;width:12px;margin-right:2px;font-size:11px}.imagify-title >h1{padding:0}.imagify-title-right{display:table;float:right;margin-top:-10px}.imagify-title-right p{margin:0}.imagify-title-right a{font-weight:bold;text-decoration:none}.imagify-title-right >div{display:table-cell;vertical-align:middle}.imagify-title-right .dashicons-arrow-down-alt2{vertical-align:-4px;margin-left:2px}@media (max-width:1200px){.imagify-bulk .imagify-title{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.imagify-title-right{-webkit-box-ordinal-group:3;-webkit-order:2;-ms-flex-order:2;order:2;margin-top:20px}}.imagify-account,.imagify-account-link{padding-right:15px}.imagify-sep-v{width:1px;background:rgba(255,255,255,.2)}.imagify-credit-left{position:relative;min-width:280px;padding-left:15px}.imagify-meteo-icon{display:inline-block;height:38px;vertical-align:middle;margin-right:10px}.imagify-user-plan{color:#40b1d0}@media (max-width:630px){.imagify-title-right{display:block;width:auto}.imagify-title-right >div{display:block;width:auto;margin-top:10px;max-width:100%}.imagify-credit-left{padding-left:0}}.imagify-meteo-title.imagify-meteo-title{color:#FFF;font-size:17px}.imagify-space-left{display:inline-block;min-height:38px;min-width:245px;vertical-align:middle}.imagify-space-left >p{color:#FFF}[class^="imagify-bar-"],#wp-admin-bar-imagify-profile [class^="imagify-bar-"]{position:relative;height:15px;width:100%;background:#60758D;color:#FFF;font-size:10px}.base-transparent{background:transparent}[class^="imagify-bar-"].right-outside-number{-webkit-box-sizing:border-box;box-sizing:border-box;padding-right:45px}.right-outside-number .imagify-barnb{display:block;margin-right:-45px;text-align:right;font-weight:bold;line-height:15px}.imagify-progress-value,#wp-admin-bar-imagify-profile .imagify-progress-value{position:absolute;top:0;right:0;left:0;bottom:0;text-align:center;line-height:13px;font-weight:bold}.imagify-progress,#wp-admin-bar-imagify-profile .imagify-progress{height:15px}.imagify-bar-positive .imagify-progress{background:#8CC152}.imagify-bar-positive .imagify-barnb{color:#8CC152}.imagify-bar-negative .imagify-progress{background:#73818C}.imagify-bar-negative .imagify-barnb{color:#73818C}.imagify-bar-neutral .imagify-progress{background:#F5A623}.imagify-space-left .imagify-bar-negative .imagify-progress{background:#D0021B}#wpadminbar #wp-admin-bar-imagify-profile *{line-height:1.5;white-space:initial}#wpadminbar #wp-admin-bar-imagify .ab-submenu{padding-bottom:0}#wpadminbar #wp-admin-bar-imagify-profile .ab-item{height:auto;padding:0 13px}#wpadminbar #wp-admin-bar-imagify-profile{min-width:200px;padding:15px 0 10px;margin-top:0.7em;background:#222}#wp-admin-bar-imagify .dashicons{font-family:"dashicons";font-size:18px;vertical-align:middle;margin:0 5px 0 0}#wp-admin-bar-imagify .button-text{display:inline-block;vertical-align:middle}#wp-admin-bar-imagify .imagify-abq-row{display:table;width:100%}#wp-admin-bar-imagify .imagify-abq-row+.imagify-abq-row{margin-top:.75em}#wp-admin-bar-imagify .imagify-abq-row >*{display:table-cell}#wp-admin-bar-imagify-profile .imagify-meteo-icon{padding-right:7px}#wp-admin-bar-imagify-profile .imagify-meteo-icon img{width:37px}#wp-admin-bar-imagify-profile .imagify-meteo-title{font-size:17px}#wp-admin-bar-imagify-profile .imagify-meteo-subs{color:#72889F}#wpadminbar #wp-admin-bar-imagify-profile strong{font-weight:bold}#wpadminbar #wp-admin-bar-imagify-profile .imagify-user-plan,#wpadminbar #wp-admin-bar-imagify-profile a{padding:0;color:#40B1D0}#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link{display:table}#wpadminbar #wp-admin-bar-imagify-profile .imagify-account-link >* {display:table-cell}#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left{max-width:210px;min-width:210px;width:210px}#wpadminbar #wp-admin-bar-imagify-profile .imagify-space-left p{font-size:12px}#wp-admin-bar-imagify-profile .imagify-error,#wp-admin-bar-imagify-profile .imagify-warning{padding:10px;margin:0 -13px -13px}#wp-admin-bar-imagify-profile .imagify-error p+p,#wp-admin-bar-imagify-profile .imagify-warning p+p{margin-top:.5em}#wp-admin-bar-imagify-profile .imagify-error p+p+p,#wp-admin-bar-imagify-profile .imagify-warning p+p+p{margin-top:1em}.btn-ghost,#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost{display:inline-block;height:auto;padding:7px 10px;border:1px solid #FFF;text-align:center;background:transparent;color:#FFF;border-radius:3px;transition:all .275s}.btn-ghost:hover,.btn-ghost:focus,#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:hover,#wpadminbar #wp-admin-bar-imagify-profile .btn-ghost:focus{background:#FFF;color:#888}.txt-center{text-align:center}.imagify-list-dash li{position:relative;padding-left:24px}.imagify-list-dash li:before{content:"";position:absolute;left:0;top:9px;height:1px;width:12px;background:#5f758e}.imagify-sub-title.imagify-sub-title{font-size:23px;background:#FFF;color:#2E3243;border-left:1px solid #D9D9D9;border-right:1px solid #D9D9D9;font-weight:lighter}.imagify-sub-title .icon-bulk{margin-right:10px;vertical-align:middle}.imagify-sub-title .title-text{display:inline-block;line-height:1;vertical-align:middle}.imagify-bulk .imagify-settings-section{border:1px solid #D9D9D9;border-top:0;background:#F2F5F7;color:#4A4A4A}.imagify-bulk .imagify-settings-section p,.imagify-bulk .imagify-settings-section li,.imagify-bulk .imagify-settings-section h3{color:#4A4A4A}.imagify-bulk .imagify-settings-section h3{margin-bottom:2em}.imagify-bulk-submit{margin-top:4em}#imagify-bulk-action{float:left}#imagify-bulk-action+.imagify-tooltips{overflow:hidden;display:block}.imagify-title .imagify-tooltips{position:absolute;top:100%;left:0}.imagify-tooltips .icon-round{float:left;display:inline-block;width:28px;height:28px;border:1px solid #FFF;margin-right:8px;margin-bottom:8px;font-size:17px;font-style:italic;line-height:29px;font-weight:bold;text-align:center;border-radius:50%}.imagify-tooltips .tooltip-content{display:block;position:relative;max-width:250px;padding:7px 15px 8px;background:#2e3242;color:#FFF;font-size:10px;border-radius:3px}.imagify-tooltips.right .tooltip-content{margin-left:12px}.imagify-tooltips.bottom .tooltip-content{margin-top:4px}.imagify-inline-options label .tooltip-content{position:absolute;left:0;right:0;top:100%;text-transform:none;font-size:10px;letter-spacing:0;text-align:center}.imagify-tooltips .tooltip-content:after{content:"";position:absolute}.imagify-tooltips.right .tooltip-content:after{top:16px;left:-6px;border-right:8px solid #2e3242;border-top:6px solid transparent;border-bottom:6px solid transparent}.imagify-tooltips.bottom .tooltip-content:after{top:-5px;left:50%;margin-left:-3px;border-bottom:6px solid #2e3242;border-left:6px solid transparent;border-right:6px solid transparent}.imagify-space-tooltips .tooltip-content{max-width:280px;margin-top:20px;margin-left:0;padding:5px 15px 5px;font-size:13px;background:#40B1D0;box-shadow:0 3px 0 #338EA6}.imagify-space-tooltips .tooltip-content:after{top:-14px;left:50%;margin-left:-7px;border:0 none;border-bottom:15px solid #40B1D0;border-left:15px solid transparent;border-right:15px solid transparent}.tooltip-content.tooltip-table{display:table;width:100%}.tooltip-content.tooltip-table >*{display:table-cell;vertical-align:middle}.tooltip-content .cell-icon{width:28px}.tooltip-content .cell-icon .icon{margin-bottom:0}.tooltip-content .cell-text{padding:5px 10px 5px 0;line-height:1.3}.tooltip-content .cell-sep{width:1px;background:rgba(255,255,255,.4)}.tooltip-content .cell-cta{padding-left:10px}.tooltip-content .cell-cta a{display:block;color:#FFF;width:100%;height:100%;white-space:nowrap}.imagify-number-you-optimized .number{float:left;margin-right:15px;font-size:36px;font-weight:bold;line-height:1.1}.imagify-number-you-optimized .text{display:block;overflow:hidden;font-size:12px}.imagify-number-you-optimized{padding-bottom:0.85em;margin-bottom:1.35em;overflow:hidden;border-bottom:1px solid rgba(0,0,0,0.05)}.imagify-bars p{font-weight:bold;font-size:12px;margin-bottom:0}.imagify-bars+.imagify-number-you-optimized{border-bottom:0;padding-top:0.85em}.imagify-bars+.imagify-number-you-optimized p{color:#46b1ce}.imagify-bulk-table{margin-top:2em;max-height:600px;max-height:60vh;overflow:auto}.imagify-bulk-table table{width:100%;border-spacing:0;border-collapse:collapse;border:1px solid #D3D3D3}.imagify-bulk-table td{padding:8px 15px}.imagify-bulk-table thead tr,.imagify-bulk-table thead th{background:#2E3242}.imagify-bulk-table tfoot tr,.imagify-bulk-table tfoot th{background:#73818C}.imagify-bulk-table thead th{padding:14px 15px;text-align:left;color:#F2F5F7;font-weight:bold;font-size:14px}.imagify-bulk-table tfoot td{padding:14px 15px;color:#F9FAFA}.imagify-bulk-table tbody tr,.imagify-bulk-table tbody td{background:#FFF}.imagify-bulk-table tbody tr:nth-child(odd),.imagify-bulk-table tbody tr:nth-child(odd) td{background:#F2F5F7}.imagify-bulk-table .imagify-row-progress{display:none}.imagify-bulk-table .imagify-row-progress,.imagify-bulk-table .imagify-row-progress td{height:15px;padding:0}.imagify-bulk-table .imagify-no-uploaded-yet td{height:200px;font-size:17px;letter-spacing:.1em;word-spacing:.12em;vertical-align:middle;text-transform:uppercase;font-weight:bold;text-align:center;color:#999;background-color:#FFF}.imagify-row-complete{padding:35px 20px;margin-top:2em;background:#8BC34A;color:#FFF;text-shadow:0 0 2px rgba(0,0,0,.1)}.imagify-row-complete .imagify-ac-chart{margin-top:3px}.imagify-row-complete p{color:#FFF;margin:0}@-webkit-keyframes congrate{ 0%{opacity:0;-webkit-transform:scale(1)} 50%{-webkit-transform:scale(1.05);opacity:1} 100%{-webkit-transform:scale(1);opacity:1}}​@keyframes congrate{ 0%{opacity:0;transform:scale(1)} 50%{transform:scale(1.05);opacity:1} 100%{transform:scale(1);opacity:1}}.imagify-row-complete.done{-webkit-animation:congrate 500ms ease-in-out;animation:congrate 500ms ease-in-out}.imagify-all-complete{margin:1.5em 0}.imagify-all-complete >div{display:inline-block;vertical-align:middle}.imagify-ac-report{min-width:310px}.imagify-ac-chart{width:46px;height:46px;float:left;margin:0 20px 0 10px}.imagify-ac-report-text{overflow:hidden}.imagify-ac-report-text p{line-height:1.3}.imagify-ac-rt-big{font-weight:bold;font-size:24px;letter-spacing:0.15em;word-spacing:0.15em;text-transform:uppercase}.imagify-ac-share{text-align:right}.imagify-ac-share-content{display:inline-block;padding:10px 15px;background:rgba(255,255,255,.2)}.imagify-ac-share-content >*{display:inline-block;vertical-align:middle}.imagify-bulk-table .imagify-ac-share-content p{margin-right:5px}.imagify-share-networks,.imagify-share-networks li{margin:0}.imagify-share-networks li{display:inline-block}.imagify-share-networks a{display:inline-block;vertical-align:-7px;margin:0 5px;text-decoration:none;color:#FFF}.imagify-cell-filename{max-width:200px}.imagify-cell-status{max-width:145px}.imagify-cell-status .dashicons-warning{margin-right:2px}.imagify-cell-thumbnails{max-width:120px}td.imagify-cell-filename{text-overflow:clip;white-space:nowrap;overflow:hidden}.imagify-bulk-table td.imagify-cell-totaloriginal{padding-right:78px}.imagiuploaded,.imagifilename{display:inline-block;vertical-align:middle}.imagifilename{font-size:12px}.imagiuploaded{width:33px;height:33px;margin-right:5px;margin-left:-8px;overflow:hidden;background:url(../images/upload-image.png) 0 0 no-repeat;background-size:cover}.imagiuploaded img{max-widht:100%;height:auto}.imagistatus{color:#8CA6B3;text-transform:uppercase;font-weight:bold}.status-compressing{color:#46B1CE}.status-error{color:#CE0B24}.status-warning{color:#f5a623}.status-complete{color:#8CC152}.imagify-error{background:#D0021B;color:#FFF}.imagify-warning,#wpadminbar .imagify-warning *{background:#f5a623;color:#FFF;text-shadow:0 0 2px rgba(0,0,0,0.2)}.imagify-bulk-table .imagify-cell-thumbnails{text-align:center}.imagify-cell-percentage,.imagify-cell-savings{color:#46B1CE;font-weight:bold}.imagify-cell-optimized{font-weight:bold}.imagify-cell-totaloriginal{text-align:right}.dashicons.rotate{-webkit-animation:icon-rotate 2.6s infinite linear;animation:icon-rotate 2.6s infinite linear}.dashicons-admin-generic{transform-origin:48.75% 51.75%}.imagify-modal{display:flex;flex-direction:column;align-items:center;justify-content:center}.js .imagify-modal{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#1F2332;background-color:rgba(31,35,50,.95);z-index:99999}.imagify-modal-content{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;width:800px;max-width:95%;max-height:90vw;overflow:auto;padding:20px 25px;margin:1em auto;background:#FFF;box-shadow:1px 1px 4px rgba(0,0,0,.7);border-radius:3px}#imagify-visual-comparison .imagify-modal-content{max-width:1400px;background:transparent;padding:5px;box-shadow:none;border-radius:0}.imagify-modal .h2{margin:.5em 0;color:#8ba6b4;font-weight:normal;font-size:24px;letter-spacing:0.075em;text-align:center}.imagify-modal .h3{color:#40b1d0;font-weight:normal;font-size:18px;letter-spacing:0.075em;text-align:center}.text-justify{text-align:justify}.imagify-modal .close-btn{display:none;visibility:hidden;position:absolute;right:20px;top:20px;font-size:1.2em;border:0;background:transparent none;border-radius:0;cursor:pointer}.imagify-modal .close-btn:hover,.imagify-modal .close-btn:focus{color:#40b1d0}.js .imagify-modal .close-btn{display:block;visibility:visible}#imagify-visual-comparison .close-btn{top:50px;right:5px;width:33px;height:33px;padding:1px 0 0 2px;border:1px solid #F2F2F2;color:#F2F2F2;line-height:19px;text-align:center;border-radius:50%}.wp_attachment_image #imagify-visual-comparison .close-btn{top:0}.wp_attachment_image #imagify-visual-comparison .imagify-modal-content{padding-top:40px}.imagify-modal .imagify-comparison-title{font-size:28px;margin-bottom:1em;color:#F2F2F2;text-align:left}.imagify-modal .imagify-comparison-title .twentytwenty-duo-buttons{position:static;margin:0 10px 0 15px}.imagify-comparison-title .twentytwenty-duo-buttons button{float:none;padding:6px 12px;font-size:16px;text-transform:none;border:1px solid #40B1D0;color:#889;letter-spacing:0}.imagify-comparison-title .twentytwenty-duo-buttons button:focus{outline:none;box-shadow:none}.imagify-comparison-title .twentytwenty-duo-buttons .selected{border:1px solid #40B1D0;color:#FFF;background:#40B1D0}.imagify-comparison-levels{margin:15px 0;overflow:hidden}.imagify-comparison-levels div{display:none;min-width:175px;font-size:11px}.imagify-comparison-levels .imagify-chart,.imagify-comparison-levels .imagify-chart-container{width:25px;float:none;margin:0}.imagify-c-level.go-left{float:left}.imagify-c-level.go-right{float:right}.imagify-c-level.go-right,.imagify-c-level.go-left{display:table}.imagify-c-level .imagify-c-level-row{display:table-row;margin:0;color:#FFF}.imagify-c-level-row >span{display:table-cell;padding:2px 0}.imagify-c-level-row .value{text-align:right;padding-left:5px}.imagify-c-level-row .value.level{color:#40b1d0}.imagify-c-level-row .value.size{color:#8bc34a;font-weight:bold}.imagify-c-level-row .value .imagify-chart{top:1px}@-webkit-keyframes icon-rotate{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes icon-rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}.imagify-menu-bar-img{margin-top:1em}.imagify-modal .loader{position:absolute;top:50%;left:50%;margin:-32px 0 0 -32px;opacity:0;visibility:hidden;transition:opacity .4s}.imagify-modal .loading .loader{visibility:visible;opacity:1}.imagify-settings .imagify-visual-comparison-text{margin-top:1em;color:#40b1d0;font-weight:bold}
assets/js/admin.js CHANGED
@@ -113,6 +113,7 @@ jQuery(function($){
113
  var the_target = $(this).attr('href') || $(this).data('target');
114
 
115
  $( the_target ).css('display', 'flex').hide().fadeIn(400).attr('aria-hidden', 'false').attr('tabindex', '0').focus().removeAttr('tabindex').addClass('modal-is-open');
 
116
 
117
  return false;
118
  });
@@ -120,6 +121,7 @@ jQuery(function($){
120
  // on click on close button
121
  $('.imagify-modal').find('.close-btn').on('click', function(){
122
  $(this).closest('.imagify-modal').fadeOut(400).attr('aria-hidden', 'true').removeClass('modal-is-open');
 
123
  })
124
  .on('blur', function(){
125
  var $modal = $(this).closest('.imagify-modal');
113
  var the_target = $(this).attr('href') || $(this).data('target');
114
 
115
  $( the_target ).css('display', 'flex').hide().fadeIn(400).attr('aria-hidden', 'false').attr('tabindex', '0').focus().removeAttr('tabindex').addClass('modal-is-open');
116
+ $('body').addClass('imagify-modal-is-open');
117
 
118
  return false;
119
  });
121
  // on click on close button
122
  $('.imagify-modal').find('.close-btn').on('click', function(){
123
  $(this).closest('.imagify-modal').fadeOut(400).attr('aria-hidden', 'true').removeClass('modal-is-open');
124
+ $('body').removeClass('imagify-modal-is-open');
125
  })
126
  .on('blur', function(){
127
  var $modal = $(this).closest('.imagify-modal');
assets/js/admin.min.js CHANGED
@@ -1,6 +1,6 @@
1
  jQuery(function(a){a("#imagify-signup").click(function(b){b.preventDefault();swal({title:imagify.signupTitle,text:imagify.signupText,confirmButtonText:imagify.signupConfirmButtonText,type:"input",closeOnConfirm:!1,allowOutsideClick:!0,showLoaderOnConfirm:!0,customClass:"imagify-sweet-alert imagify-sweet-alert-signup"},function(b){if(""==a.trim(b)||!b)return swal.showInputError(imagify.signupErrorEmptyEmail),!1;a.get(ajaxurl+"?action=imagify_signup&email="+b+"&imagifysignupnonce="+a("#imagifysignupnonce").val()).done(function(a){a.success?
2
  swal({title:imagify.signupSuccessTitle,text:imagify.signupSuccessText,type:"success",customClass:"imagify-sweet-alert"}):swal.showInputError(a.data)})})});a("#imagify-save-api-key").click(function(b){b.preventDefault();swal({title:imagify.saveApiKeyTitle,text:imagify.saveApiKeyText,confirmButtonText:imagify.saveApiKeyConfirmButtonText,type:"input",closeOnConfirm:!1,allowOutsideClick:!0,showLoaderOnConfirm:!0,customClass:"imagify-sweet-alert imagify-sweet-alert-signup"},function(b){if(""==a.trim(b)||
3
  !b)return swal.showInputError(imagify.signupErrorEmptyEmail),!1;a.get(ajaxurl+"?action=imagify_check_api_key_validity&api_key="+b+"&imagifycheckapikeynonce="+a("#imagifycheckapikeynonce").val()).done(function(a){a.success?swal({title:imagify.ApiKeyCheckSuccessTitle,text:imagify.ApiKeyCheckSuccessText,type:"success",customClass:"imagify-sweet-alert"}):swal.showInputError(a.data)})})});a(".imagify-notice-dismiss").click(function(b){b.preventDefault();var c=a(this);b=c.parents(".imagify-welcome, .imagify-notice");
4
- c=c.attr("href");b.fadeTo(100,0,function(){a(this).slideUp(100,function(){a(this).remove()})});a.get(c.replace("admin-post.php","admin-ajax.php"))});0<a(".imagify-modal-trigger").length&&(a(".imagify-modal").attr("aria-hidden","true"),a(".imagify-modal-trigger").on("click",function(){var b=a(this).attr("href")||a(this).data("target");a(b).css("display","flex").hide().fadeIn(400).attr("aria-hidden","false").attr("tabindex","0").focus().removeAttr("tabindex").addClass("modal-is-open");return!1}),a(".imagify-modal").find(".close-btn").on("click",
5
- function(){a(this).closest(".imagify-modal").fadeOut(400).attr("aria-hidden","true").removeClass("modal-is-open")}).on("blur",function(){var b=a(this).closest(".imagify-modal");"false"===b.attr("aria-hidden")&&b.attr("tabindex","0").focus().removeAttr("tabindex")}),a(window).on("keydown",function(b){if(27==b.keyCode&&0<a(".imagify-modal.modal-is-open").length)return b.preventDefault(),a(".imagify-modal.modal-is-open").find(".close-btn").trigger("click"),!1}));var d=!1,e=!1;a("#wp-admin-bar-imagify").hover(function(){!0===
6
- d&&e.abort();d=!0;var b=a("#wp-admin-bar-imagify-profile-content");b.is(":empty")&&(e=a.get(ajaxurl+"?action=imagify_get_admin_bar_profile&imagifygetadminbarprofilenonce="+a("#imagifygetadminbarprofilenonce").val()).done(function(c){b.html(c.data);a("#wp-admin-bar-imagify-profile-loading").remove();d=!1}))})});
1
  jQuery(function(a){a("#imagify-signup").click(function(b){b.preventDefault();swal({title:imagify.signupTitle,text:imagify.signupText,confirmButtonText:imagify.signupConfirmButtonText,type:"input",closeOnConfirm:!1,allowOutsideClick:!0,showLoaderOnConfirm:!0,customClass:"imagify-sweet-alert imagify-sweet-alert-signup"},function(b){if(""==a.trim(b)||!b)return swal.showInputError(imagify.signupErrorEmptyEmail),!1;a.get(ajaxurl+"?action=imagify_signup&email="+b+"&imagifysignupnonce="+a("#imagifysignupnonce").val()).done(function(a){a.success?
2
  swal({title:imagify.signupSuccessTitle,text:imagify.signupSuccessText,type:"success",customClass:"imagify-sweet-alert"}):swal.showInputError(a.data)})})});a("#imagify-save-api-key").click(function(b){b.preventDefault();swal({title:imagify.saveApiKeyTitle,text:imagify.saveApiKeyText,confirmButtonText:imagify.saveApiKeyConfirmButtonText,type:"input",closeOnConfirm:!1,allowOutsideClick:!0,showLoaderOnConfirm:!0,customClass:"imagify-sweet-alert imagify-sweet-alert-signup"},function(b){if(""==a.trim(b)||
3
  !b)return swal.showInputError(imagify.signupErrorEmptyEmail),!1;a.get(ajaxurl+"?action=imagify_check_api_key_validity&api_key="+b+"&imagifycheckapikeynonce="+a("#imagifycheckapikeynonce").val()).done(function(a){a.success?swal({title:imagify.ApiKeyCheckSuccessTitle,text:imagify.ApiKeyCheckSuccessText,type:"success",customClass:"imagify-sweet-alert"}):swal.showInputError(a.data)})})});a(".imagify-notice-dismiss").click(function(b){b.preventDefault();var c=a(this);b=c.parents(".imagify-welcome, .imagify-notice");
4
+ c=c.attr("href");b.fadeTo(100,0,function(){a(this).slideUp(100,function(){a(this).remove()})});a.get(c.replace("admin-post.php","admin-ajax.php"))});0<a(".imagify-modal-trigger").length&&(a(".imagify-modal").attr("aria-hidden","true"),a(".imagify-modal-trigger").on("click",function(){var b=a(this).attr("href")||a(this).data("target");a(b).css("display","flex").hide().fadeIn(400).attr("aria-hidden","false").attr("tabindex","0").focus().removeAttr("tabindex").addClass("modal-is-open");a("body").addClass("imagify-modal-is-open");
5
+ return!1}),a(".imagify-modal").find(".close-btn").on("click",function(){a(this).closest(".imagify-modal").fadeOut(400).attr("aria-hidden","true").removeClass("modal-is-open");a("body").removeClass("imagify-modal-is-open")}).on("blur",function(){var b=a(this).closest(".imagify-modal");"false"===b.attr("aria-hidden")&&b.attr("tabindex","0").focus().removeAttr("tabindex")}),a(window).on("keydown",function(b){if(27==b.keyCode&&0<a(".imagify-modal.modal-is-open").length)return b.preventDefault(),a(".imagify-modal.modal-is-open").find(".close-btn").trigger("click"),
6
+ !1}));var d=!1,e=!1;a("#wp-admin-bar-imagify").hover(function(){!0===d&&e.abort();d=!0;var b=a("#wp-admin-bar-imagify-profile-content");b.is(":empty")&&(e=a.get(ajaxurl+"?action=imagify_get_admin_bar_profile&imagifygetadminbarprofilenonce="+a("#imagifygetadminbarprofilenonce").val()).done(function(c){b.html(c.data);a("#wp-admin-bar-imagify-profile-loading").remove();d=!1}))})});
assets/js/jquery.twentytwenty.js CHANGED
@@ -316,4 +316,99 @@
316
 
317
  });
318
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
  })(window, jQuery);
316
 
317
  });
318
 
319
+ // Imagify comparison inside Media post visualization
320
+
321
+ if ( $('.post-php').find('.wp_attachment_image').find('.thumbnail').length > 0 ) {
322
+ var $ori_parent = $('.post-php').find('.wp_attachment_image'),
323
+ $thumbnail = $ori_parent.find('.thumbnail'),
324
+ thumb = { src: $thumbnail.prop('src'), width: $thumbnail.width(), height: $thumbnail.height() },
325
+ ori_source = { src: $('#imagify-full-original').val(), size: $('#imagify-full-original-size').val() };
326
+
327
+ // if shown image > 300, use twentytwenty
328
+ if ( thumb.width > 300 && $('#imagify-full-original').length > 0 ) {
329
+
330
+ var imgs_loaded = 0,
331
+ filesize = $('.misc-pub-filesize').find('strong').text(),
332
+ saving = $('.imagify-data-item').find('.imagify-chart-value').text();
333
+
334
+ // create button to trigger
335
+ $('[id^="imgedit-open-btn-"]').before('<button type="button" class="imagify-button-primary button-primary imagify-modal-trigger" data-target="#imagify-visual-comparison" id="imagify-start-comparison">' + imagifyTTT.labels.compare + '</button>')
336
+
337
+ // create modal box
338
+ $ori_parent.append(''
339
+ + '<div id="imagify-visual-comparison" class="imagify-modal" aria-hidden="true">'
340
+ + '<div class="imagify-modal-content loading">'
341
+ + '<div class="twentytwenty-container">'
342
+ + '<img class="imagify-img-before" alt="" width="' + thumb.width + '" height="' + thumb.height + '">'
343
+ + '<img class="imagify-img-after" alt="" width="' + thumb.width + '" height="' + thumb.height + '">'
344
+ + '</div>'
345
+ + '<div class="imagify-comparison-levels">'
346
+ + '<div class="imagify-c-level imagify-level-original go-left">'
347
+ + '<p class="imagify-c-level-row">'
348
+ + '<span class="label">' + imagifyTTT.labels.filesize + '</span>'
349
+ + '<span class="value level">' + ori_source.size + '</span>'
350
+ + '</p>'
351
+ + '</div>'
352
+ + '<div class="imagify-c-level imagify-level-optimized go-right">'
353
+ + '<p class="imagify-c-level-row">'
354
+ + '<span class="label">' + imagifyTTT.labels.filesize + '</span>'
355
+ + '<span class="value level">' + filesize + '</span>'
356
+ + '</p>'
357
+ + '<p class="imagify-c-level-row">'
358
+ + '<span class="label">' + imagifyTTT.labels.saving + '</span>'
359
+ + '<span class="value"><span class="imagify-chart"><span class="imagify-chart-container"><canvas id="imagify-consumption-chart-normal" width="15" height="15"></canvas></span></span><span class="imagify-chart-value">' + saving + '</span>%</span>'
360
+ + '</p>'
361
+ +'</div>'
362
+ + '</div>'
363
+ + '<button class="close-btn absolute" type="button"><i aria-hidden="true" class="dashicons dashicons-no-alt"></i><span class="screen-reader-text">' + imagifyTTT.labels.close + '</span></button>'
364
+ + '</div>'
365
+ + '</div>'
366
+ );
367
+
368
+ $('#imagify-start-comparison').on('click.imagify', function(){
369
+
370
+ $( $(this).data('target') ).find('.imagify-modal-content').css({
371
+ 'width' : ($(window).outerWidth()*0.95) + 'px',
372
+ 'max-width' : thumb.width
373
+ });
374
+
375
+ // load before img
376
+ $('.imagify-img-before').on('load', function(){
377
+ imgs_loaded++;
378
+ }).attr('src', ori_source.src);
379
+
380
+ // load after img
381
+ $('.imagify-img-after').on('load', function(){
382
+ imgs_loaded++;
383
+ }).attr('src', thumb.src);
384
+
385
+ var $tt = $('.twentytwenty-container'),
386
+ check_load = setInterval( function(){
387
+
388
+ if ( imgs_loaded === 2 ) {
389
+ $tt.twentytwenty({
390
+ handlePosition: 0.3,
391
+ orientation: 'horizontal',
392
+ labelBefore: imagifyTTT.labels.original_l,
393
+ labelAfter: imagifyTTT.labels.optimized_l
394
+ }, function(){
395
+ if ( ! $tt.closest('.imagify-modal-content').hasClass('loaded') ) {
396
+ $tt.closest('.imagify-modal-content').removeClass('loading').addClass('loaded');
397
+ draw_me_a_chart( $('.imagify-level-optimized').find('.imagify-chart').find('canvas') );
398
+ }
399
+ });
400
+ clearInterval( check_load );
401
+ check_load = null;
402
+ }
403
+ }, 75 );
404
+
405
+ });
406
+ }
407
+ // else put images next to next
408
+ else {
409
+
410
+ }
411
+
412
+ }
413
+
414
  })(window, jQuery);
assets/js/jquery.twentytwenty.min.js CHANGED
@@ -1,15 +1,20 @@
1
- (function(n,a,w){a.fn.twentytwenty=function(f,b){f=a.extend({handlePosition:.5,orientation:"horizontal",labelBefore:"Before",labelAfter:"After"},f);return this.each(function(){var d=f.handlePosition,c=a(this),e=f.orientation,g="vertical"===e?"down":"left",r="vertical"===e?"up":"right",k=c.find("img:first"),x=c.find("img:last");c.wrap('<div class="twentytwenty-wrapper twentytwenty-'+e+'"></div>');c.append('<div class="twentytwenty-overlay"></div>');c.append('<div class="twentytwenty-handle"></div>');
2
- var h=c.find(".twentytwenty-handle");h.append('<span class="twentytwenty-'+g+'-arrow"></span>');h.append('<span class="twentytwenty-'+r+'-arrow"></span>');c.addClass("twentytwenty-container");k.addClass("twentytwenty-before");x.addClass("twentytwenty-after");g=c.find(".twentytwenty-overlay");g.append('<div class="twentytwenty-labels twentytwenty-before-label"><span class="twentytwenty-label-content">'+f.labelBefore+"</span></div>");g.append('<div class="twentytwenty-labels twentytwenty-after-label"><span class="twentytwenty-label-content">'+
3
- f.labelAfter+"</span></div>");var t=function(a){var d,g,f;f=k.width();var m=k.height();d=f+"px";g=m+"px";f=a*f+"px";a=a*m+"px";h.css("vertical"===e?"top":"left","vertical"===e?a:f);m=c.find(".twentytwenty-before");"vertical"===e?m.css("clip","rect(0,"+d+","+a+",0)"):m.css("clip","rect(0,"+f+","+g+",0)");c.css("height",g);"function"===typeof b&&b()},p=0,u=0,v=0,q=0;a(n).on("resize.twentytwenty",function(a){t(d)});h.on("movestart",function(a){(a.distX>a.distY&&a.distX<-a.distY||a.distX<a.distY&&a.distX>
4
- -a.distY)&&"vertical"!==e?a.preventDefault():(a.distX<a.distY&&a.distX<-a.distY||a.distX>a.distY&&a.distX>-a.distY)&&"vertical"===e&&a.preventDefault();c.addClass("active");p=c.offset().left;u=c.offset().top;v=k.width();q=k.height()});h.on("moveend",function(a){c.removeClass("active")});h.on("move",function(a){c.hasClass("active")&&(d="vertical"===e?(a.pageY-u)/q:(a.pageX-p)/v,0>d&&(d=0),1<d&&(d=1),t(d))});c.find("img").on("mousedown",function(a){a.preventDefault()});a(n).trigger("resize.twentytwenty")})}})(window,
5
  jQuery);
6
- (function(n,a,w){var f=function(b){b.each(function(){var b=parseInt(a(this).closest(".imagify-chart").next(".imagify-chart-value").text()),b=[{value:b,color:"#00B3D3"},{value:100-b,color:"#D8D8D8"}];(new Chart(a(this)[0].getContext("2d"))).Doughnut(b,{segmentStrokeColor:"#2A2E3C",segmentStrokeWidth:1,animateRotate:!0,percentageInnerCutout:60,tooltipEvents:[]})})};a(".imagify-visual-comparison-btn").on("click",function(){if(1!==a(".twentytwenty-wrapper").length&&(a(a(this).data("target")).find(".imagify-modal-content").css("width",.95*
7
- a(n).outerWidth()+"px"),0<a(".twentytwenty-container").length&&800<a(n).outerWidth())){var b=a(".twentytwenty-container"),d=0,c=b.data("loader"),e=b.data("label-original"),g=b.data("label-normal"),r=b.data("label-aggressive"),k=b.data("label-ultra"),x=b.data("original-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>"),h=b.data("original-alt"),t=b.data("original-img"),p=b.data("original-dim").split("x");b.data("normal-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>");var u=
8
- b.data("normal-alt"),v=b.data("normal-img"),q=b.data("normal-dim").split("x");b.data("aggressive-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>");var w=b.data("aggressive-alt"),B=b.data("aggressive-img"),y=b.data("aggressive-dim").split("x"),C=b.data("ultra-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>"),m=b.data("ultra-alt"),D=b.data("ultra-img"),z=b.data("ultra-dim").split("x"),e='<span class="twentytwenty-duo-buttons twentytwenty-duo-left"><button type="button" class="imagify-comparison-original selected" data-img="original">'+
9
- e+'</button><button type="button" class="imagify-comparison-normal" data-img="normal">'+g+'</button><button type="button" class="imagify-comparison-aggressive" data-img="aggressive">'+r+"</button></span>",g='<span class="twentytwenty-duo-buttons twentytwenty-duo-right"><button type="button" class="imagify-comparison-normal" data-img="normal">'+g+'</button><button type="button" class="imagify-comparison-aggressive" data-img="aggressive">'+r+'</button><button type="button" class="imagify-comparison-ultra selected" data-img="ultra">'+
10
- k+"</button></span>";b.before('<img class="loader" src="'+c+'" alt="Loading\u2026" width="64" height="64">');c=a(".twentytwenty-left-buttons").lenght?e+g:"";a(".twentytwenty-left-buttons").append(e);a(".twentytwenty-right-buttons").append(g);b.closest(".imagify-modal-content").addClass("loading").find(".twentytwenty-container").append('<img class="img-original" alt="'+h+'" width="'+p[0]+'" height="'+p[1]+'"><img class="img-normal" alt="'+u+'" width="'+q[0]+'" height="'+q[1]+'"><img class="img-aggressive" alt="'+
11
- w+'" width="'+y[0]+'" height="'+y[1]+'"><img class="img-ultra" alt="'+m+'" width="'+z[0]+'" height="'+z[1]+'">'+c);a(".img-original").on("load",function(){d++}).attr("src",t);a(".img-normal").on("load",function(){d++}).attr("src",v);a(".img-aggressive").on("load",function(){d++}).attr("src",B);a(".img-ultra").on("load",function(){d++}).attr("src",D);var A=setInterval(function(){4===d&&(b.twentytwenty({handlePosition:.6,orientation:"horizontal",labelBefore:x,labelAfter:C},function(){b.closest(".imagify-modal-content").hasClass("loaded")||
12
- (b.closest(".imagify-modal-content").removeClass("loading").addClass("loaded"),f(a(".imagify-level-ultra").find(".imagify-chart").find("canvas")))}),clearInterval(A),A=null)},75);a(".imagify-comparison-title").on("click",".twentytwenty-duo-buttons button:not(.selected)",function(b){b.stopPropagation();var c=a(this);b=c.closest(".imagify-comparison-title").nextAll(".twentytwenty-wrapper").find(".twentytwenty-container");var d=c.closest(".twentytwenty-duo-buttons").hasClass("twentytwenty-duo-left")?
13
- "left":"right",e="left"===d?c.closest(".imagify-comparison-title").find(".twentytwenty-duo-right"):c.closest(".imagify-comparison-title").find(".twentytwenty-duo-left"),g=c.closest(".twentytwenty-duo-buttons").find("button"),h=b.find(".twentytwenty-before"),k=b.find(".twentytwenty-after"),l=c.data("img");g.removeClass("selected");c.addClass("selected");e.find(".selected").data("img")===l&&e.find("button:not(.selected)").eq(0).trigger("click");"left"===d&&(c=h.css("clip"),h.attr("style",""),h.removeClass("twentytwenty-before"),
14
- b.find(".img-"+l).addClass("twentytwenty-before").css("clip",c),a(".twentytwenty-before-label").find(".twentytwenty-label-content").text(b.data(l+"-label")),a(".imagify-c-level.go-left").attr("aria-hidden","true").removeClass("go-left go-right"),a(".imagify-level-"+l).attr("aria-hidden","false").addClass("go-left"));"right"===d&&(k.removeClass("twentytwenty-after"),b.find(".img-"+l).addClass("twentytwenty-after"),a(".twentytwenty-after-label").find(".twentytwenty-label-content").text(b.data(l+"-label")),
15
- a(".imagify-c-level.go-right").attr("aria-hidden","true").removeClass("go-left go-right"),a(".imagify-level-"+l).attr("aria-hidden","false").addClass("go-right"));f(a(".imagify-level-"+l).find(".imagify-chart").find("canvas"));return!1})}})})(window,jQuery);
 
 
 
 
 
1
+ (function(p,a,e){a.fn.twentytwenty=function(k,g){k=a.extend({handlePosition:.5,orientation:"horizontal",labelBefore:"Before",labelAfter:"After"},k);return this.each(function(){var d=k.handlePosition,c=a(this),f=k.orientation,m="vertical"===f?"down":"left",n="vertical"===f?"up":"right",l=c.find("img:first"),e=c.find("img:last");c.wrap('<div class="twentytwenty-wrapper twentytwenty-'+f+'"></div>');c.append('<div class="twentytwenty-overlay"></div>');c.append('<div class="twentytwenty-handle"></div>');
2
+ var b=c.find(".twentytwenty-handle");b.append('<span class="twentytwenty-'+m+'-arrow"></span>');b.append('<span class="twentytwenty-'+n+'-arrow"></span>');c.addClass("twentytwenty-container");l.addClass("twentytwenty-before");e.addClass("twentytwenty-after");m=c.find(".twentytwenty-overlay");m.append('<div class="twentytwenty-labels twentytwenty-before-label"><span class="twentytwenty-label-content">'+k.labelBefore+"</span></div>");m.append('<div class="twentytwenty-labels twentytwenty-after-label"><span class="twentytwenty-label-content">'+
3
+ k.labelAfter+"</span></div>");var q=function(a){var q,k,d;d=l.width();var h=l.height();q=d+"px";k=h+"px";d=a*d+"px";a=a*h+"px";b.css("vertical"===f?"top":"left","vertical"===f?a:d);h=c.find(".twentytwenty-before");"vertical"===f?h.css("clip","rect(0,"+q+","+a+",0)"):h.css("clip","rect(0,"+d+","+k+",0)");c.css("height",k);"function"===typeof g&&g()},u=0,v=0,h=0,w=0;a(p).on("resize.twentytwenty",function(a){q(d)});b.on("movestart",function(a){(a.distX>a.distY&&a.distX<-a.distY||a.distX<a.distY&&a.distX>
4
+ -a.distY)&&"vertical"!==f?a.preventDefault():(a.distX<a.distY&&a.distX<-a.distY||a.distX>a.distY&&a.distX>-a.distY)&&"vertical"===f&&a.preventDefault();c.addClass("active");u=c.offset().left;v=c.offset().top;h=l.width();w=l.height()});b.on("moveend",function(a){c.removeClass("active")});b.on("move",function(a){c.hasClass("active")&&(d="vertical"===f?(a.pageY-v)/w:(a.pageX-u)/h,0>d&&(d=0),1<d&&(d=1),q(d))});c.find("img").on("mousedown",function(a){a.preventDefault()});a(p).trigger("resize.twentytwenty")})}})(window,
5
  jQuery);
6
+ (function(p,a,e){var k=function(b){b.each(function(){var b=parseInt(a(this).closest(".imagify-chart").next(".imagify-chart-value").text()),b=[{value:b,color:"#00B3D3"},{value:100-b,color:"#D8D8D8"}];(new Chart(a(this)[0].getContext("2d"))).Doughnut(b,{segmentStrokeColor:"#2A2E3C",segmentStrokeWidth:1,animateRotate:!0,percentageInnerCutout:60,tooltipEvents:[]})})};a(".imagify-visual-comparison-btn").on("click",function(){if(1!==a(".twentytwenty-wrapper").length&&(a(a(this).data("target")).find(".imagify-modal-content").css("width",.95*
7
+ a(p).outerWidth()+"px"),0<a(".twentytwenty-container").length&&800<a(p).outerWidth())){var b=a(".twentytwenty-container"),c=0,d=b.data("loader"),f=b.data("label-original"),h=b.data("label-normal"),g=b.data("label-aggressive"),l=b.data("label-ultra"),e=b.data("original-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>"),m=b.data("original-alt"),n=b.data("original-img"),t=b.data("original-dim").split("x");b.data("normal-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>");var r=
8
+ b.data("normal-alt"),B=b.data("normal-img"),x=b.data("normal-dim").split("x");b.data("aggressive-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>");var C=b.data("aggressive-alt"),D=b.data("aggressive-img"),y=b.data("aggressive-dim").split("x"),E=b.data("ultra-label").replace(/\*\*/,"<strong>").replace(/\*\*/,"</strong>"),F=b.data("ultra-alt"),G=b.data("ultra-img"),z=b.data("ultra-dim").split("x"),f='<span class="twentytwenty-duo-buttons twentytwenty-duo-left"><button type="button" class="imagify-comparison-original selected" data-img="original">'+
9
+ f+'</button><button type="button" class="imagify-comparison-normal" data-img="normal">'+h+'</button><button type="button" class="imagify-comparison-aggressive" data-img="aggressive">'+g+"</button></span>",h='<span class="twentytwenty-duo-buttons twentytwenty-duo-right"><button type="button" class="imagify-comparison-normal" data-img="normal">'+h+'</button><button type="button" class="imagify-comparison-aggressive" data-img="aggressive">'+g+'</button><button type="button" class="imagify-comparison-ultra selected" data-img="ultra">'+
10
+ l+"</button></span>";b.before('<img class="loader" src="'+d+'" alt="Loading\u2026" width="64" height="64">');d=a(".twentytwenty-left-buttons").lenght?f+h:"";a(".twentytwenty-left-buttons").append(f);a(".twentytwenty-right-buttons").append(h);b.closest(".imagify-modal-content").addClass("loading").find(".twentytwenty-container").append('<img class="img-original" alt="'+m+'" width="'+t[0]+'" height="'+t[1]+'"><img class="img-normal" alt="'+r+'" width="'+x[0]+'" height="'+x[1]+'"><img class="img-aggressive" alt="'+
11
+ C+'" width="'+y[0]+'" height="'+y[1]+'"><img class="img-ultra" alt="'+F+'" width="'+z[0]+'" height="'+z[1]+'">'+d);a(".img-original").on("load",function(){c++}).attr("src",n);a(".img-normal").on("load",function(){c++}).attr("src",B);a(".img-aggressive").on("load",function(){c++}).attr("src",D);a(".img-ultra").on("load",function(){c++}).attr("src",G);var A=setInterval(function(){4===c&&(b.twentytwenty({handlePosition:.6,orientation:"horizontal",labelBefore:e,labelAfter:E},function(){b.closest(".imagify-modal-content").hasClass("loaded")||
12
+ (b.closest(".imagify-modal-content").removeClass("loading").addClass("loaded"),k(a(".imagify-level-ultra").find(".imagify-chart").find("canvas")))}),clearInterval(A),A=null)},75);a(".imagify-comparison-title").on("click",".twentytwenty-duo-buttons button:not(.selected)",function(b){b.stopPropagation();var c=a(this);b=c.closest(".imagify-comparison-title").nextAll(".twentytwenty-wrapper").find(".twentytwenty-container");var d=c.closest(".twentytwenty-duo-buttons").hasClass("twentytwenty-duo-left")?
13
+ "left":"right",f="left"===d?c.closest(".imagify-comparison-title").find(".twentytwenty-duo-right"):c.closest(".imagify-comparison-title").find(".twentytwenty-duo-left"),h=c.closest(".twentytwenty-duo-buttons").find("button"),g=b.find(".twentytwenty-before"),l=b.find(".twentytwenty-after"),e=c.data("img");h.removeClass("selected");c.addClass("selected");f.find(".selected").data("img")===e&&f.find("button:not(.selected)").eq(0).trigger("click");"left"===d&&(c=g.css("clip"),g.attr("style",""),g.removeClass("twentytwenty-before"),
14
+ b.find(".img-"+e).addClass("twentytwenty-before").css("clip",c),a(".twentytwenty-before-label").find(".twentytwenty-label-content").text(b.data(e+"-label")),a(".imagify-c-level.go-left").attr("aria-hidden","true").removeClass("go-left go-right"),a(".imagify-level-"+e).attr("aria-hidden","false").addClass("go-left"));"right"===d&&(l.removeClass("twentytwenty-after"),b.find(".img-"+e).addClass("twentytwenty-after"),a(".twentytwenty-after-label").find(".twentytwenty-label-content").text(b.data(e+"-label")),
15
+ a(".imagify-c-level.go-right").attr("aria-hidden","true").removeClass("go-left go-right"),a(".imagify-level-"+e).attr("aria-hidden","false").addClass("go-right"));k(a(".imagify-level-"+e).find(".imagify-chart").find("canvas"));return!1})}});if(0<a(".post-php").find(".wp_attachment_image").find(".thumbnail").length){e=a(".post-php").find(".wp_attachment_image");var g=e.find(".thumbnail"),d=g.prop("src"),c=g.width(),g=g.height(),f=a("#imagify-full-original").val(),m=a("#imagify-full-original-size").val();
16
+ if(300<c&&0<a("#imagify-full-original").length){var n=0,l=a(".misc-pub-filesize").find("strong").text(),r=a(".imagify-data-item").find(".imagify-chart-value").text();a('[id^="imgedit-open-btn-"]').before('<button type="button" class="imagify-button-primary button-primary imagify-modal-trigger" data-target="#imagify-visual-comparison" id="imagify-start-comparison">'+imagifyTTT.labels.compare+"</button>");e.append('<div id="imagify-visual-comparison" class="imagify-modal" aria-hidden="true"><div class="imagify-modal-content loading"><div class="twentytwenty-container"><img class="imagify-img-before" alt="" width="'+
17
+ c+'" height="'+g+'"><img class="imagify-img-after" alt="" width="'+c+'" height="'+g+'"></div><div class="imagify-comparison-levels"><div class="imagify-c-level imagify-level-original go-left"><p class="imagify-c-level-row"><span class="label">'+imagifyTTT.labels.filesize+'</span><span class="value level">'+m+'</span></p></div><div class="imagify-c-level imagify-level-optimized go-right"><p class="imagify-c-level-row"><span class="label">'+imagifyTTT.labels.filesize+'</span><span class="value level">'+
18
+ l+'</span></p><p class="imagify-c-level-row"><span class="label">'+imagifyTTT.labels.saving+'</span><span class="value"><span class="imagify-chart"><span class="imagify-chart-container"><canvas id="imagify-consumption-chart-normal" width="15" height="15"></canvas></span></span><span class="imagify-chart-value">'+r+'</span>%</span></p></div></div><button class="close-btn absolute" type="button"><i aria-hidden="true" class="dashicons dashicons-no-alt"></i><span class="screen-reader-text">'+imagifyTTT.labels.close+
19
+ "</span></button></div></div>");a("#imagify-start-comparison").on("click.imagify",function(){a(a(this).data("target")).find(".imagify-modal-content").css({width:.95*a(p).outerWidth()+"px","max-width":c});a(".imagify-img-before").on("load",function(){n++}).attr("src",f);a(".imagify-img-after").on("load",function(){n++}).attr("src",d);var b=a(".twentytwenty-container"),e=setInterval(function(){2===n&&(b.twentytwenty({handlePosition:.3,orientation:"horizontal",labelBefore:imagifyTTT.labels.original_l,
20
+ labelAfter:imagifyTTT.labels.optimized_l},function(){b.closest(".imagify-modal-content").hasClass("loaded")||(b.closest(".imagify-modal-content").removeClass("loading").addClass("loaded"),k(a(".imagify-level-optimized").find(".imagify-chart").find("canvas")))}),clearInterval(e),e=null)},75)})}}})(window,jQuery);
imagify.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Imagify
4
  Plugin URI: https://wordpress.org/plugins/imagify/
5
  Description: Dramaticaly reduce image file sizes without loosing quality, make your website load faster, boost your SEO and save money on your bandwith using Imagify, the new most advanced image optimization tool.
6
- Version: 1.3.6.1
7
  Author: WP Media
8
  Author URI: http://wp-media.me
9
  Licence: GPLv2
@@ -17,7 +17,7 @@ Copyright 2015 WP Media
17
  defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' );
18
 
19
  // Imagify defines
20
- define( 'IMAGIFY_VERSION' , '1.3.6.1' );
21
  define( 'IMAGIFY_SLUG' , 'imagify' );
22
  define( 'IMAGIFY_SETTINGS_SLUG' , IMAGIFY_SLUG . '_settings' );
23
  define( 'IMAGIFY_WEB_MAIN' , 'https://imagify.io' );
3
  Plugin Name: Imagify
4
  Plugin URI: https://wordpress.org/plugins/imagify/
5
  Description: Dramaticaly reduce image file sizes without loosing quality, make your website load faster, boost your SEO and save money on your bandwith using Imagify, the new most advanced image optimization tool.
6
+ Version: 1.4
7
  Author: WP Media
8
  Author URI: http://wp-media.me
9
  Licence: GPLv2
17
  defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' );
18
 
19
  // Imagify defines
20
+ define( 'IMAGIFY_VERSION' , '1.4' );
21
  define( 'IMAGIFY_SLUG' , 'imagify' );
22
  define( 'IMAGIFY_SETTINGS_SLUG' , IMAGIFY_SLUG . '_settings' );
23
  define( 'IMAGIFY_WEB_MAIN' , 'https://imagify.io' );
inc/admin/ajax.php CHANGED
@@ -22,19 +22,23 @@ function _do_admin_post_imagify_manual_upload() {
22
  wp_nonce_ays( '' );
23
  }
24
  }
25
-
26
- $attachment = new Imagify_Attachment( $_GET['attachment_id'] );
 
 
 
 
27
 
28
  // Optimize it!!!!!
29
  $attachment->optimize();
30
-
31
  if ( ! defined( 'DOING_AJAX' ) ) {
32
  wp_safe_redirect( wp_get_referer() );
33
  die();
34
  }
35
-
36
  // Return the optimization statistics
37
- $output = get_imagify_attachment_optimization_text( $attachment->id );
38
  wp_send_json_success( $output );
39
  }
40
 
@@ -468,4 +472,48 @@ function _do_wp_ajax_imagify_get_admin_bar_profile() {
468
  ' . $message;
469
 
470
  wp_send_json_success( $quota_section );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
471
  }
22
  wp_nonce_ays( '' );
23
  }
24
  }
25
+
26
+ $attachment_id = $_GET['attachment_id'];
27
+
28
+ set_transient( 'imagify-async-in-progress-' . $attachment_id, true );
29
+
30
+ $attachment = new Imagify_Attachment( $attachment_id );
31
 
32
  // Optimize it!!!!!
33
  $attachment->optimize();
34
+
35
  if ( ! defined( 'DOING_AJAX' ) ) {
36
  wp_safe_redirect( wp_get_referer() );
37
  die();
38
  }
39
+
40
  // Return the optimization statistics
41
+ $output = get_imagify_attachment_optimization_text( $attachment_id );
42
  wp_send_json_success( $output );
43
  }
44
 
472
  ' . $message;
473
 
474
  wp_send_json_success( $quota_section );
475
+ }
476
+
477
+ /**
478
+ * Optimize image on picture editing with async request
479
+ *
480
+ * @since 1.4
481
+ **/
482
+ add_action( 'wp_ajax_imagify_async_optimize_save_image_editor_file', '_do_admin_post_async_optimize_save_image_editor_file' );
483
+ function _do_admin_post_async_optimize_save_image_editor_file() {
484
+ if ( isset( $_POST['do'], $_POST['postid'] )
485
+ && check_ajax_referer( 'image_editor-' . $_POST['postid'] )
486
+ && get_post_meta( $_POST['postid'], '_imagify_data', true )
487
+ ) {
488
+
489
+ $attachment_id = $_POST['postid'];
490
+ $optimization_level = get_post_meta( $attachment_id, '_imagify_optimization_level', true );
491
+ $attachment = new Imagify_Attachment( $attachment_id );
492
+ $metadata = wp_get_attachment_metadata( $attachment_id );
493
+
494
+ // Remove old optimization data
495
+ delete_post_meta( $attachment_id, '_imagify_data' );
496
+ delete_post_meta( $attachment_id, '_imagify_status' );
497
+ delete_post_meta( $attachment_id, '_imagify_optimization_level' );
498
+
499
+ if ( 'restore' === $_POST['do'] ) {
500
+ // Restore the backup file
501
+ $attachment->restore();
502
+
503
+ // Get old metadata to regenerate all thumbnails
504
+ $metadata = array( 'sizes' => array() );
505
+ $backup_sizes = (array) get_post_meta( $attachment_id, '_wp_attachment_backup_sizes', true );
506
+
507
+ foreach ( $backup_sizes as $size_key => $size_data ) {
508
+ $size_key = str_replace( '-origin', '' , $size_key );
509
+ $metadata['sizes'][ $size_key ] = $size_data;
510
+ }
511
+ }
512
+
513
+ // Optimize it!!!!!
514
+ $attachment->optimize( $optimization_level, $metadata );
515
+
516
+ die( 1 );
517
+ }
518
+
519
  }
inc/admin/enqueue.php CHANGED
@@ -154,9 +154,9 @@ function _imagify_admin_print_styles() {
154
  wp_localize_script( 'imagify-js-options', 'imagifyOptions', $options_data );
155
  }
156
 
157
- /*
158
  * Scripts loaded in /wp-admin/upload.php and post.php
159
- */
160
  if ( isset( $current_screen ) && ( 'upload' === $current_screen->base || 'post' === $current_screen->base ) ) {
161
  $upload_data = array(
162
  'bulkActionsLabels' => array(
@@ -169,9 +169,29 @@ function _imagify_admin_print_styles() {
169
  wp_enqueue_script( 'imagify-js-upload' );
170
  }
171
 
172
- /*
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
  * Scripts loaded in /wp-admin/upload.php?page=imagify-bulk-optimization
174
- */
175
  if ( isset( $current_screen ) && 'media_page_imagify-bulk-optimization' === $current_screen->base ) {
176
  $user = get_imagify_user();
177
  $bulk_data = array(
154
  wp_localize_script( 'imagify-js-options', 'imagifyOptions', $options_data );
155
  }
156
 
157
+ /**
158
  * Scripts loaded in /wp-admin/upload.php and post.php
159
+ */
160
  if ( isset( $current_screen ) && ( 'upload' === $current_screen->base || 'post' === $current_screen->base ) ) {
161
  $upload_data = array(
162
  'bulkActionsLabels' => array(
169
  wp_enqueue_script( 'imagify-js-upload' );
170
  }
171
 
172
+ /**
173
+ * Scripts loaded in /wp-admin/post.php (for attachment post type)
174
+ */
175
+ if ( isset( $current_screen ) && 'post' === $current_screen->base && 'attachment' === $current_screen->post_type ) {
176
+ wp_localize_script( 'imagify-js-twentytwenty', 'imagifyTTT', array(
177
+ 'labels' => array(
178
+ 'original_l' => __( 'Original Image', 'imagify' ),
179
+ 'optimized_l' => __( 'Optimized Image', 'imagify' ),
180
+ 'compare' => __( 'Compare Original VS Optimized', 'imagify' ),
181
+ 'close' => __( 'Close', 'imagify' ),
182
+ 'filesize' => __( 'File Size:', 'imagify' ),
183
+ 'saving' => __( 'Original Saving:', 'imagify' ),
184
+ )
185
+ ));
186
+ wp_enqueue_script( 'imagify-js-chart' );
187
+ wp_enqueue_script( 'imagify-js-event-move' );
188
+ wp_enqueue_script( 'imagify-js-twentytwenty' );
189
+ wp_enqueue_style( 'imagify-css-twentytwenty' );
190
+ }
191
+
192
+ /**
193
  * Scripts loaded in /wp-admin/upload.php?page=imagify-bulk-optimization
194
+ */
195
  if ( isset( $current_screen ) && 'media_page_imagify-bulk-optimization' === $current_screen->base ) {
196
  $user = get_imagify_user();
197
  $bulk_data = array(
inc/admin/meta-boxes.php CHANGED
@@ -23,9 +23,20 @@ function _imagify_attachment_submitbox_misc_actions() {
23
  } elseif ( $attachment->is_optimized() || $attachment->has_error() ) {
24
  echo '<div class="misc-pub-section misc-pub-imagify"><h4>' . __( 'Imagify', 'imagify' ) . '</h4></div>';
25
  echo get_imagify_attachment_optimization_text( $post->ID );
 
 
 
 
 
 
26
  } else {
27
  $url = get_imagify_admin_url( 'manual-upload', $post->ID );
28
  printf( '<div class="misc-pub-section misc-pub-imagify"><a class="button-primary" href="%s">%s</a></div>', $url, __( 'Optimize', 'imagify' ) );
29
  }
 
 
 
 
 
30
  }
31
  }
23
  } elseif ( $attachment->is_optimized() || $attachment->has_error() ) {
24
  echo '<div class="misc-pub-section misc-pub-imagify"><h4>' . __( 'Imagify', 'imagify' ) . '</h4></div>';
25
  echo get_imagify_attachment_optimization_text( $post->ID );
26
+ } elseif ( false !== get_transient( 'imagify-async-in-progress-' . $post->ID ) ) {
27
+ echo '<div class="misc-pub-section misc-pub-imagify">';
28
+ echo '<div class="button"><span class="imagify-spinner"></span>';
29
+ _e( 'Optimizing...', 'imagify' );
30
+ echo '</div>';
31
+ echo '</div>';
32
  } else {
33
  $url = get_imagify_admin_url( 'manual-upload', $post->ID );
34
  printf( '<div class="misc-pub-section misc-pub-imagify"><a class="button-primary" href="%s">%s</a></div>', $url, __( 'Optimize', 'imagify' ) );
35
  }
36
+
37
+ if ( $attachment->is_optimized() ) {
38
+ echo '<input id="imagify-full-original" type="hidden" value="' . $attachment->get_backup_url() . '">';
39
+ echo '<input id="imagify-full-original-size" type="hidden" value="' . $attachment->get_original_size() . '">';
40
+ }
41
  }
42
  }
inc/classes/class-attachment.php CHANGED
@@ -57,7 +57,9 @@ class Imagify_Attachment {
57
  * @return string|false
58
  */
59
  public function get_backup_url() {
60
- $backup_url = str_replace( ABSPATH, site_url( '/' ), $this->get_backup_path() );
 
 
61
  return $backup_url;
62
  }
63
 
@@ -465,6 +467,8 @@ class Imagify_Attachment {
465
 
466
  // Check if the full size is already optimized
467
  if ( $this->is_optimized() && ( $this->get_optimization_level() == $optimization_level ) ) {
 
 
468
  return;
469
  }
470
 
@@ -495,6 +499,8 @@ class Imagify_Attachment {
495
  update_post_meta( $id, '_imagify_optimization_level', $optimization_level );
496
 
497
  if( (bool) ! $data ) {
 
 
498
  return;
499
  }
500
 
@@ -557,6 +563,8 @@ class Imagify_Attachment {
557
  * @param array $optimized_data The optimization data
558
  */
559
  do_action( 'after_imagify_optimize_attachment', $id, $optimized_data );
 
 
560
 
561
  return $optimized_data;
562
  }
57
  * @return string|false
58
  */
59
  public function get_backup_url() {
60
+ $backup_path = $this->get_backup_path();
61
+ $backup_url = str_replace( ABSPATH, site_url( '/' ), $backup_path );
62
+
63
  return $backup_url;
64
  }
65
 
467
 
468
  // Check if the full size is already optimized
469
  if ( $this->is_optimized() && ( $this->get_optimization_level() == $optimization_level ) ) {
470
+ delete_transient( 'imagify-async-in-progress-' . $id );
471
+
472
  return;
473
  }
474
 
499
  update_post_meta( $id, '_imagify_optimization_level', $optimization_level );
500
 
501
  if( (bool) ! $data ) {
502
+ delete_transient( 'imagify-async-in-progress-' . $id );
503
+
504
  return;
505
  }
506
 
563
  * @param array $optimized_data The optimization data
564
  */
565
  do_action( 'after_imagify_optimize_attachment', $id, $optimized_data );
566
+
567
+ delete_transient( 'imagify-async-in-progress-' . $id );
568
 
569
  return $optimized_data;
570
  }
inc/common/attachments.php CHANGED
@@ -19,7 +19,6 @@ function _imagify_optimize_attachment( $metadata, $attachment_id ) {
19
 
20
  return $metadata;
21
  }
22
-
23
  /**
24
  * Delete the backup file when an attachement is deleted.
25
  *
@@ -35,40 +34,21 @@ function _imagify_delete_backup_file( $post_id ) {
35
  * Optimize a resized attachment
36
  *
37
  * @since 1.3.6
 
38
  */
39
  add_action( 'shutdown', '_imagify_optimize_save_image_editor_file' );
40
- function _imagify_optimize_save_image_editor_file() {
41
  if ( isset( $_POST['action'], $_POST['do'], $_POST['postid'] )
42
- && 'image-editor' === $_POST['action']
43
- && check_ajax_referer( 'image_editor-' . $_POST['postid'] )
44
- && get_post_meta( $_POST['postid'], '_imagify_data', true )
45
- && 'open' !== $_POST['do']
46
  ) {
47
- $attachment_id = $_POST['postid'];
48
- $optimization_level = get_post_meta( $attachment_id, '_imagify_optimization_level', true );
49
- $attachment = new Imagify_Attachment( $attachment_id );
50
- $metadata = wp_get_attachment_metadata( $attachment_id );
51
-
52
- // Remove old optimization data
53
- delete_post_meta( $attachment_id, '_imagify_data' );
54
- delete_post_meta( $attachment_id, '_imagify_status' );
55
- delete_post_meta( $attachment_id, '_imagify_optimization_level' );
56
 
57
- if ( 'restore' === $_POST['do'] ) {
58
- // Restore the backup file
59
- $attachment->restore();
60
-
61
- // Get old metadata to regenerate all thumbnails
62
- $metadata = array( 'sizes' => array() );
63
- $backup_sizes = (array) get_post_meta( $attachment_id, '_wp_attachment_backup_sizes', true );
64
-
65
- foreach ( $backup_sizes as $size_key => $size_data ) {
66
- $size_key = str_replace( '-origin', '' , $size_key );
67
- $metadata['sizes'][ $size_key ] = $size_data;
68
- }
69
- }
70
 
71
- // Optimize it!!!!!
72
- $attachment->optimize( $optimization_level, $metadata );
73
  }
74
  }
19
 
20
  return $metadata;
21
  }
 
22
  /**
23
  * Delete the backup file when an attachement is deleted.
24
  *
34
  * Optimize a resized attachment
35
  *
36
  * @since 1.3.6
37
+ * @since 1.4 Async job
38
  */
39
  add_action( 'shutdown', '_imagify_optimize_save_image_editor_file' );
40
+ function _imagify_optimize_save_image_editor_file() {
41
  if ( isset( $_POST['action'], $_POST['do'], $_POST['postid'] )
42
+ && 'image-editor' === $_POST['action']
43
+ && check_ajax_referer( 'image_editor-' . $_POST['postid'] )
44
+ && get_post_meta( $_POST['postid'], '_imagify_data', true )
45
+ && 'open' != $_POST['do']
46
  ) {
 
 
 
 
 
 
 
 
 
47
 
48
+ $body = $_POST;
49
+ $body['action'] = 'imagify_async_optimize_save_image_editor_file';
50
+ $body['transient_id'] = $body['postid'];
 
 
 
 
 
 
 
 
 
 
51
 
52
+ imagify_do_async_job( $body );
 
53
  }
54
  }
inc/functions/admin-ui.php CHANGED
@@ -171,6 +171,11 @@ function get_imagify_media_column_content( $attachment_id ) {
171
  return $output;
172
  }
173
 
 
 
 
 
 
174
  // Check if the image was optimized
175
  if ( ! $attachment->is_optimized() && ! $attachment->has_error() ) {
176
  $output .= '<a id="imagify-upload-' . $attachment_id . '" href="' . get_imagify_admin_url( 'manual-upload', $attachment_id ) . '" class="button-primary button-imagify-manual-upload" data-waiting-label="' . esc_attr__( 'Optimizing...', 'imagify' ) . '">' . __( 'Optimize', 'imagify' ) . '</a>';
171
  return $output;
172
  }
173
 
174
+ if ( false !== get_transient( 'imagify-async-in-progress-' . $attachment_id ) ) {
175
+ $output = '<div class="button"><span class="imagify-spinner"></span>' . __( 'Optimizing...', 'imagify' ) . '</div>';
176
+ return $output;
177
+ }
178
+
179
  // Check if the image was optimized
180
  if ( ! $attachment->is_optimized() && ! $attachment->has_error() ) {
181
  $output .= '<a id="imagify-upload-' . $attachment_id . '" href="' . get_imagify_admin_url( 'manual-upload', $attachment_id ) . '" class="button-primary button-imagify-manual-upload" data-waiting-label="' . esc_attr__( 'Optimizing...', 'imagify' ) . '">' . __( 'Optimize', 'imagify' ) . '</a>';
inc/functions/process.php CHANGED
@@ -136,4 +136,27 @@ function do_imagify( $file_path, $backup, $optimization_level, $resize = array()
136
  do_action( 'after_do_imagify', $file_path, $backup );
137
 
138
  return $response;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  }
136
  do_action( 'after_do_imagify', $file_path, $backup );
137
 
138
  return $response;
139
+ }
140
+
141
+ /**
142
+ * Run an async job to optimize images in background
143
+ *
144
+ * @param $body (array) Contains the usual $_POST
145
+ *
146
+ * @since 1.4
147
+ **/
148
+ function imagify_do_async_job( $body ) {
149
+ if ( isset( $body['transient_id'] ) ) {
150
+ set_transient( 'imagify-async-in-progress-' . $body['transient_id'], true );
151
+ }
152
+
153
+ $args = array(
154
+ 'timeout' => 0.01,
155
+ 'blocking' => false,
156
+ 'body' => $body,
157
+ 'cookies' => $_COOKIE,
158
+ 'sslverify' => apply_filters( 'https_local_ssl_verify', false ),
159
+ );
160
+
161
+ wp_remote_post( admin_url( 'admin-ajax.php' ), $args );
162
  }
languages/imagify-es_ES.mo CHANGED
Binary file
languages/imagify-es_ES.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Imagify\n"
4
- "POT-Creation-Date: 2016-02-11 09:40+0100\n"
5
- "PO-Revision-Date: 2016-02-11 09:46+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es\n"
@@ -20,22 +20,23 @@ msgstr ""
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
- #: inc/admin/ajax.php:114 inc/functions/admin-ui.php:99
24
- #: inc/functions/admin-ui.php:127 inc/functions/admin-ui.php:133
25
- #: inc/functions/admin-ui.php:139 inc/functions/admin-ui.php:176
 
26
  msgid "Optimizing..."
27
  msgstr "Optimizando…"
28
 
29
- #: inc/admin/ajax.php:114 inc/admin/enqueue.php:163 inc/admin/meta-boxes.php:29
30
- #: inc/functions/admin-ui.php:176
31
  msgid "Optimize"
32
  msgstr "Optimizar"
33
 
34
- #: inc/admin/ajax.php:412
35
  msgid "Oops, It's almost over!"
36
  msgstr "¡Ya casi está!"
37
 
38
- #: inc/admin/ajax.php:413
39
  #, php-format
40
  msgid ""
41
  "You have almost used all your credit.%sDon't forget to upgrade your "
@@ -44,16 +45,16 @@ msgstr ""
44
  "Ya has utilizado casi todo tu crédito.%sNo olvides ampliar tu suscripción "
45
  "para poder seguir optimizando tus imágenes."
46
 
47
- #: inc/admin/ajax.php:414 inc/admin/ui/bulk.php:22
48
  msgid "View My Subscription"
49
  msgstr "Ver mi suscripción"
50
 
51
- #: inc/admin/ajax.php:422 inc/admin/enqueue.php:188
52
  #: inc/admin/ui/notices.php:251
53
  msgid "Oops, It's Over!"
54
  msgstr "¡Ya está!"
55
 
56
- #: inc/admin/ajax.php:423 inc/admin/enqueue.php:204
57
  #: inc/admin/ui/notices.php:253
58
  #, php-format
59
  msgid ""
@@ -63,24 +64,24 @@ msgstr ""
63
  "Has consumido todo tu crédito para este mes. Volverás a tener <strong>%s el "
64
  "%s</strong>."
65
 
66
- #: inc/admin/ajax.php:424
67
  msgid "Upgrade My Subscription"
68
  msgstr "Actualizar mi suscripción"
69
 
70
- #: inc/admin/ajax.php:443 inc/admin/ui/bulk.php:16
71
  msgid "Account status"
72
  msgstr "Estado de mi cuenta"
73
 
74
- #: inc/admin/ajax.php:444 inc/admin/ui/bulk.php:17
75
  msgid "Your subscription:"
76
  msgstr "Tu suscripción:"
77
 
78
- #: inc/admin/ajax.php:452 inc/admin/ui/bulk.php:47
79
  #, php-format
80
  msgid "You have %s space credit left"
81
  msgstr "Te queda un saldo de %s"
82
 
83
- #: inc/admin/ajax.php:464
84
  msgid "View my subscription"
85
  msgstr "Ver mi suscripción"
86
 
@@ -159,10 +160,39 @@ msgid "Restore Original"
159
  msgstr "Recuperar tamaño original"
160
 
161
  #: inc/admin/enqueue.php:178
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  msgid "Please wait..."
163
  msgstr "Espera, por favor…"
164
 
165
- #: inc/admin/enqueue.php:179
166
  msgid ""
167
  "We are trying to get your unoptimized images, it may take time depending on "
168
  "the number of images."
@@ -170,11 +200,11 @@ msgstr ""
170
  "Estamos tratando de obtener tus imágenes no optimizadas: esto puede tomar "
171
  "tiempo, dependiendo del número de imágenes."
172
 
173
- #: inc/admin/enqueue.php:181
174
  msgid "Oops, There is something wrong!"
175
  msgstr "Ups, algo no ha ido bien!"
176
 
177
- #: inc/admin/enqueue.php:182
178
  msgid ""
179
  "An unknow error occurred when we tried to get all your unoptimized images. "
180
  "Try again and if the issue still persist, please contact us!"
@@ -183,27 +213,27 @@ msgstr ""
183
  "imágenes no optimizadas. Inténtalo otra vez y, si el problema persiste, "
184
  "contáctanos por favor!"
185
 
186
- #: inc/admin/enqueue.php:184 inc/admin/ui/bulk.php:257 inc/admin/upload.php:38
187
  msgid "Optimized"
188
  msgstr "Optimizado"
189
 
190
- #: inc/admin/enqueue.php:185 inc/admin/upload.php:39
191
  msgid "Unoptimized"
192
  msgstr "No optimizado"
193
 
194
- #: inc/admin/enqueue.php:186
195
  msgid "Error"
196
  msgstr "Error"
197
 
198
- #: inc/admin/enqueue.php:189
199
  msgid "Hold on!"
200
  msgstr "¡Espera!"
201
 
202
- #: inc/admin/enqueue.php:190
203
  msgid "All your images have been optimized by Imagify. Congratulations!"
204
  msgstr "Todas tus imágenes han sido optimizadas por Imagify. ¡Enhorabuena!"
205
 
206
- #: inc/admin/enqueue.php:192
207
  #, php-format
208
  msgid ""
209
  "Discover @imagify, the new compression tool to optimize your images for "
@@ -212,11 +242,11 @@ msgstr ""
212
  "Descubre @imagify, la nueva herramienta de compresión para optimizar tus "
213
  "imágenes gratuitamente. Me ha ahorrado %1$s de %2$s!"
214
 
215
- #: inc/admin/enqueue.php:196
216
  msgid "Imagify is still processing. Are you sure you want to leave this page?"
217
- msgstr ""
218
 
219
- #: inc/admin/enqueue.php:201 inc/admin/enqueue.php:204
220
  #: inc/admin/ui/notices.php:253
221
  #, php-format
222
  msgid ""
@@ -226,7 +256,7 @@ msgstr ""
226
  "Para seguir optimizando tus imágenes, inicia sesión en tu cuenta Imagify "
227
  "para %scomprar un paquete o subscribir un plan %s."
228
 
229
- #: inc/admin/enqueue.php:204
230
  msgid "F j, Y"
231
  msgstr "F j, Y"
232
 
@@ -236,16 +266,16 @@ msgid "Bulk Optimization"
236
  msgstr "Optimización masiva"
237
 
238
  #. Plugin Name of the plugin/theme
239
- #: inc/admin/meta-boxes.php:18 inc/admin/meta-boxes.php:25
240
  #: inc/admin/upload.php:11
241
  msgid "Imagify"
242
  msgstr "Imagify"
243
 
244
- #: inc/admin/meta-boxes.php:20 inc/functions/admin-ui.php:168
245
  msgid "Invalid API key"
246
  msgstr "Clave API no válida"
247
 
248
- #: inc/admin/meta-boxes.php:22 inc/functions/admin-ui.php:170
249
  msgid "Check your Settings"
250
  msgstr "Comprueba tu configuración"
251
 
@@ -297,7 +327,7 @@ msgstr "Selecciona tu nivel de compresión"
297
  #: inc/admin/ui/bulk.php:102 inc/admin/ui/bulk.php:130
298
  #: inc/admin/ui/options.php:129 inc/admin/ui/options.php:319
299
  #: inc/admin/ui/options.php:382 inc/admin/ui/options.php:399
300
- #: inc/admin/ui/options.php:459 inc/classes/class-attachment.php:120
301
  #: inc/functions/admin-ui.php:127
302
  msgid "Ultra"
303
  msgstr "Ultra"
@@ -305,7 +335,7 @@ msgstr "Ultra"
305
  #: inc/admin/ui/bulk.php:105 inc/admin/ui/bulk.php:125
306
  #: inc/admin/ui/options.php:124 inc/admin/ui/options.php:331
307
  #: inc/admin/ui/options.php:381 inc/admin/ui/options.php:394
308
- #: inc/admin/ui/options.php:438 inc/classes/class-attachment.php:123
309
  #: inc/functions/admin-ui.php:133
310
  msgid "Aggressive"
311
  msgstr "Agresivo"
@@ -313,7 +343,7 @@ msgstr "Agresivo"
313
  #: inc/admin/ui/bulk.php:108 inc/admin/ui/bulk.php:120
314
  #: inc/admin/ui/options.php:119 inc/admin/ui/options.php:343
315
  #: inc/admin/ui/options.php:380 inc/admin/ui/options.php:389
316
- #: inc/admin/ui/options.php:418 inc/classes/class-attachment.php:126
317
  #: inc/functions/admin-ui.php:139
318
  msgid "Normal"
319
  msgstr "Normal"
@@ -776,10 +806,6 @@ msgstr ""
776
  "Nota: la reducción de tamaño del archivo será inferior, si comparado con el "
777
  "modo agresivo."
778
 
779
- #: inc/admin/ui/options.php:358 inc/admin/ui/options.php:480
780
- msgid "Close"
781
- msgstr "Cierra"
782
-
783
  #: inc/admin/ui/options.php:370
784
  #, php-format
785
  msgid "I want to compare%s and%s"
@@ -802,16 +828,6 @@ msgstr "Fotografía optimizada de %s"
802
  msgid "Level:"
803
  msgstr "Nivel:"
804
 
805
- #: inc/admin/ui/options.php:411 inc/admin/ui/options.php:421
806
- #: inc/admin/ui/options.php:441 inc/admin/ui/options.php:462
807
- msgid "File Size:"
808
- msgstr "Tamaño del archivo:"
809
-
810
- #: inc/admin/ui/options.php:425 inc/admin/ui/options.php:445
811
- #: inc/admin/ui/options.php:466 inc/functions/admin-ui.php:44
812
- msgid "Original Saving:"
813
- msgstr "Ahorro inicial:"
814
-
815
  #: inc/admin/upload.php:40
816
  msgid "Errors"
817
  msgstr "Errores"
@@ -824,7 +840,7 @@ msgstr "Filtrar por estado"
824
  msgid "All images"
825
  msgstr "Todas las imágenes"
826
 
827
- #: inc/classes/class-attachment.php:501
828
  msgid ""
829
  "This size isn't authorized to be optimized. Update your Imagify settings if "
830
  "you want to optimize it."
@@ -915,11 +931,6 @@ msgstr "%s no tiene permisos de escritura"
915
  msgid "Skipped (%s), image not found."
916
  msgstr "Omitido (%s), imagen no encontrada."
917
 
918
- #: inc/vendors/wp-background-process.php:395
919
- #, php-format
920
- msgid "Every %d Minutes"
921
- msgstr ""
922
-
923
  #. Plugin URI of the plugin/theme
924
  msgid "https://wordpress.org/plugins/imagify/"
925
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Imagify\n"
4
+ "POT-Creation-Date: 2016-02-16 09:32+0100\n"
5
+ "PO-Revision-Date: 2016-02-16 09:36+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: es\n"
20
  "X-Poedit-SearchPath-0: .\n"
21
  "X-Poedit-SearchPathExcluded-0: *.js\n"
22
 
23
+ #: inc/admin/ajax.php:118 inc/admin/meta-boxes.php:29
24
+ #: inc/functions/admin-ui.php:99 inc/functions/admin-ui.php:127
25
+ #: inc/functions/admin-ui.php:133 inc/functions/admin-ui.php:139
26
+ #: inc/functions/admin-ui.php:175 inc/functions/admin-ui.php:181
27
  msgid "Optimizing..."
28
  msgstr "Optimizando…"
29
 
30
+ #: inc/admin/ajax.php:118 inc/admin/enqueue.php:163 inc/admin/meta-boxes.php:34
31
+ #: inc/functions/admin-ui.php:181
32
  msgid "Optimize"
33
  msgstr "Optimizar"
34
 
35
+ #: inc/admin/ajax.php:416
36
  msgid "Oops, It's almost over!"
37
  msgstr "¡Ya casi está!"
38
 
39
+ #: inc/admin/ajax.php:417
40
  #, php-format
41
  msgid ""
42
  "You have almost used all your credit.%sDon't forget to upgrade your "
45
  "Ya has utilizado casi todo tu crédito.%sNo olvides ampliar tu suscripción "
46
  "para poder seguir optimizando tus imágenes."
47
 
48
+ #: inc/admin/ajax.php:418 inc/admin/ui/bulk.php:22
49
  msgid "View My Subscription"
50
  msgstr "Ver mi suscripción"
51
 
52
+ #: inc/admin/ajax.php:426 inc/admin/enqueue.php:208
53
  #: inc/admin/ui/notices.php:251
54
  msgid "Oops, It's Over!"
55
  msgstr "¡Ya está!"
56
 
57
+ #: inc/admin/ajax.php:427 inc/admin/enqueue.php:224
58
  #: inc/admin/ui/notices.php:253
59
  #, php-format
60
  msgid ""
64
  "Has consumido todo tu crédito para este mes. Volverás a tener <strong>%s el "
65
  "%s</strong>."
66
 
67
+ #: inc/admin/ajax.php:428
68
  msgid "Upgrade My Subscription"
69
  msgstr "Actualizar mi suscripción"
70
 
71
+ #: inc/admin/ajax.php:447 inc/admin/ui/bulk.php:16
72
  msgid "Account status"
73
  msgstr "Estado de mi cuenta"
74
 
75
+ #: inc/admin/ajax.php:448 inc/admin/ui/bulk.php:17
76
  msgid "Your subscription:"
77
  msgstr "Tu suscripción:"
78
 
79
+ #: inc/admin/ajax.php:456 inc/admin/ui/bulk.php:47
80
  #, php-format
81
  msgid "You have %s space credit left"
82
  msgstr "Te queda un saldo de %s"
83
 
84
+ #: inc/admin/ajax.php:468
85
  msgid "View my subscription"
86
  msgstr "Ver mi suscripción"
87
 
160
  msgstr "Recuperar tamaño original"
161
 
162
  #: inc/admin/enqueue.php:178
163
+ msgid "Original Image"
164
+ msgstr "Imagen original"
165
+
166
+ #: inc/admin/enqueue.php:179
167
+ msgid "Optimized Image"
168
+ msgstr "Imagen optimizada"
169
+
170
+ #: inc/admin/enqueue.php:180
171
+ msgid "Compare Original VS Optimized"
172
+ msgstr "Compara original VS optimizada"
173
+
174
+ #: inc/admin/enqueue.php:181 inc/admin/ui/options.php:358
175
+ #: inc/admin/ui/options.php:480
176
+ msgid "Close"
177
+ msgstr "Cierra"
178
+
179
+ #: inc/admin/enqueue.php:182 inc/admin/ui/options.php:411
180
+ #: inc/admin/ui/options.php:421 inc/admin/ui/options.php:441
181
+ #: inc/admin/ui/options.php:462
182
+ msgid "File Size:"
183
+ msgstr "Tamaño del archivo:"
184
+
185
+ #: inc/admin/enqueue.php:183 inc/admin/ui/options.php:425
186
+ #: inc/admin/ui/options.php:445 inc/admin/ui/options.php:466
187
+ #: inc/functions/admin-ui.php:44
188
+ msgid "Original Saving:"
189
+ msgstr "Ahorro inicial:"
190
+
191
+ #: inc/admin/enqueue.php:198
192
  msgid "Please wait..."
193
  msgstr "Espera, por favor…"
194
 
195
+ #: inc/admin/enqueue.php:199
196
  msgid ""
197
  "We are trying to get your unoptimized images, it may take time depending on "
198
  "the number of images."
200
  "Estamos tratando de obtener tus imágenes no optimizadas: esto puede tomar "
201
  "tiempo, dependiendo del número de imágenes."
202
 
203
+ #: inc/admin/enqueue.php:201
204
  msgid "Oops, There is something wrong!"
205
  msgstr "Ups, algo no ha ido bien!"
206
 
207
+ #: inc/admin/enqueue.php:202
208
  msgid ""
209
  "An unknow error occurred when we tried to get all your unoptimized images. "
210
  "Try again and if the issue still persist, please contact us!"
213
  "imágenes no optimizadas. Inténtalo otra vez y, si el problema persiste, "
214
  "contáctanos por favor!"
215
 
216
+ #: inc/admin/enqueue.php:204 inc/admin/ui/bulk.php:257 inc/admin/upload.php:38
217
  msgid "Optimized"
218
  msgstr "Optimizado"
219
 
220
+ #: inc/admin/enqueue.php:205 inc/admin/upload.php:39
221
  msgid "Unoptimized"
222
  msgstr "No optimizado"
223
 
224
+ #: inc/admin/enqueue.php:206
225
  msgid "Error"
226
  msgstr "Error"
227
 
228
+ #: inc/admin/enqueue.php:209
229
  msgid "Hold on!"
230
  msgstr "¡Espera!"
231
 
232
+ #: inc/admin/enqueue.php:210
233
  msgid "All your images have been optimized by Imagify. Congratulations!"
234
  msgstr "Todas tus imágenes han sido optimizadas por Imagify. ¡Enhorabuena!"
235
 
236
+ #: inc/admin/enqueue.php:212
237
  #, php-format
238
  msgid ""
239
  "Discover @imagify, the new compression tool to optimize your images for "
242
  "Descubre @imagify, la nueva herramienta de compresión para optimizar tus "
243
  "imágenes gratuitamente. Me ha ahorrado %1$s de %2$s!"
244
 
245
+ #: inc/admin/enqueue.php:216
246
  msgid "Imagify is still processing. Are you sure you want to leave this page?"
247
+ msgstr "Imagify sigue procesando. Estás seguro que quieres dejar la página?"
248
 
249
+ #: inc/admin/enqueue.php:221 inc/admin/enqueue.php:224
250
  #: inc/admin/ui/notices.php:253
251
  #, php-format
252
  msgid ""
256
  "Para seguir optimizando tus imágenes, inicia sesión en tu cuenta Imagify "
257
  "para %scomprar un paquete o subscribir un plan %s."
258
 
259
+ #: inc/admin/enqueue.php:224
260
  msgid "F j, Y"
261
  msgstr "F j, Y"
262
 
266
  msgstr "Optimización masiva"
267
 
268
  #. Plugin Name of the plugin/theme
269
+ #: inc/admin/meta-boxes.php:17 inc/admin/meta-boxes.php:24
270
  #: inc/admin/upload.php:11
271
  msgid "Imagify"
272
  msgstr "Imagify"
273
 
274
+ #: inc/admin/meta-boxes.php:19 inc/functions/admin-ui.php:168
275
  msgid "Invalid API key"
276
  msgstr "Clave API no válida"
277
 
278
+ #: inc/admin/meta-boxes.php:21 inc/functions/admin-ui.php:170
279
  msgid "Check your Settings"
280
  msgstr "Comprueba tu configuración"
281
 
327
  #: inc/admin/ui/bulk.php:102 inc/admin/ui/bulk.php:130
328
  #: inc/admin/ui/options.php:129 inc/admin/ui/options.php:319
329
  #: inc/admin/ui/options.php:382 inc/admin/ui/options.php:399
330
+ #: inc/admin/ui/options.php:459 inc/classes/class-attachment.php:135
331
  #: inc/functions/admin-ui.php:127
332
  msgid "Ultra"
333
  msgstr "Ultra"
335
  #: inc/admin/ui/bulk.php:105 inc/admin/ui/bulk.php:125
336
  #: inc/admin/ui/options.php:124 inc/admin/ui/options.php:331
337
  #: inc/admin/ui/options.php:381 inc/admin/ui/options.php:394
338
+ #: inc/admin/ui/options.php:438 inc/classes/class-attachment.php:138
339
  #: inc/functions/admin-ui.php:133
340
  msgid "Aggressive"
341
  msgstr "Agresivo"
343
  #: inc/admin/ui/bulk.php:108 inc/admin/ui/bulk.php:120
344
  #: inc/admin/ui/options.php:119 inc/admin/ui/options.php:343
345
  #: inc/admin/ui/options.php:380 inc/admin/ui/options.php:389
346
+ #: inc/admin/ui/options.php:418 inc/classes/class-attachment.php:141
347
  #: inc/functions/admin-ui.php:139
348
  msgid "Normal"
349
  msgstr "Normal"
806
  "Nota: la reducción de tamaño del archivo será inferior, si comparado con el "
807
  "modo agresivo."
808
 
 
 
 
 
809
  #: inc/admin/ui/options.php:370
810
  #, php-format
811
  msgid "I want to compare%s and%s"
828
  msgid "Level:"
829
  msgstr "Nivel:"
830
 
 
 
 
 
 
 
 
 
 
 
831
  #: inc/admin/upload.php:40
832
  msgid "Errors"
833
  msgstr "Errores"
840
  msgid "All images"
841
  msgstr "Todas las imágenes"
842
 
843
+ #: inc/classes/class-attachment.php:518
844
  msgid ""
845
  "This size isn't authorized to be optimized. Update your Imagify settings if "
846
  "you want to optimize it."
931
  msgid "Skipped (%s), image not found."
932
  msgstr "Omitido (%s), imagen no encontrada."
933
 
 
 
 
 
 
934
  #. Plugin URI of the plugin/theme
935
  msgid "https://wordpress.org/plugins/imagify/"
936
  msgstr ""
languages/imagify-fr_FR.mo CHANGED
Binary file
languages/imagify-fr_FR.po CHANGED
@@ -2,7 +2,7 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Imagify\n"
4
  "POT-Creation-Date: 2016-02-11 09:35+0100\n"
5
- "PO-Revision-Date: 2016-02-11 09:38+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
@@ -932,7 +932,7 @@ msgid ""
932
  "new most advanced image optimization tool."
933
  msgstr ""
934
  "Réduisez drastiquement le poids de vos images sans perte de qualité, accélérez "
935
- "la rapidité de votre site, boostez votre SEO and économisez de l’argent sur "
936
  "votre bande passante en utilisant Imagify, le nouvel outil le plus avancé "
937
  "d’optimisation des images."
938
 
2
  msgstr ""
3
  "Project-Id-Version: Imagify\n"
4
  "POT-Creation-Date: 2016-02-11 09:35+0100\n"
5
+ "PO-Revision-Date: 2016-02-16 09:34+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: \n"
8
  "Language: fr_FR\n"
932
  "new most advanced image optimization tool."
933
  msgstr ""
934
  "Réduisez drastiquement le poids de vos images sans perte de qualité, accélérez "
935
+ "la rapidité de votre site, boostez votre SEO et économisez de l’argent sur "
936
  "votre bande passante en utilisant Imagify, le nouvel outil le plus avancé "
937
  "d’optimisation des images."
938
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: wp_media
3
  Tags: compress image, images, performance, optimization, photos, upload, resize, gif, png, jpg, reduce image size, retina
4
  Requires at least: 3.7.0
5
  Tested up to: 4.4.2
6
- Stable tag: 1.3.6.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -134,9 +134,11 @@ When the plugin is disabled, your existing images remain optimized. Backups of t
134
 
135
  == Changelog ==
136
 
137
- = 1.3.6.1 =
138
- * Regression Fix
139
- * Fix PHP Fatal error on the metabox of the attachment edit page
 
 
140
 
141
  = 1.3.6 =
142
  * Improvement
3
  Tags: compress image, images, performance, optimization, photos, upload, resize, gif, png, jpg, reduce image size, retina
4
  Requires at least: 3.7.0
5
  Tested up to: 4.4.2
6
+ Stable tag: 1.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
134
 
135
  == Changelog ==
136
 
137
+ = 1.4 =
138
+ * Interface
139
+ * Medias: Click a button to open images comparison between Original and Optimized (available for big enought images)
140
+ * Improvement
141
+ * Add async method to optimize resized images
142
 
143
  = 1.3.6 =
144
  * Improvement