Limit the Maximum Upload Size
Caps the size of files that can be uploaded through WordPress at 8 MB, even if the server allows more.
Snippet Library
3,040 free snippets from the WPIDE team and the community. Copy the code, or add any snippet to your site in one click with WPIDE.
Caps the size of files that can be uploaded through WordPress at 8 MB, even if the server allows more.
On local, development and staging copies, images and files that are not in the local uploads folder are loaded from the live site instead, so you do not need to download gigabytes of uploads.
Writes one line per outgoing email (time, recipient, subject, result) to a daily log file in a protected uploads folder, and deletes files older than the number of days you choose.
Adds a "wp media-usage" command that totals how much disk space uploads use, grouped by file type or by upload year, including every generated image size, to see what fills your hosting space.
Adds a dashboard widget breaking the Media Library down into images, videos, audio and documents, with uploads this month and the number of files not attached to any content.
Rejects uploads to a chosen ACF image field when the picture is smaller than the width and height you need, such as for hero banners.
Rejects image uploads that are smaller or larger than the pixel sizes you set, so blurry thumbnails and oversized camera originals never reach the Media Library.
Renames files uploaded from inside the post editor to match the post's slug, so "DSC_0042.jpg" becomes "summer-menu.jpg", which is better for image search.
Adds a wpide_log() helper that writes timestamped messages and data to a daily log file in a protected folder inside uploads, so custom code can leave a trail without touching debug.log.
Adds a dashboard widget with thumbnails of the 12 most recently uploaded images and files, each linking to its edit screen, so you can review new media quickly.
Sends requests for resized images that no longer exist, such as photo-300x200.jpg after a theme change, to the original upload, fixing broken images in old posts and on other sites.
Adds a font family with your own font files (stored in uploads/fonts) to the theme's typography settings, so it appears in the editor's font picker and loads without Google.
Scans every uploaded file that is not a PHP file for hidden PHP code (such as an image with a PHP payload) and refuses the upload if any is found.
Strips EXIF metadata such as GPS location, camera serial number and date from JPEG and WebP images when they are uploaded, while keeping them correctly rotated.
Adds a "Replace file" box to the media edit screen that uploads a new version of an image, PDF or other file over the old one, keeping the same address so every link and embed updates at once.
Makes WordPress generate WebP versions instead of JPEG and PNG for every image size it creates on upload, which usually cuts image weight by a quarter or more.
Rewrites the URLs of your uploads, theme and plugin files to a CDN or pull-zone domain you set, so images, CSS and JavaScript are delivered from the CDN while pages are still served by your site.
Overrides the network's "Max upload file size" setting from code, so every site gets the same per-file limit regardless of what is stored in the database.
Trims uploaded file names longer than 60 characters, such as camera exports or copied web titles, to a tidy length before saving, while keeping the extension.
Stops WordPress from generating preview images for every uploaded PDF, which speeds up uploads and saves disk space.
Stores new uploads in images, videos, audio and documents folders inside your uploads directory, which keeps the file system tidy on large sites.
Saves uploads into a folder named after the uploader, such as uploads/users/jane/2025/03/, which keeps multi-author and client sites tidy and makes per-person cleanups easy.
Saves files uploaded from inside a post, page or custom post into a folder named after its type, such as uploads/products/ or uploads/pages/, keeping the year and month folders inside.
Turns file-name titles like "IMG_2041-sunset_beach-final" into readable ones like "Sunset beach final" when images are uploaded, so the Media Library is easier to search.