Laravel image display with image path -


i'm using laravel 5.4. when upload image directly stored in public/category/abc.jpeg $file->storeas('public/category', abc.jpeg) method. , stored image path in database.

i link storage folder public directory php artisan storage:link. these steps work storing image , path of image in database. facing problem displaying image. want display image saved url in database(public/category/abc.jpeg).

i search don't find solution find load image image name using storage::url($image_name).


Comments

Popular posts from this blog

networking - Vagrant-provisioned VirtualBox VM is not reachable from Ubuntu host -

c# - ASP.NET Core - There is already an object named 'AspNetRoles' in the database -

ruby on rails - ArgumentError: Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true -