dpadular
10/13/2021, 9:27 PMSami
10/14/2021, 6:38 AMdelta107
10/14/2021, 8:29 AMdelta107
10/14/2021, 8:31 AMdelta107
10/14/2021, 8:31 AMifox
10/14/2021, 8:31 AMskipCreateModal in indexOptions)ifox
10/14/2021, 8:32 AMdelta107
10/14/2021, 8:32 AMifox
10/14/2021, 8:32 AMdelta107
10/14/2021, 8:32 AMdelta107
10/14/2021, 8:32 AMifox
10/14/2021, 8:32 AMifox
10/14/2021, 8:33 AMdelta107
10/14/2021, 8:33 AMifox
10/14/2021, 8:35 AMdelta107
10/14/2021, 8:36 AM{
"data": [
{
"id": 4,
"name": null,
"edit": "http://192.168.100.10/admin/products/4/edit",
"endpointType": "App\\Models\\Product",
"thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
}
]
}delta107
10/14/2021, 8:37 AMuser
10/14/2021, 8:37 AMuser
10/14/2021, 8:37 AMifox
10/14/2021, 8:40 AMdelta107
10/14/2021, 8:42 AMifox
10/14/2021, 8:43 AMifox
10/14/2021, 8:43 AMifox
10/14/2021, 8:44 AMifox
10/14/2021, 8:44 AMdelta107
10/14/2021, 8:47 AMifox
10/14/2021, 8:47 AMdelta107
10/14/2021, 8:56 AMdelta107
10/14/2021, 8:58 AMKlief
10/14/2021, 9:16 AMapp(A17\Twill\Repositories\SettingRepository::class)->byKey()
seems to return null with an image. Instead I'm using the following but it feels like a hack.
A17\Twill\Models\Setting::where('key', 'cover')->first()->image('cover', 'desktop')
2. Are there built-in methods for more advanced imagine manipulation features (eg. the mask feature on Imgix)? Or would be manipulating the URL that is returned by the image fuction the best way?