Shrink Images

Pagekit Shrink Images

Pagekit is a really fast and lightweight CMS. But sometimes article images can be really large, if they are not optimized.

This extension allows you to minify your images.

How to use

Installation

Using this extension is very easy. Just install it from Pagekit's marketplace.

Requirements

As this extension makes use of spatie/image-optimizer, you need to install the following extensions:

  • JpegOptim
  • Optipng
  • Pngquant 2
  • SVGO
  • Gifsicle

If one ore more extensions are missing, the extension is still working, but not all the images are minified.

This extension also requires PHP 7.

Please find more information at https://github.com/spatie/image-optimizer/blob/master/README.md .

Configuration

After enabling the extension, you may enter the settings. If you would like to exclude specific folders or files from being minified, you can add them to the exclusion list.

Please notice that this extension needs the full path to the file or folder you would like to exclude.

Now you should create a backup of your site. Just to be sure no data is lost. This extension only modifies png, gif, jpg, jpeg and svg files in the storage-directory (/path/to/your/pagekit/storage).

CMS
Pagekit
Shrinkimages-1

Shrinkimages-1

Shrinkimages-2

Shrinkimages-2

Shrinkimages-3

Shrinkimages-3

Shrinkimages-4

Shrinkimages-4

Shrinkimages-5

Shrinkimages-5

Wait a second!

Did you know that there's are great support channels for Pagekit? Visit us today and sign up for free using email or your GitHub-, Twitter-, Google- or Facebook-Account.

Latest blog posts

Latest comments

  • How to fork a theme

  • spqr/toc updated

  • spqr/toc updated

Like my work?

If you would like to support my work, you are invited to do so.