hi, I tried the new version and it seems to be working now!
Here is some of the output of the debug file.
regards, rolf
Processing iceland-3-2…
DEBUG: attachment_file_path=[E:\HostingSpaces\Smeets1\ecopic.nl\wwwroot/wp-content/uploads/2013/07/iceland-3.jpg]
DEBUG: attachment_file_url=[https://ecopic.nl/wp-content/uploads/2013/07/iceland-3.jpg]
— [original] 935 x 454: Reduced by 11.1% (35 KB) already smushed
— [thumbnail] 150 x 72: Reduced by 5.8% (306 B) already smushed
— [medium] 300 x 145: Reduced by 5.7% (900 B) already smushed
— [post_box_img] 600 x 370: Reduced by 6.1% (3.9 KB) already smushed
— [post_box_img_full] 900 x 390: Reduced by 6.1% (6 KB) already smushed
— [static-header-img] 935 x 400: Reduced by 6.3% (7.8 KB) already smushed
Processing iceland-2-2…
DEBUG: attachment_file_path=[E:\HostingSpaces\Smeets1\ecopic.nl\wwwroot/wp-content/uploads/2013/07/iceland-2.jpg]
DEBUG: attachment_file_url=[https://ecopic.nl/wp-content/uploads/2013/07/iceland-2.jpg]
DEBUG: file_path [E:/HostingSpaces/Smeets1/ecopic.nl/wwwroot/wp-content/uploads/2013/07/iceland-2.jpg] ABSPATH [E:/HostingSpaces/Smeets1/ecopic.nl/wwwroot/]
DEBUG: file_url [https://ecopic.nl/wp-content/uploads/2013/07/iceland-2.jpg] home_url [https://ecopic.nl]
DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fecopic.nl%2Fwp-content%2Fuploads%2F2013%2F07%2Ficeland-2.jpg]
DEBUG: return from API: data
stdClass Object
(
[src] => https://ecopic.nl/wp-content/uploads/2013/07/iceland-2.jpg
[src_size] => 288548
[error] => No savings
[dest_size] => -1
[id] =>
)
DEBUG: attachment_file_path_size=[E:\HostingSpaces\Smeets1\ecopic.nl\wwwroot/wp-content/uploads/2013/07/iceland-2-150×106.jpg]
DEBUG: attachment_file_url_size=[https://ecopic.nl/wp-content/uploads/2013/07/iceland-2-150×106.jpg]
DEBUG: file_path [E:/HostingSpaces/Smeets1/ecopic.nl/wwwroot/wp-content/uploads/2013/07/iceland-2-150×106.jpg] ABSPATH [E:/HostingSpaces/Smeets1/ecopic.nl/wwwroot/]
DEBUG: file_url [https://ecopic.nl/wp-content/uploads/2013/07/iceland-2-150×106.jpg] home_url [https://ecopic.nl]
DEBUG: Calling API: [https://www.smushit.com/ysmush.it/ws.php?img=http%3A%2F%2Fecopic.nl%2Fwp-content%2Fuploads%2F2013%2F07%2Ficeland-2-150×106.jpg]
DEBUG: return from API: data
stdClass Object
(
[src] => https://ecopic.nl/wp-content/uploads/2013/07/iceland-2-150×106.jpg
[src_size] => 9245
[dest] => https://ysmushit.zenfs.com/results/fb865d7e%2Fsmush%2Fwp-content%2Fuploads%2F2013%2F07%2Ficeland-2-150×106.jpg
[dest_size] => 8545
[percent] => 7.57
[id] =>
)