I've had good luck with the asset helper:
<img src="{{ asset('upload/imgdogs') . '/' . $row->dogpic }}" alt="" class="image">
Just example:
But I don't know if your symbolic link is correct.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi there!
So I'm using Spatie, and I uploaded the image, I did simlink and now I'm trying to display the image on the front-end.
Images can be found in the public folder, I'm not sure why they won't display.
This is what I got: $image->getFirstMediaUrl('image')
And it does retrieve the URL "http://localhost/storage/6/VX554HPPPeZeNrC56n0MaO5sxYKQQL-metaMTY1NDA5Njc0MTQyMi5qcGVn-.jpg" not sure why that won't display as an actual image though, but shows broken.
You need to host your site properly I think.
where is your storage folder in relation to http://curated-ui.test/inspiration/sites/qui-1563/website/pages ?
How does that relate to your localhost url mentioned before?
Please or to participate in this conversation.