We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

avatar image | Forum

Topic location: Forum home » Support » General Questions
DeFender
DeFender Feb 28 '12
how to limit avatar image size (original) ?
now some users are uploading images 5- 10 MB
Michael I.
Michael I. Mar 5 '12
Can you send me a link to the profile with such a big avatar? How comes that an image with resolution of 45x45 can be 10Mb? Do you have any examples?
DeFender
DeFender Mar 5 '12
no
Im talking about avatar sources, users can upload big photos then they crops to small avatar 45x45, but original big photos are present in server.
Mark
Mark Mar 8 '12
i think that is determined by both the file upload limit set by php and the file size limit set in admin > settings
DeFender
DeFender Mar 8 '12
no :(
Mark
Mark Mar 8 '12
look at option 1 if you have access to the php.ini file and option 2 if you do not


http://www.cyberciti.biz/faq/linux-unix-apache-increase-php-upload-limit/


you can always lower the size in the settings also

DeFender
DeFender Mar 9 '12
thanks, but it will affect all uploads.
I think , I'll delete these files manually time by time.