• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 resizing picture uploads?

#1
i tried to upload a picture from my cell phone to my board, and it said the picture was too big. is there a way to set some sort of auto resize function, or some sort of option to resize it, when someone tries to upload a picture?
 

AndyB

Well-known member
#3
i tried to upload a picture from my cell phone to my board, and it said the picture was too big. is there a way to set some sort of auto resize function, or some sort of option to resize it, when someone tries to upload a picture?
Add this to your config.php file.

$config['maxImageResizePixelCount'] = 30000000;
 

Tracy Perry

Well-known member
#6
Very good @Nuno!
Personally, I'm trying to be sure to let people know what an instruction like that does instead of just telling them "Add this in your config.php".
Serves a dual purpose - it helps them, and it also lets that person and others figure out what it did/does. I'm even trying to remember to do it when I give info pertaining to OS help (but that can get rather detailed so usually just post a link).