I want change the path upload from laravel 5.4 intervention image, now the images upload to (public) folder, I want change it.
Related
Laravel Spatie Medialibrary in
storing image in every time create new folder.
i want storage/image folder in all image.
mycode
now
i want this type
when i uploaded new image in storage directory then every time this image not showing in website even path are same and other images are showing properly. And when i fully project upload again in live then working.
enter image description here
enter image description here
i have uploaded my laravel project into the cpanel. but image upload function does not work correct that means, image path should be created on public_html/properties but those are created on project directory /public/properties.
I am trying to store images in project/public/imgs folder but laravel always store images in project/storage/app/public/imgs.
I am using Vuejs with laravel so, i have to store images in the above mentioned folder. i have make changes in config/filesysytem.php but it does not work.
please tell me where i am wrong. here are two screenshots of my changes.
Project structure:
https://gyazo.com/f5126911583b7ac6c27cff4f58802975
Config/Filesystem.php:
https://gyazo.com/290ae9b3ccce640c8b9c06aac5346706
I have some images in storage/app/uploads which i want to show on front end. Let Say blade file. But we have acces to public folder only in laravel and images ar in storage folder as i mentioned above so how i couls acces it so i colud set the src='?' in image tag to see image.