Quote:
Originally Posted by fneumeier
My original question was: Where in the code is the place to do this. And, hey, I really want to reduce the size of the images!
Any idea where in the code ist the place to do this? I just couldn't find the place where the images are being handled when/after uploaded by the user.
Thanks!
Franz
|
What are you wanting to resize... ALL images that your users upload in their forum posts? So, it would be in the postbit where the forum displays the images attached to the post?
Quote:
I'm kinda in the same boat, due to my lack of php skills I'm not sure where to put the include, but I figured out it would go in the includes/class_upload.php somewhere
|
Im not exactly sure what you are doing here, what are you putting the include code in your upload script? This script dynamically resizes the images on OUTPUT, not when saving the image. So, the image that is uploaded by the user is uploaded normally, this script would kick in where that uploaded image is meant to be DISPLAYED, the script would take the original uploaded image, resize it, and then output the new one all in realtime without saving a new jpg file.