Make sure the permissions for the upload folder are set correctly, and that none of WordPress’s files have been deleted. Also, try disabling all plugins. If it still doesn’t work, try adding this to the .htaccess file:
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Test and see if it will work on a small image, but not a larger one. If this what happens, add this to your .htaccess to increase the memory:
php_value memory_limit "128M"
Also check to be sure there aren’t any strange rules in your .htaccess file. In the WordPress permalink settings, it updates the file if it has permission, or tells you what you need to change.
Related Posts:
- what happens to existing media files when I switch to year/month directory structure format?
- Can’t upload media, permissions are correct
- Which filters or actions to use after a media upload and delete?
- Display attachments by ID in a wp.media frame
- Image upload callback in new 3.5 media
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- How to wp_upload_bits() to a sub-folder?
- “Add Media” only shows “Full Size” under Attachment Display Settings
- Differentiate Featured Image from Post Images upon Upload
- Where do the favicons for Media Files come from
- How to manage a standalone media folder?
- How do I link directly to uploaded files?
- Is it possible to trigger some JavaScript when Media Popup is opened?
- Is wp_read_audio_metadata() function deprecated?
- There’s a way to scale media (images) at 50%?
- Multisite, upload images directly to Amazon S3
- Media Uploader: get deleted files
- WordPress REST Upload Media
- Force wordpress to see uploads folder media
- How to validate the file name of the Media File Uploads?
- Disable TinyMCE Drag and Drop
- WP3.5 Media Uploader – how to make it accept multiple images?
- Post Specific Uploader
- Setting wp_temp_dir and permissions not working for “Missing A Temporary Folder” error
- Select image sizes you want to be uploaded
- Media upload via backend doen’t work after moving site
- Setting higher upload limit
- Media handle sideload not working
- How to overwrite wp_unique_filename logic
- How to change upload directory based on frontend form input name or ID?
- How do I get allowed Media Library upload file extension list?
- Cannot upload .mp3 file to wordpress media
- Uploading dwg files to wordpress
- Images not being generated at correct size
- WordPress suddenly starts uploading media to an old (backdated) folder
- XML-RPC: How to add media caption to uploaded image?
- Switch between tabs on “Insert Media” dialog
- Use the WP media uploader dialog for uploading a form attachment (non-admin). Offering progress and drag and drop feedback
- Can I change the URL of a video, or upload a video to a specific URL?
- WordPress Issue : The uploaded file could not be moved to wp-content/uploads/
- Using wp_enqueue_media() with switch_to_blog() issue
- making media URL secured
- Media library only shows for admin. Doesn’t show editor or below [closed]
- How to allow logged out users to upload media?
- What relationship determines which images appear in ‘uploaded to post’ in edit/add post media dialog
- Is it safe to allow non-admin users access to media uploader
- PHP error when trying to upload .mp3 files via Media Library [closed]
- Is it possible to import all files from a uploads DIR into WP media, retaining paths to the files
- How does WordPress decides how many sizes of an image to create?
- Flat media folder vs multiple directories
- Move media files from the root to date folder structure
- Big file upload give HTTP error
- Can you limit the size of media files being uploaded not using php.ini?
- Image upload to media library fails. Folder won’t create, database insert fail, XAMPP Windows
- Send media uploads to different directories
- Open Media Uploader Link in single post or page
- Add SWF file to wordpress through custom template
- How to change archieve frequency of the media file in uploads folder for wordpress blog
- Insert attachments from custom uploader into post (regular uploader style)
- How to limit sizes for specific upload programmatically?
- Uploaded images result in a file url with full path on disk appended
- Migrating WordPress Uploads To S3 Object Storage
- Using WP-CLI “wp media import” to sync files to the media library
- Import media (.xml) does not attribute featured images to posts
- Blog suddenly can’t display .jpg
- Upload Video using wordpress rest api with ionic
- MIME type not supporting HEIC support type in WordPress
- SVG not displaying in Media Tab in Backend
- Modify Maximum upload file size text in WordPress Media
- Images not displaying on site or media library
- Replicate Media Galley Edit view in Add Media View
- Front-End Upload media with category
- How to manually set an attachment in a post?
- Adding attachment custom field metadata to TinyMCE tag
- Sanitizing existing media library paths and page links from foreign characters
- Issue with upload.php with media
- Media files not loading
- Media not displaying other users uploads – WordPress 4.9.2
- Set default “Link CSS Class” in add media admin editor
- media_sideload_image results in http error (500)
- How could you allow users to upload a video in within their profile and display it on a wordpress site?
- How to share media between independent blogs?
- media_handle_upload on mix form fields (not required file input)
- WP Add Media Button – Can I set the default size to Original/Full Size
- Check if author or uploader id of the attachment(uploaded) image is match?
- WP Capabilities to Add Media, Use Media, But Not Edit Them
- Limit attachment caption characters
- Don’t show avatars in media library
- Insert media while posting is not working with new wordpress update
- Media Library broken images
- controlling whether upload is attached to post or not
- How to split my uploaded media into directories?
- Importing blog failed to download attachments from older (still online) blog
- Media Gallery doesn’t show (using WP-Read Only)
- Upload User Avatar from android to WordPress using Rest API
- I am facing problem in loading and downloading Mp3 files
- How to disable direct media file access in nginx or ubuntu for non loggedin users?
- Updating Media Library PDF’s in bulk
- Does WordPress import export tool keeps the file hosted on the old website?
- How to properly move media files and update data?