Magento 2 Image Clean

7
Image Clean for Magento 2 © Meetanshi Image Clean for Magento 2 User Guide Table of Content 1. Extension Installation Guide 2. Configuration 3. Unused Category Images Cleanup 4. Used Product Images Cleanup 5. Unused Product Images Cleanup 6. Image Cleanup Using SSH Commands

description

Magento 2 Image Clean by Meetanshi allows admin to delete the non used product and category images in a single click! It's official now that Google considers page load speed as a ranking factor! Anything that affects the page load speed in the Magento 2 store must be optimized. Meetanshi's Magento 2 Image Clean extension helps admin to optimize the store performance by removing the unused product and category images from the media folder in the Magento 2 store. The Magento 2 store with large database needs to be cleaned from time to time as some of its data may be outdated or useless. The extension helps admin to remove such non-used product or category images from the media folder in the Magento 2 store backend. Magento 2 Image Clean extension facilitates a back end grid that lists the non used images. With the delete action, admin can select the images that are no longer useful and delete them in bulk! Optimize the store performance by deleting the junk images quickly and enjoy improved rankings for your Magento 2 stores! Benefits Meetanshi's Magento 2 Image Clean: • Enlist the unused product and category images in separate backend grids. • Select multiple images and delete them in a single click. • Delete a single image with the delete action • The extension does not consider the images under deactivated categories and disabled products as useless images. • Optimize the store performance by removing the non-used images and hence a clean database! For more information, visit: https://meetanshi.com/magento-2-image-clean.html

Transcript of Magento 2 Image Clean

  • Image Clean for Magento 2 © Meetanshi

    Image Clean for Magento 2

    User Guide

    Table of Content

    1. Extension Installation Guide

    2. Configuration

    3. Unused Category Images Cleanup

    4. Used Product Images Cleanup

    5. Unused Product Images Cleanup

    6. Image Cleanup Using SSH Commands

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/

  • Image Clean for Magento 2 © Meetanshi

    1. Extension Installation For Magento Marketplace Customers

    o Create a folder structure in Magento root as app/code/Meetanshi/ImageClean o Download and extract the zip folder and upload our extension files to the

    app/code/Meetanshi/ImageClean via FTP. o Login to your SSH and run below commands step by step: php bin/magento setup:upgrade For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f php bin/magento cache:flush

    For Meetanshi Customers

    o Extract the zip folder and upload our extension to the root of your Magento 2 directory via FTP.

    o Login to your SSH and run below commands step by step: php bin/magento setup:upgrade For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f php bin/magento cache:flush

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/

  • Image Clean for Magento 2 © Meetanshi

    2. Configuration For configuring the extension, login to Magento 2, move to Stores Configuration Image

    Clean where you can find various settings to enable the extension.

    Clean Resources: Select the resources to delete in case of both the manual and periodic cleanup.

    Maximum Images to Process in Each Attempt: Enter the number of images to process in each attempt.

    Manual Clean Up: Click the button to clean up the selected resources manually.

    Schedule Periodic Clean Up: Select YES to schedule periodic cleanup on a regular basis.

    Clean Up Frequency: Set frequency for the periodic cleanup. Start Time: Define start time for the periodic clean up to start image clean up on the

    scheduled frequency.

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/

  • Image Clean for Magento 2 © Meetanshi

    3. Unused Category Images Cleanup Apart from the manual and periodic cleanup, the extension enables to delete the unused

    category images from Image Clean Unused Category Images. Click “Update Image List”

    button to update the list of unused category images. After updating the image list, all the unused

    category images get listed along with the details like image, path, and size. These images can be

    deleted using mass delete action or individually using delete action.

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/

  • Image Clean for Magento 2 © Meetanshi

    4. Used Product Images Cleanup Apart from the manual and periodic clean up, the extension allows to update the list of product

    images in use and delete them from Image Clean Used Product Images. On click of “Update

    Image List” button, used images from product media get fetched and listed in the grid along

    with the details like product name, product image, image path and size. These images can be

    deleted after selection using mass delete action. Also, you can delete individual image using

    delete action. If you have recently disabled some store products and will no longer enable it, you can use this

    feature to remove product images in use.

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/

  • Image Clean for Magento 2 © Meetanshi

    5. Unused Product Images Cleanup Apart from the manual and periodic clean up, the extension allows to update the list of unused

    product images and delete them from Image Clean Unused Product Images. On click of

    “Update Image List” button, unused images from product media get fetched and listed in the

    grid along with the details like image, path and size. These images can be deleted after selection

    using mass delete action. Also, you can delete individual image using delete action.

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/

  • Image Clean for Magento 2 © Meetanshi

    Success Message Once the selected images are deleted, the success message to acknowledge the delete action is

    displayed as shown below.

    6. Using SSH Commands for Image Cleanup Apart from using manual clean up, you can use SSH commands to perform each cleanup action.

    When you have tons of products and hundreds of categories, using the manual cleanup may

    cause the process timeout. With SSH commands, you can sit back and let automation perform the

    action without worrying about the process timeout.

    php bin/magento imageclean:product-unused-image:fetch - To fetch unused product images.

    php bin/magento imageclean:product-used-image:fetch - To fetch used product images.

    php bin/magento imageclean:category-image:fetch - To fetch unused images of categories.

    php bin/magento imageclean:product-used-image:clean - To clean used product images.

    php bin/magento imageclean:product-image:clean - To clean unused product images.

    php bin/magento imageclean:category-image:clean - To clean unused images of categories.

    https://meetanshi.com/magento-2-image-clean.htmlhttps://meetanshi.com/