Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to show image in navigation?

    General Discussion
    2
    2
    262
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RK REZA last edited by

      I want to show image in navigation

       <a :href="url+'/categories/'+this.item['translations'][0].slug">
              @{{ name }}&emsp;
              <i class="icon dropdown-right-icon" v-if="haveChildren && item.parent_id != null"></i>
       </a>
      

      [ Here in navmenu.blade.php under layouts>header>nav-menu ]

      I tried by adding

       <img :src="url+'/public/storage/'+this.item.image_url" alt="">
      

      but it says image not found.

      1 Reply Last reply Reply Quote 0
      • N
        Naresh-webkul last edited by

        Hello @RK-REZA ,

        just replace the following code with your code :

        <img :src="url+'/public/storage/'+this.item.image" alt="">

        thank you

        1 Reply Last reply Reply Quote 0
        • First post
          Last post