][Moon][Shine][ wrote:People tend to upload pics directly from their camera, resulting in megapixel images with several MB in size.
You do realize you can limit the size of attachments, right?
And that's exactly NOT the point. In my community most users are not that accustomed to using a computer, and although I have tried to explain how easy it is to process images before uploading they are simply overextended. If I limit the size of attachments it would mean they still would try to upload pics directly from their cameras, they would get an error message about too large file size, and because they can't help themselves they simply would refrain from uploading their pictures instead of trying to solve the issue, which is not the desired outcome.
Hmmmm, I am reading the ReIMG ext-description again and again, I might have misunderstood the functionality! I KNOW that there is a client side script (doing the above) available for phpBB 3.0.12:
Someone might want to look into this?
Yes, that's what I was trying to explain. But it makes no sense at all to make this functionality client-side, it's something that should simply hook into the upload function to do the processing after an upload on the server. With ImageMagick it definitely is possible, but I am in no position to create an extension.
I guess doing that functionality client-side would be possible as well (as the mentioned mod does, I assume) with the benefit of saving bandwidth for the uploader, but it would be unreliable, depend on the used browser and may not work at all if for example uploading from a mobile phone, so I don't think that's the way to go.
As said, I'm no coder but I think that function should extend the upload function by checking with file-type has been uploaded, if it's identified as PNG or JPG it should get downsized to a defined resolution keeping the ratio and saved as JPG with a definied JPQ-quality setting (an additional bonus would be to strip EXIF data in case someone has GPS data included). I know that sounds easy and it may not be that simple to program, I know about ImageMagick and PHP GD but not how it works.
Swanny wrote:For some reason everyone thinks ReIMG is amazing but really it's not even close to what we are looking for.
Because it fits in with what probably 99% of admins need. It's not really that amazing...it just does the job for most. In reality the number of admins that are looking for what you're requesting is a very small fraction in comparison.
I have no idea why any admin would NOT want this functionality, as it has only advantages. Why would an admin not want to save bandwidth, server storage space and optimize page load time?
Maybe most admins simply don't know about the impact of that feature, but if explained and shown the benefits I guess everybody will want to have it!