Plugins for the Coppermine Photo Gallery are add-ons that use the plugin interface of Coppermine.
Read up the documentation that comes with Coppermine to find out more, e.g. how to install a plugin.

Coppermine version: cpg1.4.x
Plugin name: CompressHTML (compress HTML output of CPG 1.4.x) 
Plugin version: 1.0
Plugin author: Timo (timos-welt.de)
Plugin announcement thread: http://forum.coppermine-gallery.net/index.php/topic,56744.0.html


What's this?

This plugin compresses the HTML output by removing disposable spaces and line feeds from the source code. It is meant for those who can't use zlib compression in their PHP settings to compress the gallerie's output (which is much more effective), or for those who want to make their source code more difficult to read. Under certain conditions it may be useful for people on slow connections (modem, GPRS etc); people on fast connections will most probably not notice any difference, because page load time and additional calculation time will reciprocative even out in this case.
The reduction in page size is 15-30% depending on which page of the gallery is visited, your CPG theme and the amount of plugins and extras used. You can check how much it saves on your CPG - have a look at the last line of the page source code when the plugin is installed (don't forget to log off - the plugin will not work in admin mode).


PLEASE READ THIS PARAGRAPH CAREFULLY!!!

    * This plugin MUST be the last one in the chain. Move it all the way down in plugin manager, otherwise it may make other plugins stop working.
    * This plugin may break certain scripts, especially javascripts with missing semicolons after each command. If it doesn't work, edit codebase.php with a text editor and comment out the marked line or delete it.
    * This plugin may under certain conditions lead to invalid X(HTML), so if you're after that, re-check with a validator. If it doesn't work, edit codebase.php with a text editor and comment out the marked line or delete it.
    * This plugin will not have any effect as long as you're in admin mode. Log off to see it working.
    * NEVER EVER ask for support on the CPG forums when this plugin is active. Supporters will probably refuse to help you because of the unreadable source code. Uninstall the plugin before asking for support.



How to install

1. Upload folder compresshtml to your plugins folder.
2. Install via plugin manager.


How to uninstall

1. Uninstall via plugin manager.
2. Remove folder compresshtml from your plugins folder.


Demo gallery

Click here and look at the page source code

regards
Timo
