NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
AndypigpenDoran
Nov 03, 2013Aspirant
How to increase max upload size for piwigo
I tried asking this question in the piwigo forums since it seems to be a common complaint that the max size for uploading files is 2 MB. There wasn't much help as soon as "ReadyNAS" was mentioned, the response basically being "nothing to do with us it's a setting on the ReadyNAS box".
So I looked around and found how to change this. It's quite simple once you know how. But you do have to enable and use SSH (if you don;t know what that is or how to use it, then it;s probably best to stop there as playing around with it could lead to issues and you are warned about enabling it). On the assumption you know what you're doing... read on..
You need to modify php.ini - you will find the keywords "upload_max_filesize" and "post_max_filesize". These were set to 2M and 8M respectively in my case - piwigo uses the "upload_max_filesize" setting. So you can increase that up to "post_max_filesize". In other words, up to 8M - if you want more than 8M then you have to increase both values.
The file itself (php.ini) is located at /etc/php5/apache2
I used vi to modify it, then you have to restart the ReadyNAS box (you might be able to just restart piwigo but I couldn;t find that part out).
So I looked around and found how to change this. It's quite simple once you know how. But you do have to enable and use SSH (if you don;t know what that is or how to use it, then it;s probably best to stop there as playing around with it could lead to issues and you are warned about enabling it). On the assumption you know what you're doing... read on..
You need to modify php.ini - you will find the keywords "upload_max_filesize" and "post_max_filesize". These were set to 2M and 8M respectively in my case - piwigo uses the "upload_max_filesize" setting. So you can increase that up to "post_max_filesize". In other words, up to 8M - if you want more than 8M then you have to increase both values.
The file itself (php.ini) is located at /etc/php5/apache2
I used vi to modify it, then you have to restart the ReadyNAS box (you might be able to just restart piwigo but I couldn;t find that part out).
16 Replies
Replies have been turned off for this discussion
- JohnNultyApprenticeQ1. I use the pLoader app suggested by the piwigo team
Q2. Er sorry, but how do I check that? :oops: - super_poussinVirtuosoI just try transfering 31 photos and it works fine on my side
I use http://nasname:7091 as url and also set an author and a categrorie then upload the photos (replace nase name with the name of your nas) - JohnNultyApprenticeFor me, it looks like it has worked - the pLoader says it has successfully transferred files, and I can see them on the admin screen in piwigo, but these are 'virtual' photos - they are not in the ./galleries folder on the NAS, because when I view the site manager in the tools menu of the piwigo admin console, it says '0 Albums, 0 Photos', even after syncing. What do you see in your site manager screen? My photos must be on the NAS somewhere, but how do I view the root folders of the NAS ? (my next search session on this forum is for this capability.....)
Cheers - super_poussinVirtuosook understand
so you can add a new site with path=./upload/ and synchronyze it (don't forget the . in ./upload/ - JohnNultyApprenticeS-P, has anybody told you that yopu are a genius? Yoiu hit the nail right on the spot :D. I can now see a bunch of folders for the month and year that were automatically created, with my photos in them. Priceless. I owe you a beer or two (applied through your donate button after my dinner).
Very many thanks for preventing me from self-harming :rofl:
Cheers - super_poussinVirtuosoyou're welcome
Happy new year
(here we say : Bloavezh mat :) )
Related Content
- Aug 18, 2018Retired_Member
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!