A big thanks to TechTracer for pointing me in the right direction for a frustrating WordPress error.

After upgrading to WordPress 2.3 (fairly painless, despite the major changes due to “tag” implementation) I couldn’t upload images. Any image over 100K would produce an error stating: Allowed memory size of 16388608 bytes exhausted (tried to allocate 6400 bytes). It also made reference to the includes\image.php file.

After reading the TechTracer post, I added one line of code just after the <? php tag in the image.php file:

ini_set(‘memory_limit’,’32M’);

The additional functions in WordPress (tags) and the plug-ins that I’m running must max out the memory. Now, I can upload my images and WordPress will resize and generate thumbnails just like it should (using the excellent Flexible Upload plug-in, that is).