Piwigo is an open source photo gallery software for the web.
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
[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"]
Troubleshooting: Timeout when resizing photos
[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
- 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.
local/config/config.inc.php on the server. The following setting is appropriate for DreamHost shared hosting, where ImageMagick is installed system-wide as
<?php // Library used for image resizing. Value could be 'auto', 'imagick', // 'ext_imagick' or 'gd'. If value is 'auto', library will be choosen in this // order. If choosen library is not available, another one will be picked up. $conf['graphics_library'] = 'ext_imagick'; // If library used is external installation of ImageMagick ('ext_imagick'), // you can define the path to ImageMagick. $conf['ext_imagick_DIR'] = '/usr/bin/convert'; ?>
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