Support the ongoing development of Laravel.io →
posted 4 years ago
Last updated 2 years ago.
0

The thing is I don't know how to access images from storage folder.

If you upload images to storage/app/public folder, you can make images accessible to all by linking storage/app/public to Laravel’s public folder. Use php artisan storage:link to link folders and asset('storage/image-name.jpg') to get image URL.

Is this okay to to store the image in public folder

Yes if you're ok with the fact that images will be accessible to all.

Last updated 4 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.