When uploading a set of admittedly large images using NextGEN Gallery to my WordPress site I exceeded my web hosts default memory usage allocation for PHP applications. The error was:
Follow thumbnails could not created. sample.jpg (Error : Exceed Memory limit. Require : 80.65 MByte)
This issue can be resolved by increasing the memory usage allocation at a per-plugin level for PHP applications that require more grunt than others. Its quick and easy!
- Open
/wp-content/plugins/nextgen-gallery/lib/thumbnail.inc.phpwith your favourite text editor (e.g. textpad, etc.) - Search for
@ini_set('memory_limit', '128M');and remove the//from before@ini_set('memory_limit', '128M'); - Save and upload changes
- Go to your NextGen Gallery by clicking Gallery on the left navigation bar > Click manage Gallery > Select a gallery > Select all pictures > Select resize all images > Click OK