Hello,
Can i change the max filesize for upload by registered users ?
If yes, how ?
GRtz from holland
Manfred vd Waarsenburg
Offline
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;
Offline
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
Administration -> Plugins -> LocalFiles Editor
add lines then you modifie
Offline
[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;
Offline
Thnxs
It's solved
Offline