ifox
01/05/2022, 4:53 PMFourStacks
01/05/2022, 4:55 PMifox
01/05/2022, 4:57 PMifox
01/05/2022, 4:57 PMifox
01/05/2022, 4:58 PMFourStacks
01/05/2022, 4:59 PMifox
01/05/2022, 5:00 PMifox
01/05/2022, 5:01 PMifox
01/05/2022, 5:02 PMifox
01/05/2022, 5:03 PMifox
01/05/2022, 5:03 PMifox
01/05/2022, 5:04 PMFourStacks
01/05/2022, 5:25 PMFourStacks
01/05/2022, 5:26 PMifox
01/05/2022, 6:30 PMFourStacks
01/05/2022, 7:12 PMifox
01/05/2022, 7:28 PMif (!function_exists('twillAsset')) {
function twillAsset($file): string
{
$asset = app(TwillAssets::class)->asset($file);
$customAssets = filled(env('ASSET_URL')); // for Vapor
return $customAssets ? asset($asset) : $asset;
}
}FourStacks
01/05/2022, 7:34 PMifox
01/05/2022, 7:40 PMFourStacks
01/05/2022, 8:17 PMFourStacks
01/05/2022, 8:19 PMFourStacks
01/05/2022, 8:20 PMhttps://dmy-cdn-name.cloudfront.net/38cds4346f7a-4497-baa1-73f839b432ece/my-image.jpgFourStacks
01/05/2022, 8:23 PM$article->image('featured_image', 'default') spits out and prefixes it with the CDN address per the above. However what has me stumped is how I can get a reference to the crops in the glide_cache instead?ifox
01/05/2022, 8:25 PMifox
01/05/2022, 8:28 PMFourStacks
01/05/2022, 8:30 PM$article->image('featured_image', 'default') is prefixed with the CDN url that glide will still continue to do it's thing and that the CDN will reference the crop going forward?ifox
01/05/2022, 8:31 PMifox
01/05/2022, 8:32 PMifox
01/05/2022, 8:33 PMFourStacks
01/05/2022, 8:33 PM