Downsizing of Uploaded pictures on Hoster via Imagemagick Downsizing of Uploaded pictures on Hoster via Imagemagick
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Downsizing of Uploaded pictures on Hoster via Imagemagick

Started by JuerSchw, September 30, 2019, 03:20:41 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

JuerSchw

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

Juergen