Image is not uploading
Perhaps limitation on maximum allowed size of data has been set which is sent by POST method. Directive post_max_size
is responsible for this value and it must be bigger than upload_max_filesize
. Try to customize both directives in .htacces:
php_value upload_max_filesize 50M php_value post_max_size 70M
If first solution doesn’t help, then the problem may be in time limit of script work. You can also try to solve, adding the following directive in .htaccess:
php_value max_input_time 1200 php_value max_execution_time 1200
Problem may be also in old comment form. Try to add the following code in functions.php of your theme (this code won’t work in plugins, use child themes):
function themeslug_add_theme_support() { add_theme_support( 'html5', array( 'comment-list', 'comment-form', ) ); } add_action( 'after_setup_theme', 'themeslug_add_theme_support' );
Is it possible to move users’ uploading images to separate catalog but not to wp-content/uploads?
Image uploading in media library is made by regular WordpRess functions. At the moment, there is no opportunity of changing file storage catalog but in the future we will think about the possibility of implementation.
Is it possible to change minimum size of loaded image, making it less than 1 MB?
Yes, it is possible — set fractional value, for example 0.3 (=300 KB)
Can I make it so that attached images are published not at the end of comment but in that place where user wants to attach it?
At the moment, there is no possibility to specify place of photo display.