Powered by Adobe Commerce 2.4.6-p4

imagecleaning_m.png

Image Cleaning

PRODUCT:
0
TOTAL:

Overview

Back to top

Many web-stores with long histories run into problems with the server's 'pub/media/' folder getting pumped up and taking up plenty of precious storage space. Tens, even hundreds of gigabytes of data that take more and more despite the number of goods remain stable.

Having examined the contents of the media folder, we concluded it contains all the uploaded images, including those unusable by Magento. Real heaps of rubbish!  We specially tested the process of removal of a product/category containing images as well as removal/editing of images under the product's 'Images And Videos'. It appeared Magento only removes records about the images, not their physical files. This becomes one of the major causes for the website to occupy more space and to slow down a system call for files and images due to the server's extreme file system load.

The extension we present allows you to thoroughly scan and safely clean the 'pub/media/' folder. The procedure that the extension performs is not intended to be run only once, else the media folder will start growing again. This is why we specifically added a programmable Cron job for the extension to scan the storage and automatically clean it once a week/month. Resources to clean are represented by the following options:

  • Image files that do not belong to any product
  • Image files that do not belong to any category
  • DB record related to a product's nonexisting image file
  • DB record related to a category's nonexisting image file

Based on the capabilities of your server, specify the One-Time Limit for cleaning to make sure your system doesn't hang for a long time. You can always make a manual clean run by hitting the 'Clean Now' button. Want to get more information on what has been removed? The detailed cleanup results are always logged in: /var/log/cleaned_images.log.

 

Features

  • Safely cleans dead files in 'pub/media/' which may greatly reduce the folder's size
  • Matches physical file against its record in the DB
  • Removes product's and category's obsolete and unutilized images
  • Removes media's DB records relating to nonexisting image files of products and categories
  • Configurable Cron schedule for cleaning
  • Perform a cleanup using a CLI command image-cleaning:clean-images

 

Demo

Admin Demo

Technical Specifications

Back to top

Seller profile

SafeMage

Seller contact

E-mail

Current Version

2.1.9

Adobe Commerce platform compatibility

Adobe Commerce (cloud): 2.4 (current), 2.3 (obsolete)

Adobe Commerce (on-prem): 2.4 (current), 2.3 (obsolete)

Magento Open Source: 2.4 (current), 2.2 (obsolete), 2.3 (obsolete)

Type

Stable Build

Updated

11 August, 2023

Categories

Extensions, Site Optimization

Quality Report

Back to top

Installation & Varnish Tests

Passed

Coding Standard

Passed

Plagiarism Check

Passed

Malware Check

Passed

Marketing Review

Passed

Manual Testing

Passed

All tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.

Release Notes

Back to top

2.1.9:

  • Compatible with Adobe Commerce (cloud) : 2.3 2.4
  • Compatible with Adobe Commerce (on-prem) : 2.3 2.4
  • Compatible with Magento Open Source : 2.3 2.4
  • Stability: Stable Build
  • Description:

    • Minor code refactoring.

2.1.6:

  • Compatible with Adobe Commerce (cloud) : 2.3 2.4
  • Compatible with Adobe Commerce (on-prem) : 2.3 2.4
  • Compatible with Magento Open Source : 2.3 2.4
  • Stability: Stable Build
  • Description:

    • Added ability to run optimization using CLI;
    • Added support for Magento 2.4.x;
    • Improved support for Magento Commerce;
    • Added support for symlinks to media files;
    • Code refactoring.

2.0.8:

  • Compatible with Magento Open Source : 2.2 2.3 2.4
  • Stability: Stable Build
  • Description:

    • Added support for Magento 2.4.0.

2.0.7:

  • Compatible with Magento Open Source : 2.2 2.3
  • Stability: Stable Build
  • Description:

    • Addressed an issue with placeholders and watermarks.

2.0.5:

  • Compatible with Magento Open Source : 2.2 2.3
  • Stability: Stable Build
  • Description:

    • Added ability to ignore files from the 'cache' folder.

Support

Back to top

The best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.

Contact Vendor

Q & A

Back to top

Reviews

Back to top