• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

images no showing in the front store error. This is the solution. Tested and works

Knowledge Base
3
3
1.2k
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.
  • C
    calvodioni last edited by 29 Apr 2020, 01:18

    To any one with the error of not showing the images in the front store when uploading images here is the solution for that error.

    rename your imagecache.php to imagecache.php2 in your config folder of bagisto. Then create a new imagecache.php file and paste the lines below and name it imagecache.php. This will solve your problem of images not showing in the front store.

    **<?php

    return array(

    /*
    |--------------------------------------------------------------------------
    | Name of route
    |--------------------------------------------------------------------------
    |
    | Enter the routes name to enable dynamic imagecache manipulation.
    | This handle will define the first part of the URI:
    |
    | {route}/{template}/{filename}
    |
    | Examples: "images", "img/cache"
    |
    */
    
    'route' => 'cache',
    
    /*
    |--------------------------------------------------------------------------
    | Storage paths
    |--------------------------------------------------------------------------
    |
    | The following paths will be searched for the image filename, submited
    | by URI.
    |
    | Define as many directories as you like.
    |
    */
    
    'paths' => array(
        storage_path('app/public'),
        public_path('storage')
    ),
    
    /*
    |--------------------------------------------------------------------------
    | Manipulation templates
    |--------------------------------------------------------------------------
    |
    | Here you may specify your own manipulation filter templates.
    | The keys of this array will define which templates
    | are available in the URI:
    |
    | {route}/{template}/{filename}
    |
    | The values of this array will define which filter class
    | will be applied, by its fully qualified name.
    |
    */
    
    'templates' => array(
        'small'  => 'Webkul\Product\CacheFilters\Small',
        'medium' => 'Webkul\Product\CacheFilters\Medium',
        'large'  => 'Webkul\Product\CacheFilters\Large',
    ),
    
    /*
    |--------------------------------------------------------------------------
    | Image Cache Lifetime
    |--------------------------------------------------------------------------
    |
    | Lifetime in minutes of the images handled by the imagecache route.
    |
    */
    
    'lifetime' => 43200,
    

    );**

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 29 Apr 2020, 10:03

      Hi @calvodioni

      Thanks for providing the another solution for image issues.

      1 Reply Last reply Reply Quote 0
      • 3 years later
      • P
        programmedavron last edited by 2 Jul 2023, 12:45

        Thank you very much, saved my time

        1 Reply Last reply Reply Quote 0
        • Referenced by  A andrew-se 23 Dec 2024, 08:17
        3 out of 3
        • First post
          3/3
          Last post