Perhaps there’s a manageable way to shift the images from being store as attachments (aka posts) to being stored in an array that’s kept at the parent post level. I think it’s going to depend on how much you need to manipulate the images, delete them, etc.
Shifting to another table might help but it would seem to me you might be robbing Peter to pay Paul. Sure bigger tables hurt but if those rows are somewhere else and you still need a join, etc. how much is going to be saved? I think you might have to get a bit more outside the box to crack this nut.
Related Posts:
- How to call WP3.5 Media Library manager?
- Media Gallery Upload photo incorrect way like glitch
- Thumbnail images missing in WP media library
- How to add new tab to media upload manager with custom set of images?
- Extend Media Library
- How to make “Upload files”selected by default in Insert Media?
- WordPress 3.5: Setting custom “full URL path to files” in the Media Library?
- what happens to existing media files when I switch to year/month directory structure format?
- Reject upload of wrong-sized images using the Media Uploader
- How to show all available images in WP’s media library when using the Polylang plugin?
- How to add a custom field to the media screen (image/gallery)?
- Can’t upload media, permissions are correct
- Saving Media – Which Hook is Fired?
- Set limit to media upload?
- WordPress 3.5: Switch back to Old Media Uploader?
- upload_async.php returns 500 error
- 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
- Add inline uploader to plugin option page
- Protecting direct access to PDF and ZIP unless user logged in (without plugin)
- How to wp_upload_bits() to a sub-folder?
- Insert images to post not working
- “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?
- wp_generate_attachment_metadata returns empty array
- 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?
- Settings in ‘Media > Settings’ is ignored when inserting images
- Set a maximum upload count for users on a specific user role
- Refresh wp.media after ajax call
- I want to replace a media file (pdf) with an updated version
- There’s a way to scale media (images) at 50%?
- Multisite, upload images directly to Amazon S3
- How to get all files inserted (but not attached) to a post
- Password protect some uploaded files, so only logged-in users can view them
- wp_editor with media buttons
- How to protect uploads in multisite if user is not logged in?
- Media Uploader: get deleted files
- WordPress REST Upload Media
- using media uploader to select image of specific size, enforce cropper
- Trigger JS when featured image upload window is opened in admin
- Force wordpress to see uploads folder media
- Append button to WordPress Image Details modal
- Modify the array of selected images in media modal
- 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?
- 3.5 media manager add CSS / JS to new ‘tab’ iframe content
- Add/change multipart_params parameter when uploading post image
- Media uploader not work properly [closed]
- Post Specific Uploader
- Setting wp_temp_dir and permissions not working for “Missing A Temporary Folder” error
- http error when uploading media files
- Select image sizes you want to be uploaded
- wp_temp_dir does not change the /tmp temporary default directory
- Retrieving JSON data in ajax request from media uploader
- Maximum upload size changes in php.ini ignored – How to remove upload size limit?
- How to disable WordPress Media resize different size version?
- Disable gallery in 3.5 media iframe
- How to change “Publish” button text for specific page
- Saving WordPress generated thumbnails in a subdirectory
- Media upload via backend doen’t work after moving site
- Whole bunch of errors on WP website – media upload, edit slugs, edit screen not working [closed]
- Insert into Post button is missing for certain images
- Setting higher upload limit
- Media library storing files in uploads not folders within in uploads
- How to side load an image from a service
- Add select field to media uploader that adds a class to the image
- 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 to host different file formats/types for a media attachment without creating multiple attachments?
- Retroactively place uploaded media into -month, -year based folders?
- How To install AWS SDK for PHP in wordpress?
- How to delete uploads not in media library?
- wp.media add context
- Add fields to the WordPress media uploader
- Change default from “Attachment post URL” to “File URL” in Add Media
- Why does SVG upload in Media Library fail if the file does not have an XML tag at the beginning?
- media_handle_upload : undefined function?
- Site icons with alpha channel for self-hosted WordPress blog network
- How can I receive the image id using the media box?
- media sideload image not working with JPG file
- Insert Image automatically when upload finishes wordpress media uploader
- How do I modify the url of uploaded media content?
- How do I get allowed Media Library upload file extension list?
- Cannot upload .mp3 file to wordpress media
- Uploading dwg files to wordpress
- Using subdomain to upload media/images etc on 2 different blogs
- Images not being generated at correct size
- WordPress suddenly starts uploading media to an old (backdated) folder
- Why would media_sideload_image() not work locally?
- XML-RPC: How to add media caption to uploaded image?
- Switch between tabs on “Insert Media” dialog
- Calling WP Gallery Uploader/Selector From Metabox
- Use the WP media uploader dialog for uploading a form attachment (non-admin). Offering progress and drag and drop feedback