Insert Image in Laravel Slide Template

Asked

Viewed 645 times

-2

How do I insert images into my Laravel Blade template? I want images on my homepage but can not link, I created a folder images inside public to store my images.

  • 1

    How are you putting these images? put this in your question!

1 answer

1

got this way, I opened a php tag I used Asset with the following arguments listed below.

<?php asset('nome da pasta que criei'/'nome da imagem com tipo da imagem') ?>
  • 1

    No need to open tag <?php, just do: {{ asset('nome da pasta que criei'/'nome da imagem com tipo da imagem') }}

  • Perfect the code looks much better, thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.