You of course do realize a "helper" as you call it takes 3 seconds to create a constant, like

define('DIR', '/my-site-folder-for-example/');


<img src="<?php echo DIR . 'upload/imgdogs/' . $row->dogpic; ?>" alt="" class="image">

Taylor doesn't know all the places people want to store images and files.

Sorry, just have to say, geeze.


its kinda bothersome that you need to include

use Illuminate\Support\Facades\Storage

I have never ever had to use that to display an image.

Return to Thread...