I am having a problem with accessing images. 1. I can upload and receive an image to the database no problem however I have my images manually saved under the public/avatar folder and i can receive the images from there by using . but i cannot figure out how to save to that location ive tried Storage::disk('local')->put('/uploads/avatars/',$image); but it does not work. 2. when i try to save from using the controller it saves everything in storage/app/public and i do not know how to access those files from the model, or how to save them somewhere else.
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2dAJsv4
via IFTTT
Aucun commentaire:
Enregistrer un commentaire