My blog runs on the comicPress theme powered by Wordpress, on Altervista hosting service. I purchased the second level domain and therefore I aim customizing everything I need to.
I normally upload images through the menu
Comics -> add comic -> upload media and then upload from my pc.
I want to change the size of images I upload there. So far I've been trying the following methods:
I copy/pasted the script below in
functions.php file and uploaded it but it didn't work:
@ini_set( 'upload_max_size' , '25M' ); @ini_set( 'post_max_size', '25M'); @ini_set( 'max_execution_time', '300' );
then I tryed to configure a ftp server after having installed Filezilla. For I read, it is a requirement for accessing the root of my website and exploting a php.ini file (which will be create and saved there) which allows modifying the size for uploading. But while opening FileZilla server I got this error:
FileZilla Server 0.9.58 beta Copyright 2001-2016 by Tim Kosse (email@example.com) https://filezilla-project.org/ Connecting to server localhost:14147... Connected, waiting for authentication Logged on You appear to be behind a NAT router. Please configure the passive mode settings and forward a range of ports in your router. Warning: FTP over TLS is not enabled, users cannot securely log in.
So what should I do for being able to upload bigger images?