hi there once again...
i'm still puzzeled by above bug.
if i read the code right as described by mattanderson it says:
if the picture is smaller than 3*1024*1024 (i.e. 3 megapixels) then go forward with creating a thumbnail, if it is larger, then ignore this part.
and it seems to work exactly this way. if i upload a picture with less than 1 mega pixel then i get a thumbnail. if i upload pictures from my 5 mega pixel camera i do not have the option for thumbnails.
so far i have not changed the inline-uploaing file.
first of all it makes no sense to me that larger pictures are not 'thumbnailed'... loading time will just increase and the traffic as well. not to mention the cost associated with it...
having a 5 mega pixel camera and thinking ahead i would like to make sure that any picture is thumbnailed. so first thought is to take out that if sentence and have every picture thumbnailed. but i do not want to mess too much with the code so i followed mattanderson's example and put a =< 10 in there to ensure that any picture with less than 10 mega pixel gets a thumbnail.
this is the error message that i get after uploading (and not picture)
Warning: imagecreatefromjpeg(): '/homepages/41/d38948753/htdocs/blog/wordpress/wp-content/uploads/2006/02/PDX12.jpg' is not a valid JPEG file in /homepages/41/d38948753/htdocs/blog/wordpress/wp-admin/admin-functions.php on line 714
Warning: Cannot modify header information - headers already sent by (output started at /homepages/41/d38948753/htdocs/blog/wordpress/wp-admin/admin-functions.php:714) in /homepages/41/d38948753/htdocs/blog/wordpress/wp-admin/inline-uploading.php on line 101
any help is more than welcome!