laravel-medialibrary icon indicating copy to clipboard operation
laravel-medialibrary copied to clipboard

Associate files with Eloquent models

Results 52 laravel-medialibrary issues
Sort by recently updated
recently updated
newest added

Hi! When uploading a certain base64 docx file, we get the following error: `The file with properties name: application-(2).docx, size: 27026, mime: application/vnd.openxmlformats-officedocument.wordprocessingml.documentapplication/vnd.openxmlformats-officedocument.wordprocessingml.document was not accepted into the collection named...

I'm working on Livewire with Summernote editor. I'm using this code for get images thoose added to editor. ``` $dom = new \DomDocument(); $dom->loadHtml($this->pageBody, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD); $pageImages = $dom->getElementsByTagName('img');...

Hello, after Laravel is migrated to Vite as a standard bundler the docs needs a little bit of love. I tried different things but couldn't get the following code to...

I recently upgraded from PHP 7.4 to PHP 8.1, upgraded Laravel from v8 to v9 (via Laravel Shift), and upgraded media library from v9 to v10. Everything else is working...

Kept wondering why the `$model->getMedia()` method wasnt working, when it clearly had media in the db. Realized i had to specify the collection name

I'm getting this error: Implicit conversion from float 40492.52199999999 to int loses precision in /media/psf/www/filament-commerce/vendor/spatie/laravel-medialibrary/src/ResponsiveImages/WidthCalculator/FileSizeOptimizedWidthCalculator.php on line 46 It's related to https://github.com/spatie/laravel-medialibrary/issues/2678 And seems to be a problem related to...

the following error occurred: ` ErrorException file_put_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading at vendor/spatie/laravel-medialibrary/src/Downloaders/DefaultDownloader.php:17 13▕ } 14▕ 15▕ $temporaryFile = tempnam(sys_get_temp_dir(),...

**Laravel version:** v9.9.0 **Media library version:** 10.3.2 I'm currently upgrading a Laravel 8 application running on php 7.4 to Laravel 9 on php 8.1. And I'm encountering failing tests and...

`media-library:regenerate` doesn't seem to respect `--starting-from-id` If I run `artisan media-library:regenerate "App\Models\ApplicantDocument" --starting-from-id=1070` for example It starts at ID 1 (showing 6 because I wasn't fast enough to take a...

bug
help wanted
good first issue