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.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community