About Auto Smush PDF

Automatically compress PDF files on upload. Manual and bulk compress.

Category Admin Helpers
Admin helper modules are those that provide helpful tools, UI enhancements or optimizations to the admin panel (excluding Fieldtype or Inputfield modules).
Release StateAlpha
Non-stable. Not yet intended for use in production environments. *
Module Version1.0.2
Class NameAutoSmushPDF
Compatibility2.5, 2.6, 2.7, 3.0
Date AddedNovember 21, 2016
Last UpdatedMarch 30, 2017
Recommended ByNew recommendations may take up to 1 day to appear.


This module's files should be placed in /site/modules/AutoSmushPDF/
How to install or uninstall modules



Compress PDF files automatically on upload, manually by clicking the link for each file and in bulk mode for all PDF files sitewide.

In Automatic mode PDF files that are uploaded are automatically compressed.

In Manual mode "Compress" link will be present. This allows manual compression of the individual PDF file.

In Bulk mode all PDF files can be compressed in one click. Will process PDF files sitewide, use with caution! This may take a while to finish, especially if you have a lot of PDF files - grab a coffee :-)


Currently there is only one method available to compress PDF files:

  • labStack online service It's a free (at the moment) online web service that provides compressing of PDF files. There is no limit in file size and no limit on number of uploaded files.


Copy the files to the /site/modules/AutoSmushPDF folder, log in to your ProcessWire admin and go to the Modules page. Click the Refresh button and then Install.

Installing this module creates /site/assets/autosmushpdf folder, it's deleted on uninstall. The folder should be writable by the user running the web server. Log file is at /site/logs/autosmushpdf.txt


Copyright (c) 2016 Matjaž Potočnik (https://github.com/matjazpotocnik/AutoSmushPDF).
Support forum: https://processwire.com/talk/topic/14839-auto-smush-pdf/

Licensed under the MIT license. See the LICENSE file for details.