You of course do realize a "helper" as you call it takes 3 seconds to create a constant, like
<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
I have never ever had to use that to display an image.