src/Model/Behavior/Traits/NormalContentsFileBehaviorTrait.php 1 location
|
@@ 72-78 (lines=7) @@
|
| 69 |
|
} |
| 70 |
|
|
| 71 |
|
//リサイズ画像作成 |
| 72 |
|
if (!empty($fieldSettings['resize'])) { |
| 73 |
|
foreach ($fieldSettings['resize'] as $resizeSettings) { |
| 74 |
|
if (!$this->normalImageResize($newFilepath, $resizeSettings)) { |
| 75 |
|
return false; |
| 76 |
|
} |
| 77 |
|
} |
| 78 |
|
} |
| 79 |
|
return true; |
| 80 |
|
} |
| 81 |
|
|
src/Model/Behavior/Traits/S3ContentsFileBehaviorTrait.php 1 location
|
@@ 85-91 (lines=7) @@
|
| 82 |
|
|
| 83 |
|
|
| 84 |
|
//リサイズ画像作成 |
| 85 |
|
if (!empty($fieldSettings['resize'])) { |
| 86 |
|
foreach ($fieldSettings['resize'] as $resizeSettings) { |
| 87 |
|
if (!$this->s3ImageResize($newFilepath, $resizeSettings)) { |
| 88 |
|
return false; |
| 89 |
|
} |
| 90 |
|
} |
| 91 |
|
} |
| 92 |
|
return true; |
| 93 |
|
} |
| 94 |
|
|