added subscription demo generators

This commit is contained in:
Čarodej
2022-01-10 16:29:44 +01:00
parent 08139c8f96
commit ca48d430bb
9 changed files with 569 additions and 34 deletions

View File

@@ -1047,12 +1047,12 @@ if (! function_exists('replace_occurrence')) {
{
collect(config('vuefilemanager.avatar_sizes'))
->each(function ($size) use ($intervention, $avatar_name) {
// fit thumbnail
$intervention->fit($size['size'], $size['size'])->stream();
// fit thumbnail
$intervention->fit($size['size'], $size['size'])->stream();
// Store thumbnail to disk
Storage::put("avatars/{$size['name']}-{$avatar_name}", $intervention);
});
// Store thumbnail to disk
Storage::put("avatars/{$size['name']}-{$avatar_name}", $intervention);
});
}
}
}