Dear Jan, Phoca-Team & Members,
Yes I RTFM ;)
and using phoca since ages ... but now i've stumbled on a new "feature" ;)
I doing a non commercial Site for my Kindergarden - with a lot of different users and type of photos. Most of them are not that fit to resize the fotos by themselves before uploading it. So i've activated the r"multiple resize width" for keeping the disk space on server low(er). I've set 2400px/2400px which will be enough to share in small print Quality.
But now the strange thing ...
After testing the gallery i've notice a high amout of disk space used - so i've checked the resized originals:
They have all been resized (reduced) to a smaller pixel count
but! they have all bigger filesize than the original image.
Example:
Original (jpg100): 2400 x 3600 ~ 4.6 MB
Resized: 1600 x 2400 ~ 5,2 MB
Tested to resize with Photoshop (jpg80 optimized)
1600 x 2400 ~ 1,8mb which feels right ...
Since there are no quality options for Multiple Resize - changing the quality options of thumbnail creation made no difference.
I thought it has to to with this specific server environment (HostEurope)
Out of Curiosity i've tested on two different Webserver ... with exact the same outcome:
the resized Ones have bigger Filesize than the big Originals
Any Idea? - help would be apprieciated!
Thanxx in Advance
Alexx Photografx
(http://www.alexxj.eu)
HTML5 Uploader - resized Images bigger filesize than originals
- photografx
- Phoca Newbie
- Posts: 3
- Joined: 03 Jul 2014, 19:38
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: HTML5 Uploader - resized Images bigger filesize than originals
Hi, which images you exactly mean? The original one or the thumbnail?
HTML upload does not change the images, it only uploads original images from PC to server. There are no changes made on the image.
Jan
HTML upload does not change the images, it only uploads original images from PC to server. There are no changes made on the image.
Jan
If you find Phoca extensions useful, please support the project
- photografx
- Phoca Newbie
- Posts: 3
- Joined: 03 Jul 2014, 19:38
Re: HTML5 Uploader - resized Images bigger filesize than originals
Hi Jan!
first big thanxx for taking your time .. Yes! i'm talking about the "originals" ;)
Your fabulous gallery has the option to resize the originals @upload and as i've written before - resize works great ... images are converted to max 2400px (long edge) Screenshot --> http://test.photografx.eu/phoca-resize-mystery.png
just the filesize makes me wonder ?!
I've also tried to change the jpg compression in the options for the thumbnails but it makes no difference.
Kind regards
Alexx
first big thanxx for taking your time .. Yes! i'm talking about the "originals" ;)
Your fabulous gallery has the option to resize the originals @upload and as i've written before - resize works great ... images are converted to max 2400px (long edge) Screenshot --> http://test.photografx.eu/phoca-resize-mystery.png
just the filesize makes me wonder ?!
I've also tried to change the jpg compression in the options for the thumbnails but it makes no difference.
Kind regards
Alexx
- Jan
- Phoca Hero
- Posts: 47887
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: HTML5 Uploader - resized Images bigger filesize than originals
Hi, the jpg compression which you can set in Options, this only affects thumbnails, not original images. Quality of original JPGs is always set to 100%, this you can change in code, for example, upload in frontend, category view:
components\com_phocagallery\views\category\view.html.php
Jan
components\com_phocagallery\views\category\view.html.php
Code: Select all
$mU->imageQuality = 100;
If you find Phoca extensions useful, please support the project