When I upload images to the Image folder for banners or product the new version duplicates all the images in the overlay. How do I fix this?
I've attached a screen shot. As you can see I only uploaded 3 images but the Image Manager shows 6.
Version 4.0.2.1 - Fresh install
Theme - Default Theme
Extensions installed is Paypal.
I found the file filemanager.php in admin\controller\common
Changed this line of code:
$paths = glob($directory . $filter_name . '*{/,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
to:
$paths = glob($directory . $filter_name . '*{/.,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
This fixes the issue. thanks for you help.
Changed this line of code:
$paths = glob($directory . $filter_name . '*{/,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
to:
$paths = glob($directory . $filter_name . '*{/.,.ico,.jpg,.jpeg,.png,.gif,.webp,.JPG,.JPEG,.PNG,.GIF}', GLOB_BRACE);
This fixes the issue. thanks for you help.
Who is online
Users browsing this forum: No registered users and 4 guests