Resizing of attachments
Posted by haz23
Resizing of attachments February 07, 2014 02:17PM |
Registered: 11 years ago Posts: 2 |
Hello all,
I searched throughout all mods and threads here, but was not able to find some mod that could automatically do resizing of uploaded images? The idea is that usually people upload images directly from their smartphone, and nobody needs 5MB of JPEG file when it can be resized to a predefined maximum height and width to either save space and bandwidth.
Any idea if there is some mod that can do that for me?
Thanks in advance!
I searched throughout all mods and threads here, but was not able to find some mod that could automatically do resizing of uploaded images? The idea is that usually people upload images directly from their smartphone, and nobody needs 5MB of JPEG file when it can be resized to a predefined maximum height and width to either save space and bandwidth.
Any idea if there is some mod that can do that for me?
Thanks in advance!
November 14, 2015 12:03AM |
Registered: 17 years ago Posts: 61 |
This would be a mod I'd love to have as well.
While resizing photos may only take me a few seconds, it's a huge stumbling block for the average internet user. Most users want to take photos directly from their phones or camera and simply attach them directly to a post. It's probably one of the most common complaints from users on my site. I get multiple emails every week from users asking me why their photos won't attach to their messages. I cut and paste the same response from my FAQ page with simple direction on resizing their photos but plenty of users just can't figure it out.
I found this old link but I'm no programmer (I'm just a hack who can butcher code enough to occasionally make it work):
[www.codeforest.net]
It seems like a mod could be written to check files types on upload/attachment and if they are '.jpg', '.jpeg', '.gif', '.png' etc… then resize them to a specific height or width. In the second tutorial it even has instructions on resizing photo on the client side to speed upload time:
[www.codeforest.net]
Honestly it seems like it's a pretty do-able Phorum mod in principle for someone with coding knowledge. I'd love to tackle it but I don't have the first idea where to start when it comes to writing a mod. I'm just dangerous enough to make small modification to some of the great mods already written (and I hardly ever know why my hack worked or didn't). I don't know how many active Phorum coders/users there are, but I think this could be an extremely useful mod in today's cell phone camera crazy society.
Jake Morgan
www.PULLOFF.com
Independent Pulling News
While resizing photos may only take me a few seconds, it's a huge stumbling block for the average internet user. Most users want to take photos directly from their phones or camera and simply attach them directly to a post. It's probably one of the most common complaints from users on my site. I get multiple emails every week from users asking me why their photos won't attach to their messages. I cut and paste the same response from my FAQ page with simple direction on resizing their photos but plenty of users just can't figure it out.
I found this old link but I'm no programmer (I'm just a hack who can butcher code enough to occasionally make it work):
[www.codeforest.net]
It seems like a mod could be written to check files types on upload/attachment and if they are '.jpg', '.jpeg', '.gif', '.png' etc… then resize them to a specific height or width. In the second tutorial it even has instructions on resizing photo on the client side to speed upload time:
[www.codeforest.net]
Honestly it seems like it's a pretty do-able Phorum mod in principle for someone with coding knowledge. I'd love to tackle it but I don't have the first idea where to start when it comes to writing a mod. I'm just dangerous enough to make small modification to some of the great mods already written (and I hardly ever know why my hack worked or didn't). I don't know how many active Phorum coders/users there are, but I think this could be an extremely useful mod in today's cell phone camera crazy society.
Jake Morgan
www.PULLOFF.com
Independent Pulling News
Sorry, only registered users may post in this forum.