Learn about Centmin Mod LEMP Stack today
Register Now

Library for compress image like WP Smush

Discussion in 'Blogs & CMS usage' started by Riky Sunandi, May 21, 2015.

  1. Riky Sunandi

    Riky Sunandi New Member

    12
    2
    3
    May 17, 2015
    Ratings:
    +2
    Local Time:
    5:18 AM
    1.7.12
    Hello all,

    Recently I was looking for a wordpress plugin to compress the image size,

    and I found some plugins like ewww Image Optimizer and WP Smush, :D

    although both this plugin provides a free service but it severely limits .. :(

    free as in WP Smush could not compress the image with a size above 1M, :inpain: then they do not give a lossy compression optimization

    So, if we can do the compression itself by installing a particular library in CentOS? perhaps as ImageMagick or the other?

    If you can, please take the installation instructions .. thank you for your attention


    sorry for my poor english :shame::D
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    not sure i understand ? ImageMagick PHP extension is already installed by default, but for auto image optimisation in Wordpress you need a plugin
     
  3. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    5:18 PM
    latest
    10
    I have been looking into what is available for Wordpress image compression. Several Wordpress plugins are easy to set up and use. However, they are basically front-ends for open-source image optimization that can be run from their servers. Since Centminmod is used as a server platform, running your own command-line driven image optimization software is an option for sites with large volumes of images.

    For example, if you are running a Woocommerce e-commerce website that pulls down hundreds to thousands of product and other images, the use of an image optimization program that runs on your server can reduce costs, have more options for compression and image formats such as WebP and may do a better job. Another option is using a desktop image compression and conversion application. That can provide more real-time processing and tweaking but requires transfers between the app and the web server.

    I have used image optimizers for several years including mass/folder optimization for websites. I don't like paying several times the cost of an optimization program each year. If the workflow is such that a large volume of images needs to be optimized, I will continue to handle them through a discrete app while leaving the routine volume to one of the WordPress plugins.
     
  4. eva2000

    eva2000 Administrator Staff Member

    54,107
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    8:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's why i created optimise-images.sh shell script for batch optimisations just point the script at a directory :D

    examples
     
  5. robert syputa

    robert syputa Member

    77
    18
    8
    Jan 18, 2018
    Seattle
    Ratings:
    +46
    Local Time:
    5:18 PM
    latest
    10
    Perfect! Sorry for not having found that out.