|
...
|
...
|
@@ -336,6 +336,7 @@ class CosService |
|
|
|
'Key' => $pathUrl,
|
|
|
|
'CIProcess' => 'image/info',
|
|
|
|
]);
|
|
|
|
@file_put_contents(storage_path('logs/crop_image_error.log'), var_export($result, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$info = simplexml_load_string($result['Body']);
|
|
|
|
@file_put_contents(storage_path('logs/crop_image_error.log'), var_export($info, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$height = (int) $info->ImageHeight;
|
...
|
...
|
|