Plugin / CW Image Optimizer

Jacob Allred

Installation

Installation

  1. Install littleutils on your Linux server (step-by-step instructions are below).
  2. Upload the ‘cw-image-optimizer’ plugin to your ‘/wp-content/plugins/’ directory.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Done!

Installing littleutils: Ubuntu 11.04 (32-bit)

These instructions were tested with littleutils 1.0.27 and Ubuntu 11.04 (32-bit, desktop edition).

  1. Download the latest version of littleutils to your Download directory
  2. Open a terminal window (Applications -> Accessories -> Terminal)
  3. Move the download to a better location: sudo mv ~/Downloads/littleutils-1.0.27.tar.bz2 /usr/local/src/
  4. Use the root user account: sudo su
  5. Install dependencies: apt-get install gifsicle pngcrush lzip libpng12-0 libpng12-dev libjpeg-progs p7zip-full
  6. Uncompress littleutils: cd /usr/local/src && tar jxvf littleutils-1.0.27.tar.bz2 && cd littleutils-1.0.27
  7. Configure and install littleutils: ./configure –prefix=/usr && make && make install && make install-extra

Installing littleutils: CentOS 6.0 (32-bit)

These instructions were tested with littleutils 1.0.27 and CentOS 6.0 (32-bit, “Basic server” configuration).

  1. Log in as the root user.
  2. Enable the rpmforge repository: cd /usr/local/src/ && wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm && rpm -i rpmforge-release-0.5.2-2.el6.rf.i686.rpm
  3. Install dependencies: yum install gcc libpng libpng-devel gifsicle pngcrush p7zip lzip
  4. Download the latest version of littleutils: cd /usr/local/src; wget http://downloads.sourceforge.net/project/littleutils/littleutils/1.0.27/littleutils-1.0.27.tar.bz2?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flittleutils%2F
  5. Uncompress littleutils: tar jxvf littleutils-1.0.27.tar.bz2 && cd littleutils-1.0.27
  6. Configure and install littleutils: ./configure –prefix=/usr && make && make install && make install-extra

Troubleshooting

littleutils is installed, but the plugin says it isn’t. If you are confident that it is installed properly, then go to the plugin configuration page and disable the installation check.

It is also possible that your binaries aren’t accessible to your web server user. You can link these binaries using the following commands:
ln -s /usr/local/bin/opt-jpg /usr/bin/opt-jpg
ln -s /usr/local/bin/opt-png /usr/bin/opt-png
ln -s /usr/local/bin/opt-gif /usr/bin/opt-gif
ln -s /usr/local/bin/tempname /usr/bin/tempname
ln -s /usr/local/bin/imagsize /usr/bin/imagsize
ln -s /usr/local/bin/gifsicle /usr/bin/gifsicle
ln -s /usr/local/bin/pngcrush /usr/bin/pngcrush
ln -s /usr/local/bin/pngrecolor /usr/bin/pngrecolor
ln -s /usr/local/bin/pngstrip /usr/bin/pngstrip

Ratings

3.9
14 reviews

Rating breakdown

Details Information

Version

1.1.10

First Released

27 Jul, 2011

Total Downloads

60,307

Wordpress Version

2.9 or higher

Tested up to:

4.1.28

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.