Support => cpg1.6.x Support => cpg1.6 upload => Topic started by: JuerSchw on September 30, 2019, 03:20:41 pm

Title: Downsizing of Uploaded pictures on Hoster via Imagemagick
Post by: JuerSchw on September 30, 2019, 03:20:41 pm
Hi there,

I am facing into an issue that I cannot downsize pictures via Imagemagick when trying to upload to my hosting provider who offers this in their Application section.

The idea is to allow any users to upload pictures which are around 16MB and to downsize them to a web friendly size.

I changed in the providers php.ini (version 7.x) already max upload parameters and thats works.

If I set i.e. the MaxFilesize Upload to 5MB all files bigger than that (also set pixels to 10k) will not uploaded at all, error is "filesize to big"

I was under the impression that - if I set the Filesize to a lower amount - coppermine will check through PHP7 what maximum Upload is allowed to the hoster, upload the file, resize it and save it (resized) into the folder.

PHP Script, paths and others have been included into the PHP.ini

Any ideas please?

Thanks in advance