What is the need to remove the full size images? Are you dealing with storage space? If not, why give yourself the headache? Just let the full size images stay where they are. You don’t have to use them. You’ll probably find a situation where you want to use it anyways.
Also, I’ve never tried it, but you might be able to disable default image without deleting it by adding the following to your functions.php file:
update_option('full_size_w', '0');
update_option('full_size_h', '0');
You could also customize which image sizes display as an option in the editor as shown here.
Related Posts:
- Update media library files after upload via FTP
- Image dimensions same as image size
- Is it possible to generate JPEG progressive thumbnails?
- Way to display media library in frontend
- Disable edit option in Media library
- How to get an image url from media library
- Generated media have incorrect aspect ratio
- Rebuild the entire WordPress uploads folder
- See List View – or Image titles- of Media Library when “Add Media” button is used
- How to upload media to a specific folder without a plugin in WordPress?
- Overriding of the template for the Attachment “thumbnails” in the Media Grid isn’t working
- Force image crop size in media editor
- When I insert media from Library into a post, can I then safely delete that media?
- Images missing from the media folder
- Direct media library upload saving in wrong month date folder in custom theme
- add file name column to media library to sort by
- How to add multiple versions of the same featured image for SEO reasons?
- Pictures won’t display in media library and also won’t show preview when selected
- Media Library empty after server migration
- Add custom css class to wp-list-table row for Media Screen
- How to Protect Uploads, if User is not Logged In?
- Add a menu item to WordPress 3.5 Media Manager
- Pre populate WordPress wp_media modal with image selection
- Prevent WordPress from generating medium_large 768px size of image uploads?
- For what security reasons are svgs blocked in the media uploader?
- Delete an attachment in the WP media modal window
- Add media with WP-Rest-API v2
- How can you set maximum width for original images?
- Custom post type with a forced fixed aspect ratio image crop
- Cleanup uploads folder, Media Library db structure
- Media library to list images only user uploaded
- Rendering the uploaded file in a wp.media object
- WordPress Image Editor not working – conflict?
- How do I force WordPress to show most recent version of images in the media library?
- WordPress Media Manager 3.5 – default link to
- Proper way to add a button to the top menu of the media library?
- Linking a PDF as a downloadable document
- Filter for changing MediaElement.js Settings
- display image size in media library screen
- What is the best practice for renaming WordPress media files?
- How to capture the selection:toggle event fired by wp.media
- Settings in ‘Media > Settings’ is ignored when inserting images
- wp media regenerate unknown –image_size parameter
- Changing the media library default tab
- Failed to import media from a local wordpress site to a live one
- WordPress Uploads Folder can’t be Written to
- Attach Files Metabox
- Is is possible to crop an image after uploading
- Best plugin to manage media library? [closed]
- Rename “Add Media” Button To “Add Images”
- How would I go about listing only unattached media in say a sidebar?
- Best image hosting service
- How to display all images “Uploaded By” an author
- Shortlink directly to a media file?
- Filter what image sizes get generated
- Change default tab of media manager
- Too much recursion error when chosing image from image library for two different meta boxes in one post
- Is email post notify visitor on new media upload possible?
- How to set additional parameter in wp.media?
- Restricting access to files within a specific folder [duplicate]
- get total number of images from media using xml-rpc
- Audio Playlist : How to bind events for “track change”, “track end”?
- Images are registered in media library but still won’t show up
- Plugin to download attached media files?
- Run script after clicking Set Featured Image in Media
- Uploading non-media files?
- How do I control video media display sizing with native wordpress player
- Failed media import
- Upload mobi and epub file in the MEDIA of WP
- Handle lots of images within the media uploader / selector
- Add media with WP-Rest-API v2 II
- Media > Image Sizes aren’t being applied to uploads
- Change WordPress’ media upload URL?
- Rest API rename media
- Disable drag and upload in Media Library
- Custom media picker in meta box: how to select available image sizes?
- Image archive without date
- FTP files directly to Media Library wp-content\uploads
- Saving WordPress generated thumbnails in a subdirectory
- Add media column to edit post screen
- WordPress 3.0 Media Upload Directory
- Uploading Media gives error “Missing a temporary folder.”
- How to make programmatic image upload generate thumbnail and sizes?
- Can’t edit media details in new role
- add_image_size landscape or portrait
- What table is the media’s sort order stored?
- Media is shown in listview but not in gridview whenever i activate my Custom Theme
- Add custom tab on the media manager
- Disable mouse image resizing in editor
- Add input to the media uploader and pass its value to each uploaded file
- Organizing media uploads
- How to insert an Audio Player in a Post or Page?
- Moving existing media items to new upload path structure not updating full URL path
- Proper way to change the path of uploads folder for existing WordPress site
- wp.media edit attachment screen
- How to limit characters of the post title?
- 3.5 Media Manager – callout in metaboxes
- What is the structure of the “Featured Image” field in the DB?
- How to bulk Edit Dates in Media Library?
- Trigger JS in custom meta box if a featured image is loaded/exists