I’m working on a site of my employee and has a memory upload limit when uploading large image(s) in wordpress site using NextGEN gallery plugin and the error is
Follow thumbnails could not created. sample.jpg (Error : Exceed Memory limit. Require : 80.65 MByte)
This issue can be resolved by increasing the memory upload limit of your server in php.ini file, but in NextGEN Gallery plugin don’t worry about it we just change a line of code.
- In your website/wordpress directory open /wp-content/plugins/nextgen-gallery/lib/gd.thumbnail.inc.php with your favourite text editor (e.g. notepad++, Dreamweaver, etc.)
- On line #164 under under // increase memory-limit if possible, GD needs this for large images, un-comment or remove the “//” before @ini_set(‘memory_limit’, ‘128M’);
- Save changes
- Delete image/s that failed to upload then re-upload it using NextGen Gallery Plugin
Hope that helps, enjoy.