Announcement

#1 2010-06-22 18:14:01

mvdw310
Member
2010-06-20
17

[resolved] Max file-size upload by registered users

Hello,

Can i change the max filesize for upload by registered users ?
If yes, how ?

GRtz from holland
Manfred vd Waarsenburg

Offline

 

#2 2010-06-22 18:48:30

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Max file-size upload by registered users

Add in your local config, changing the values you want

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

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

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

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

// 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;


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2010-06-22 19:20:15

mvdw310
Member
2010-06-20
17

Re: [resolved] Max file-size upload by registered users

Oke, so i have to find the local config file.
Euh sorry, i don't know where to look.

But i will search again.

update : Hmm i can't find where to add the lines

Grtz Manfred

Last edited by mvdw310 (2010-06-22 19:47:48)

Offline

 

#4 2010-06-22 20:24:57

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [resolved] Max file-size upload by registered users

Administration -> Plugins -> LocalFiles Editor

add lines then you modifie


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2010-06-22 20:26:11

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: [resolved] Max file-size upload by registered users

[extension by Piwigo Team] LocalFiles Editor

Admin > Plugins > Manage
Activate LocalFiles Editor

Admin > Plugins > LocalFiles Editor
1st Tab : Local config
Insert inside (adjust values as you want):

$conf['upload_maxfilesize'] = 200;
$conf['upload_maxheight'] = 800;
$conf['upload_maxwidth'] = 800;
$conf['upload_maxheight_thumbnail'] = 128;
$conf['upload_maxwidth_thumbnail'] = 128;


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#6 2010-06-22 20:29:48

mvdw310
Member
2010-06-20
17

Re: [resolved] Max file-size upload by registered users

Thnxs

It's solved

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact