@0zz1:
Did you already try to set thumb creation to 1 for testing? I ask this, because the changes I proposed relate to resizeIMG function. This function is used for your image resizing and also for thumbnail resizing, so that there should be no difference. I doubt that some parameters are not given correctly to this function for thumb resizing but I don't know. Please set thumbs temporarely to 1 and tell me what happens, if you upload some pictures then.
If you want to check the parameters given to the resize function, you could also put some echos in front of line 108 like:
| Code: |
echo "create thumb: ".$cfg['createTb']."<br>";
echo "thumb width: ".$cfg['tbwidth']."<br>";
echo "thumb height: ".$cfg['tbheight']."<br>";
echo "thumb proportion: ".$cfg['thumbprtn']."<br>";
echo "thumb quality: ".$cfg['tbqulty'];
sleep(10);
|
When uploading an image you will see your thumbnail parameters for 10 seconds then. What values do you see?
Best Regards
Stefan Pappenberg
http://wohnungen-immobilien-makler-berlin.de<br><br>Post edited by: pappenberg, at: 2008/02/05 19:27