Piwigo



Piwigo is an open source photo gallery software for the web.

Piwigo 2.4.4, released September 26, 2012, is available as a one-click install from the the Goodies tab of your Control Panel.

However, as of February 2014, the latest version is Piwigo 2.6.1, released on January 24, 2014, so you might want to install that rather than using the outdated One Click Install. :-p

Troubleshooting: I/O Error when uploading photos
Symptom: [Wed Feb 05 11:14:18 2014] [error] [client xx.xx.xx.xx] ModSecurity: Input filter: Failed writing 1460 bytes to temporary file (rc 694). [hostname "example.org"] [uri "/piwigo/admin/include/uploadify/uploadify.php"] [unique_id "xxxxxxxxxxxxxxxxxxxxxxxx"]

Solution?

Symptom
[Wed Feb 05 18:33:06 2014] [error] [client xx.xx.xx.xx] Premature end of script headers: i.php, referer: http://example.org/piwigo/index.php?/category/1

Solution, Part 1: Use ImageMagick
According to http://piwigo.org/doc/doku.php?id=user_documentation:faq:pictures_missing#using_imagemagick:


 * ImageMagick is much more efficient than the GD Graphics Library: less resource consumption on the server and higher quality pictures rendered. Many problem can be solved by changing the graphical library from GD to IM, and your hoster will be glad.

You may activate and use the built-in LocalFiles Editor plugin to edit "Local config", i.e.  on the server. The following setting is appropriate for DreamHost shared hosting, where ImageMagick is installed system-wide as :



Solution, Part 2: Use Batch Manager to pre-generate multiple size images

 * Photos → Batch Manager, Global mode
 * Filter: Pre-defined filter: All
 * Selection: The whole set
 * Action: Generate multiple size images