dakaalim
04/14/2023, 12:16 AM$block->image('cover', 'flexible')
, assuming I have the configurations below, how do I render a different crop variant of the same role cover.flexible.free
cover.flexible.landscape
cover.flexible.portrait
?
'cover' => [
'default' => [
[
'name' => 'default',
'ratio' => 16 / 9,
],
],
'mobile' => [
[
'name' => 'mobile',
'ratio' => 1,
],
],
'flexible' => [
[
'name' => 'free',
'ratio' => 0,
],
[
'name' => 'landscape',
'ratio' => 16 / 9,
],
[
'name' => 'portrait',
'ratio' => 3 / 5,
],
],
],
ifox
04/14/2023, 1:12 AMifox
04/14/2023, 1:14 AMdakaalim
04/14/2023, 2:44 AM