Support the ongoing development of Laravel.io →
Packages
Last updated 2 months ago.
0

Have you tried using an absolute path on line 34 where you try to save the image?

If the uploads fail due to the hosts file system, you can try using Laravels public_path i.e. public_path().'/uploads'

0

You may try to use public_path() method to get the path to image.

0

Thanks,

Could one of you give me a example what you mean with using the public_path() ?

Roelof

Edit 1: Or do you mean the solution in this topic : http://laravel.io/forum/04-05-2014-cant-write-image-data-to-path

Last updated 7 years ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.