Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BJBT99's avatar

Display images on laravel site deployed to digital ocean

I have a small site deployed on digital oceans apps platform and images I have placed in the public/images folder are not displaying.

below is my image tag any help would be appreciated

<img alt=""
          src="{{ asset('images/port_site.png') }}"
          class="h-48 w-full shadow-2xl rounded-lg mx-auto"/>
0 likes
3 replies
jlrdw's avatar

If folder structure is the same, what worked in development should still work.

Did you do the symlink.

BJBT99's avatar

I did symlink storage to public but that would only matter if I was storing and accesing my photos from storage in local environment correct?

automica's avatar

What does the url of the img SRC look like? Can you post an example?

Please or to participate in this conversation.