Announcement

#1 2012-10-02 16:59:36

Richtpt
Member
2012-09-27
3

Change upload size limit to larger than 2MB?

Is it possible to change the upload limit from 2MB to 6MB?  Many camera's these days are taking jpg photos larger than 2MB and I don't want users to have to worry about resizing the photos before uploading them. 

FYI, this is for an internal company gallery so bandwidth isn't an issue.  Thanks!

Offline

 

#2 2012-10-02 17:18:57

pewe
Member
2012-03-16
439

Re: Change upload size limit to larger than 2MB?

The upload limit is set in the server php.ini file and is a server wide restriction.

Depending on the configuration you may be able to alter it for your Piwigo installation by following the information I posted elsewhere as follows

Some hosts allow certain changes to the central php.ini file.
If they do then it is done by placing a personal php.ini file on the root directory of your site on the server (using ftp).

I have a file called php.ini on my root which changed several server global php.ini settings.

The file is simply a text file containing the following, and saved as php.ini.

=================content=========
upload_max_filesize = 200M
post_max_size = 200M
date.timezone = Europe/London
memory_limit = 400M
===============================

You could try this and see if it helps.

Offline

 

#3 2012-10-02 17:25:08

Richtpt
Member
2012-09-27
3

Re: Change upload size limit to larger than 2MB?

Fantastic!  Thanks!

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact