Wiebe
Wiebe
FFilament
Created by Akimbo on 4/10/2025 in #❓┊help
Filament V3 not working with s3 and image column
found my issue. i had overwritten the file-upload.blade.php but seems this file has changed in a new version of filament
11 replies
FFilament
Created by Akimbo on 4/10/2025 in #❓┊help
Filament V3 not working with s3 and image column
backend validation works then
11 replies
FFilament
Created by Akimbo on 4/10/2025 in #❓┊help
Filament V3 not working with s3 and image column
looks like a frontend issue, when modifiing the acceptedfiletypes function it works:
public function acceptedFileTypes(array | Arrayable | Closure $types): static
{
// $this->acceptedFileTypes = $types;

$this->rule(static function (BaseFileUpload $component) {
$types = implode(',', ($component->getAcceptedFileTypes() ?? []));

return "mimetypes:image/*";
});

return $this;
}
public function acceptedFileTypes(array | Arrayable | Closure $types): static
{
// $this->acceptedFileTypes = $types;

$this->rule(static function (BaseFileUpload $component) {
$types = implode(',', ($component->getAcceptedFileTypes() ?? []));

return "mimetypes:image/*";
});

return $this;
}
11 replies
FFilament
Created by Akimbo on 4/10/2025 in #❓┊help
Filament V3 not working with s3 and image column
without ->image() it works fine
11 replies
FFilament
Created by Akimbo on 4/10/2025 in #❓┊help
Filament V3 not working with s3 and image column
FileUpload::make('image')
->label(__('manage.image'))
->inlineLabel()
->hiddenLabel()
->image()
->maxSize('6000')
->disk('s3')
->visibility('public')
->hint($hint)
->rules(['mimes:png,jpg,jpeg,gif'])
->directory($organisation->id.'-'.$organisation->original_slug.'/media/'.$directory)
->imageEditorViewportWidth('1600')
->imageEditorViewportHeight('900')
->imageResizeTargetWidth('1600')
->imageResizeTargetHeight('900')
->imageResizeMode('cover')
->imageEditor()
->imageEditorAspectRatios([
'16:9', '21:9'
]),
FileUpload::make('image')
->label(__('manage.image'))
->inlineLabel()
->hiddenLabel()
->image()
->maxSize('6000')
->disk('s3')
->visibility('public')
->hint($hint)
->rules(['mimes:png,jpg,jpeg,gif'])
->directory($organisation->id.'-'.$organisation->original_slug.'/media/'.$directory)
->imageEditorViewportWidth('1600')
->imageEditorViewportHeight('900')
->imageResizeTargetWidth('1600')
->imageResizeTargetHeight('900')
->imageResizeMode('cover')
->imageEditor()
->imageEditorAspectRatios([
'16:9', '21:9'
]),
it worked fine before updating to laravel 12
11 replies
FFilament
Created by Akimbo on 4/10/2025 in #❓┊help
Filament V3 not working with s3 and image column
@Akimbo i've got the same issue. did you find a solution yet?
11 replies
FFilament
Created by Wiebe on 10/4/2024 in #❓┊help
FileUpload randomly fails to upload on Laravel Vapor
It also only seems to happen when there is more traffic than normally on the server.
3 replies
FFilament
Created by Wiebe on 5/27/2024 in #❓┊help
money format wrong on prod server
thanks found it. had to install the dutch lang on the server.
5 replies
FFilament
Created by KeyMe on 3/18/2024 in #❓┊help
Error on opening action modal in actionGroup after Livewire update
same for me
7 replies
FFilament
Created by Wiebe on 2/15/2024 in #❓┊help
Bug in widget chart?
No description
4 replies
FFilament
Created by Wiebe on 2/15/2024 in #❓┊help
Bug in widget chart?
No description
4 replies
FFilament
Created by Wiebe on 11/28/2023 in #❓┊help
S3 cors errors (sometimes)
cloudfront cached the cors headers
7 replies
FFilament
Created by Wiebe on 11/28/2023 in #❓┊help
S3 cors errors (sometimes)
I've fixed it. had something todo with the cloudfront settings, can't remember exactly anymore
7 replies