Replies: 1 comment
-
Try to remove that To see some example on how to use media library pro, take a look at our demo app: https://github.com/spatie/laravel-medialibrary-pro-app |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Im struggling to get the Media Library Pro working properly. On the page the Media Library Pro UI seems to be having an issue. Firstly the "Browse.." icon that appears from normal uploads is still there after the installation process. The next issue is when I add an image the thumbnail doesnt appear. After trying to submit what is there i get an error "The images must be an image". I should mention Im also new to laravel so a may be asking a dumb question here.
Link to the image of the UI here:
https://paste.pics/dff85b7b793b9dcccb46a9e701b7b773
This is my blade script:
<x-media-library-collection name="images" rules="mimes:jpg,jpeg,png" :model="$album" collection="gallery"/>
This is my model script:
And my controller:
Any help would be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions