Resize large images on Linux

Sponsored links

Resize large images on Linux – recursive
Sometimes, we are in a situation, when client wanted to host his website under our environment. Our needs are that website must not use nearly unlimited files. In days of heavy-pixel cameras, it is not a problem to see images with 50+ MB images in size, which may cause many problems. Probably the worst is using hard drive space, followed by a need to backup insanely large directories, which takes time, and may harm another websites on the same server due to high load during backup. That’s why we use this script below, which use BASH combined with PHP functions, to check all client’s websites, and resize images, that are insanely large in size. You can change any parameters as you need, of course you need approval from your clients to change th..

Sign up now

Email and password are mandatory

By signing-up I agree with your terms

338 IP addresses tracked

486,720 pings / day

91 server outages today

Resize large images on Linux – recursive

Sometimes, we are in a situation, when client wanted to host his website under our environment. Our needs are that website must not use nearly unlimited files. In days of heavy-pixel cameras, it is not a problem to see images with 50+ MB images in size, which may cause many problems. Probably the worst is using hard drive space, followed by a need to backup insanely large directories, which takes time, and may harm another websites on the same server due to high load during backup. That’s why we use this script below, which use BASH combined with PHP functions, to check all client’s websites, and resize images, that are insanely large in size. You can change any parameters as you need, of course you need approval from your clients to change their image size on-the-fly. By resizing images once, their CMS systems does not need to create thumbnails on user access, so even their webpages are loaded much faster (at least on the first page load or website recaching).