laravel-medialibrary
laravel-medialibrary copied to clipboard
Associate files with Eloquent models
As it currently stands, it is not possible to use this library (out of the box) when working with models with multiple key types (i.e. numeric ids on some models,...
found this error, not sure how and why it's happened
Doesn't matter what's inputted, no results found Search for v10 Search for v11
Based on several studies and personal tests, we can prove the effectiveness of `ulid` columns instead of `uuid` when talking about a large volume of data. A package like this...
**Description of Changes** I encountered a scenario where I expected `$model->hasMedia('my-collection', $filters)` to accept a closure for `$filters`, but it's typehinted to only support an array.  This PR updates...
### Current behavior: I have this error everytime I render components in `@spatie/media-library-pro`   ### Example: ```js import { MediaLibraryAttachment } from "@spatie/media-library-pro-vue3-attachment"; export default { name: "MyComponent", components:...
Conversions not working as expected with source type image/png. On my model: Below completes but the resulting jpg is not compressed...it is not honoring the quality(10) setting ```php $this->addMediaConversion('remote') ->fit(Fit::Contain,...
This PR attempts to fix file renaming when using a custom model with a primary key name other than 'id'. We use a custom model that changes the primary key...
``` ``` Photo is uploaded to S3, when displaying collection, preview is not loading. I couldn't find relating this on PRO documents.
When using the addToMediaFromURL method, I'm receiving a Could Not Load Image error on the server, but not locally (I'm using Laravel Vapor) and not with other image formats. The...