Updated wordpress missing image upload area
Updated wordpress missing image upload area
Updated wordpress missing image upload area
Force WordPress to always generate a thumbnail for original image
after several experiment to reproduce the problem under various circumtances, i found that the post’s image somehow already encoded in the first place, so this is not wordpress importer problem. for someone who might be experienced the same thing, could read this clue : https://stackoverflow.com/questions/19623011/wordpress-avoid-using-data-uri-scheme
Turns out this was caused by the following custom theme filter in functions.php. Commenting out fixed the problem. function image_alt_tags($content) { global $post; preg_match_all(‘/<img (.*?)\/>/’, $content, $images); if (!is_null($images)) { foreach($images[1] as $index => $value) { if (!preg_match(‘/alt=/’, $value)) { $new_img = str_replace(‘<img’, ‘<img alt=”‘ . get_the_title() . ‘”‘, $images[0][$index]); $content = str_replace($images[0][$index], $new_img, $content); … Read more
I added a new thumbnail to the site by inserting add_image_size(‘project’, 700, 9999 ); into functions.php because it seemed like all of the images from old posts were set to 700 width and an automatic height. Then I installed and ran Regenerate Thumbnails and it fixed the issue.
Register an embed handler for self hosted images
Which Browser are you using? I had some problems with 5.3.2 and Uploading in Safari Browser. Using Chrome or Firefox fixed the problem for me.
Wrap post images with a link, not figure (image_send_to_editor doesn’t work)
I guest the problem not about image size, because mys size image just 44.5 KB and upload_max_filesize 128 MB. Error still the same “An error has occurred during the upload process in wordpress”. Can you give me another opinion? Thank You.
Try this: /** * Adding a “Copyright” field to the media uploader $form_fields array * * @param array $form_fields * @param object $post * * @return array */ function add_copyright_field_to_media_uploader( $form_fields, $post ) { $form_fields[‘copyright_field’] = array( ‘label’ => __(‘Copyright’), ‘value’ => get_post_meta( $post->ID, ‘_custom_copyright’, true ), ‘helps’ => ‘Set a copyright credit for the … Read more