Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2011-08-10 07:26:07

coolboy
Guest

how can i change upload file size

hello,

how can i change upload file size 10mx to more mb, where .ini file please help me.

Regards

#2 2011-08-10 11:20:13

flop25
Piwigo Team
Registered: 1970-01-01
Posts: 3369
Website

Re: how can i change upload file size

hello
The file php.ini contains the config for php : see your provider (and google) to know more about it


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

#3 2011-08-10 21:09:46

johanmc
Member
Registered: 1970-01-01
Posts: 9

Re: how can i change upload file size

Hello, I found the file to change the configuration of the size, it is in: include/config_default.inc.php


upload                               |
// +-----------------------------------------------------------------------+

// upload_maxfilesize: maximum filesize for the uploaded pictures. In
// kilobytes.
$conf['upload_maxfilesize'] = 10000;

// upload_maxheight: maximum height authorized for the uploaded images. In
// pixels.
$conf['upload_maxheight'] = 7000;

// upload_maxwidth: maximum width authorized for the uploaded images. In
// pixels.
$conf['upload_maxwidth'] = 7000;

// upload_maxheight_thumbnail: maximum height authorized for the uploaded
// thumbnails
$conf['upload_maxheight_thumbnail'] = 128;

// upload_maxwidth_thumbnail: maximum width authorized for the uploaded
// thumbnails
$conf['upload_maxwidth_thumbnail'] = 128;

Last edited by johanmc (2011-08-10 23:53:16)

Offline

#4 2011-08-11 10:10:06

Gotcha
Piwigo Team
Location: Pourrières (83) [FR]
Registered: 2007-03-14
Posts: 604
Website

Re: how can i change upload file size

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013