WordPress media upload “HTTP error”

I figured out how to fix my problem. In my nginx config file (/etc/nginx/nginx.conf) I added client_max_body_size 100m; at the end of the #Basic Settings in the http {} section. I hope this answer will help some of you and please tell me if there is any better solution to this problem.

How to change the file upload directory on version 3.5?

In addition to what Joseph suggested, you can also define the upload path in the wp-config.php file like this: define( ‘UPLOADS’, ‘wp-content/’.’files’ ); If you’d like it outside the wp-content folder, specify path like this: define( ‘UPLOADS’, ”.’uploads’ ); For uploading to a folder like example.com/images, use this code: //Custom upload path define( ‘UPLOADS’, ”.’images’ … Read more

Automatically Add Caption in image

You can add programmatically caption, alt, description every time you upload image at backend. https://brutalbusiness.com/automatically-set-the-wordpress-image-title-alt-text-other-meta/ I tried myself this and worked nice as your expectation. This is for all your future upload images. Try this and let me know. /* Automatically set the image Title, Alt-Text, Caption & Description upon upload ————————————————————————————–*/ add_action( ‘add_attachment’, ‘my_set_image_meta_upon_image_upload’ … Read more

How to link to the image editor’s Edit Image function?

You may add the following scripts: wp_enqueue_script( ‘wp-ajax-response’ ); wp_enqueue_script(‘image-edit’); wp_enqueue_style(‘imgareaselect’); Maybe this already helps? I think the html in the front-end should be similar to the html in /wp-admin/media.php?attachment_id=…&action=edit

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)