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