Canal World Posted February 11 Posted February 11 Hi, Invision 4.7 seems to lack automatic image compression functionality when images are attached to a post. This results in us using more storage than absolutely necessary. I vaguely recall that Invision had an automatic image compression feature in an previous version but I can't seem to find any way to do this in 4.7. Our userbase consists of members with varying level of technical ability, so while we ask them to optimise their images it would be unreasonable for us to expect them to do this, not to mention it's an inconvenience. Is there a solution to this? Thanks SC36DC and acarlsson 2
opentype Posted February 11 Posted February 11 ACP → System → Files → Image Settings That’s where you set the compression level(s). In addition, you can set the maximum pixel size for attachment uploads. Both of these options combined get you pretty far. Sonya*, acarlsson, SC36DC and 2 others 5
Canal World Posted February 20 Author Posted February 20 (edited) On 2/11/2024 at 1:50 PM, opentype said: ACP → System → Files → Image Settings That’s where you set the compression level(s). In addition, you can set the maximum pixel size for attachment uploads. Both of these options combined get you pretty far. Thank you. It appeared we already had compression set in the Image Settings although I was not aware. It only appears to do this for jpg file format though, most of the files in question are png. - Is there a way to compress these too? If we set the "maximum pixel size" for attachments, - will it automatically reduce this as to ensure the image is within limit or will it simply prevent the users from uploading it in the first place? It is the latter scenario which generates complaints from our members, particularly from those who may not be quite so tech savvy. Edited February 20 by Canal World SC36DC 1
SC36DC Posted February 20 Posted February 20 I am also very interested in image compression, as I intend to start a new forum once IC5 launches, and it will be very image heavy, and I would like to put into place the best image compression settings from the start. Canal World 1
Canal World Posted February 20 Author Posted February 20 Looking further, it seems there's two options, GD compression or ImageMagick - The latter only seems to compress jpgs. Have updated it now to use GD. Screenshot attached for reference. SC36DC 1
SC36DC Posted February 20 Posted February 20 2 hours ago, Canal World said: Looking further, it seems there's two options, GD compression or ImageMagick - The latter only seems to compress jpgs. Have updated it now to use GD. Screenshot attached for reference. Curious if anyone has any data behind these settings, or comparison of images compressed at different settings. Would be interesting to see both file size and quality. Mostly setting the values at 60/6. compared to max setting. My current settings are set to 70/100 and 6/9.
Randy Calvert Posted February 21 Posted February 21 The more you compress the images, the greater the quality is sacrificed and the more CPU that it takes to generate the file itself. The default values provided by IPB give a good amount of compression while balancing resources used to generate it vs savings. With that said, feel free to change the sliders up/down as it makes sense for your community. If you're super focused on the ultimate smallest file and have tons of CPU power and don't care if the image quality drops a bit... jack that value up to the max. If your site is heavily dependent on ultra high quality images and you don't want IPS dropping the quality of anything uploaded, keep that value down very low or off entirely. SC36DC 1
acarlsson Posted March 4 Posted March 4 Thanks for this thread since I'm also starting to get too many high res uploads… Apparantly, I have ImageMagick checked. How do I know that it's installed? I changed the quality to 64, will see if anyone notice. After modifying these settings, is there a way to apply them to already uploaded pictures?
Recommended Posts