Bagisto Forum

    Bagisto

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

    How to add multiple images in categories from admin interface?

    Knowledge Base
    4
    8
    882
    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.
    • K
      Keerthi last edited by

      Hi,

      Can anyone please suggest me how to add multiple images in categories from admin interface. Thank you

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @Keerthi

        Right Now, this is not available in system.
        We have used a image column in category table which takes single value.

        But, you can customise it according to your need, first of all create a category_images table,
        override categories create and edit blade file and use your controller for both functionality .

        You will get below one in edit/create file.

         <image-wrapper :button-label="'{{ __('admin::app.catalog.products.add-image-btn-title') }}'" input-name="image" :multiple="false"></image-wrapper>
        

        turn multiple to true.

        Thanks

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zainawan99 @rahul last edited by

          @rahul I m follow but edit image view database image how can display?

          1 Reply Last reply Reply Quote 0
          • V
            vishalK last edited by

            Hi @zainawan99

            We didn't get your point kindly elaborate your question.

            Thanks

            Z 1 Reply Last reply Reply Quote 0
            • Z
              zainawan99 @vishalK last edited by

              @vishalK Every Category Page add slider dynamically? admin panel I m create edit view multiple page storage paths not found?
              17a29e4f-27ee-4e21-9cb4-09cd7ebb4988-image.png

              50025cf9-4abc-4167-becd-6b84eaba87b6-image.png

              1 Reply Last reply Reply Quote 0
              • V
                vishalK last edited by

                Hi @zainawan99

                First of all you have to save multiple image in storage folder and make an entry of that image in table and relate that image entry with category so by doing this you are able to fetch images related to the category and then you can easily fetch and show images in admin panel as well as in front end but remember you have to add slider component in front end to show multiple images.

                Thanks

                Z 1 Reply Last reply Reply Quote 0
                • Z
                  zainawan99 @vishalK last edited by

                  @vishalK but my issue only how can show multiple images edit blade page with Vue js any reference link?

                  1 Reply Last reply Reply Quote 0
                  • V
                    vishalK last edited by

                    Hi @zainawan99

                    You can take reference from product edit page, there also you will find image section which show multiple images.

                    Thanks

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