msalehi
Handle uploaded images columns and rows
The image uploader, by default, displays the uploaded images in a single column.
Is there a way to display the uploaded images in a row with multiple columns?
For example, I have a container with 4 columns that I want to fill with the uploaded images.
Currently, only one of the columns gets filled, and I can't display them in a row.
4 replies
MediaLibrary not working with minIO with docker
Hi there,
i've installed minIO in a docker container
and i'm using Spatie Media Library plugin for uploading my images to minIO
when the filesystem disk set to public or local it has not any problem and everything works fine!
but when i choose minio for disk, only the temp-livewire files are uploading successfully to minIO but the original files not uploading and does not save any database record for media table.
here is my code :
and here is my .env settings:
is there any bug or have I made a mistake somewhere?
16 replies
mutate relation data before saving
Hey there,
How can i mutate relation data before editing or creating parent record?
for example i have this code for form:
i have access to user data using mutateFormDataBeforeSave() in EditUser.php but it does not contain relation data.
1 replies