Why spatie/laravel-medialibrary raise error on uploding image uploaded with faker-images? #3042
Unanswered
PetroGromovo
asked this question in
Q&A
Replies: 2 comments
-
I tried to debug source of the package and I found that error israised in
and I see in log
When I copypaste code from https://picsum.photos/800/600?random=86375 into browser I got valid image. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you still see this, you should enable allow_url_fopen in your server. and that's it. |
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
-
I added https://github.com/morawskim/faker-images to laravel 9 site and when I try get image from this lib
and to upload it with Medialibrary
where $pageUploadedImageFile has value like :
which is readable in my browser
But I got error :
What is wrong and how that can be fixed ?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions