Image file compression

White Agency
White Agency
@white-agency
9 years ago
204 posts
Is there any way or are there any future plans to allow compression of image files when they are uploaded ?

Max file size uploaded can be restricted but the type of user we have will not know how to compress an image before uploading so ideally I'd like to allow them to upload the image and then compress it by pixel size and file size, as the images are saved.

I've run a script against the ning archive we import and can reduce the size from 20GB down to 3.5GB which is a massive saving.

In these days of SSD drives on servers we need to keep a check on what people are uploading to control the space being used.

updated by @white-agency: 06/24/15 03:49:06AM
paul
@paul
9 years ago
4,332 posts
Coincidentally enough I've just built a tool to do this for another ex Ningster and it will be in the next release of the jrImage module.
Basically you set the maximum image width or height and the module and it'll run though all the module images reducing their size appropriately. Disk usage savings can be very significant.


--
Paul Asher - JR Developer and System Import Specialist
White Agency
White Agency
@white-agency
9 years ago
204 posts
Thats brilliant news !!!

On a similar note ;- whats the 'Active Media System' option for under the System Core ?
paul
@paul
9 years ago
4,332 posts
Its for alternatives to local storage on the server, e.g.. cloud storage which can be a lot cheaper for big systems. We have started some work towards this so that field, and hooks into the Core are there ready for it.


--
Paul Asher - JR Developer and System Import Specialist
White Agency
White Agency
@white-agency
9 years ago
204 posts
Cloud storage is something we would be interested in being able to do and we starting to use it on other sites.
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
paul:
Coincidentally enough I've just built a tool to do this for another ex Ningster and it will be in the next release of the jrImage module.
Basically you set the maximum image width or height and the module and it'll run though all the module images reducing their size appropriately. Disk usage savings can be very significant.

Paul, will this new tool retroactively go through all the images already on my JR site that were imported from an older ning archive? Or will it only work for new images added by users after the tool is working?
Will it be able to work when we do my 'go live' archive/import soon?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
paul
@paul
9 years ago
4,332 posts
Strumelia:
paul:
Coincidentally enough I've just built a tool to do this for another ex Ningster and it will be in the next release of the jrImage module.
Basically you set the maximum image width or height and the module and it'll run though all the module images reducing their size appropriately. Disk usage savings can be very significant.

Paul, will this new tool retroactively go through all the images already on my JR site that were imported from an older ning archive? Or will it only work for new images added by users after the tool is working?
Will it be able to work when we do my 'go live' archive/import soon?

It will go though all images on your site, at any time that you implement the tool so yes, it can be run after you have imported from Ning.
It also has a 'Dry Run' option that will reprort potential savings without actually doing the reduction.


--
Paul Asher - JR Developer and System Import Specialist
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
You guys are just amazing. :)


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
One question about this.

How will this effect images that are for sale? will it ruin the original high res version?
paul
@paul
9 years ago
4,332 posts
Good point Gary. Can likely add in an exclusion for images that are for sale.
Thanks


--
Paul Asher - JR Developer and System Import Specialist

Tags