| [MOD] Image Upload Module (v0.93) -- Please test
Hi All,
Been extremely busy working on projects, but I invite members of the Pligg community to try v0.93 of the Image Upload module. While this module has been tested on Pligg 9.1 and Pligg 9.6 installations, it is advised to test this module on a development installation first before deploying in a production environment. The only difference between this version and the 1.0 release is that its been tested with a small handful of Pliggers. Please post problems, questions, thanks, etc. here and I can try to help resolved any issues.
With that being said...
Before attempting to use, please make note of your module settings as some default settings may have been changed.
Added:
- Caption support (uses Story title or simply "Photo")
- Added ability to delete image or upload new (during Edit Entry)
- Added support for maximum filesize and image dimensions (max size to be processed by the module).
- Added Error Message support which catches most image upload problems
- Updated Debug Output so that this can be enabled but only visible to Admin users. Allows you to check module functions which the site is publicly accessible.
- Added more configuration options
- Added more comments within the code for those who want to tinker with it or customize it more for their needs.
Notes:
- Tested with Pligg 9.x up to 9.6.
- There have been a number of changes from v0.4 to 0.93. Please check the readme file for instructions if you're upgrading from a previous version.
- PHP processes images within its memory allocation. A PHP installation which is allocated 12MB of RAM for processes (check using phpinfo.php or PHP.ini file for memory limit) can handle a 1200x1200 2MB file (under most conditions). It may be necessary to increase this memory limit to 24 or 32MB to handle images as big as 2400 pixels. This is not a limit of the module, but how PHP handles memory management for scripts. If you're memory limit is 12MB, you should set the "module_imageupload_upload_maxwidth" and "module_imageupload_upload_maxheight" to no more than 1200 each. You should also set the "module_imageupload_upload_maxsize" to no more than 2 (MB).
Best,
Cent
|