Prevent image resize during uploading

See all posts See thread Reply

Re: Prevent image resize during uploading new!
by colin, 6 months, 1 week ago
Thank you. The DPI has no meaning for a JPEG, but the image quaility is what makes the image very big. And I am afraid your issue lies with K2.

K2 is setting the JPEG quality to 100 when storing the first image:
https://github.com/getk2/k2/blob/8249eae20390c569a11521ef4f32f75f5376ab3b/administrator/components/com_k2/models/item.php#L264

Your only solution is to hack K2 as it is hardcoded.Reply
Re: Prevent image resize during uploading new!
by Goble002, 6 months, 1 week ago
Thank you so much ! Solved !Reply