After much trouble i have finally figured out why wordpress will not create thumbnails for images over a certain size (both file size in kb/mb and pixel size) Here goes. In both my wordpress 1.5.X and 2.X installation i have run into the problem that if you try to upload a picture over a certain size (file size or image size) then a thumbnail will not be created. At first i thought the problem was in wp_thumbnail_create() it was not. Then i found this little monster in admin-functions.php $thumbnail = imagecreatetruecolor($image_new_width, $image_new_height); i started to look through the GD library in php. I started to look into imagecreatetruecolor and found that it can take a lot of memory to handle large images http://qdig.sourceforge.net/Support/AllowedMemorySize so i shot over to my php.ini and changed this line memory_limit = 12M to memory_limit = 120M and wouldn't you know it SHAZAM now i can upload some freaking huge ass files and they spit out thumbnails and everything. Also for anyone still running wordpress 1.5.X here is my custom upload.php if anyone wants to use it. This little beast makes uploading images in wordpress 1.5.x much much easier. You will also need to add three classes to your css file (the css is to format the image in the post, you can change it to whatever you want). I am a php newb and not that good at css so if anyone finds anything that they could/would make better feel free to do so. you can see this in action here www.blog.thesietch.org .i_left { clear:both; float:left; margin:0 8px 8px 0; padding:4px; border:1px solid #eef; } .i_right { clear:both; float:right; margin:0 0 8px 8px; padding:4px; border:1px solid #eef; } .i_center { clear:both; margin-left: auto; margin-right: auto; padding:4px; border:1px solid #eef; }
"; } else{ $piece_of_code = "
: Name: