Disgrifiad
KXNotes Image Paste Optimizer streamlines image preparation for WordPress tutorial writers, independent bloggers, and content publishers.
It focuses on a repetitive part of writing: saving a screenshot, resizing it, converting it to a web-friendly format, renaming it, uploading it to the Media Library, adding alt text, and inserting it into the post.
After activation, you can paste or drag images directly into the Gutenberg editor. The plugin can:
- Detect clipboard screenshots and local image files.
- Resize images to a configured maximum width, with a default of 1200 pixels.
- Output WebP by default, with optional AVIF, JPEG, or original-format output.
- Process new JPEG, PNG, WebP, and AVIF files that use the WordPress core upload or sideload flow through one server-side pipeline; GIF files remain unchanged.
- Cover Featured Image button uploads, Media Library uploads, and blocks such as Gallery, Cover, and Media & Text when they use the core media API.
- Finish resizing and format conversion before attachment metadata, thumbnails, or downstream storage integrations are created.
- Follow the default WordPress intermediate-image policy or generate only selected registered sizes.
- Keep a randomly named source backup outside the public Web root and record versioned processing state for each processed attachment.
- Restore an attachment from its source backup without changing its current URL or output format.
- Generate readable file names from the post title or nearest preceding heading.
- Fill image alt text automatically.
- Insert the image at the current editor position.
- Accept image drops on the Featured Image control.
- Process local uploads from an Image block.
- Import a remote Image block URL into the Media Library only after explicit editor confirmation.
Who is it for?
- Authors who regularly write software, website, plugin, or workflow tutorials.
- Bloggers who frequently capture administration screens, websites, tools, or applications.
- Publishers who want to reduce manual image compression, renaming, and alt-text work.
- Site owners who prefer local processing without a required third-party cloud service.
Privacy and external services
The plugin does not send images to a third-party server by default. It does not call an AI service, perform remote telemetry, or collect site URLs, post titles, image contents, or usage data.
Clipboard images and local files are uploaded to your own WordPress site and processed there before the attachment is created. When source backups are enabled, those files are stored outside the public Web root by default. Existing Media Library items are not reprocessed when selected again.
Remote Image blocks never trigger a network request automatically. The editor must confirm an import action first. Browser reads and server-side fallback downloads have hard byte limits; server downloads also use per-user locking and rate limits before entering the image pipeline.
File names and alt text
The plugin provides two file-name modes:
- Pinyin slug: a predictable offline option for Chinese post titles.
- Local English slug: uses a bundled terminology map and falls back to Pinyin when it cannot make a reliable match.
Alt text uses the post title or nearest preceding heading and includes an image sequence number by default.
Gosod
- In WordPress Admin, go to Plugins > Add Plugin > Upload Plugin.
- Upload
kxnotes-image-paste-optimizer.zip. - Activate KXNotes Image Paste Optimizer.
- Go to Settings > KXNotes Image Paste Optimizer and review the default configuration.
- Create or edit a post in Gutenberg.
- Copy a screenshot and paste it into the post content.
Cwestiynau Cyffredin
-
Does the plugin send my images to a third-party server?
-
No. The default paste, drag-and-drop, and local upload workflows operate between your browser and your WordPress site. They do not use a third-party compression, AI, or analytics service.
-
Is AVIF always available?
-
No. AVIF support depends on the browser, WordPress version, and server image library. If AVIF processing fails, the plugin can fall back to WebP, JPEG, or the original format.
-
Does it support the Classic Editor, Elementor, or Divi?
-
The current version focuses on Gutenberg. Compatibility with third-party editors is outside the scope of the 0.1.x releases.
-
Why are some file names Pinyin while others are English?
-
Pinyin is the default mode. You can switch to Local English slug in the settings. Local English mode uses only its bundled terminology map and conservative local rules. It falls back to Pinyin when no reliable English mapping is available.
-
What does uninstalling the plugin delete?
-
The
uninstall.phpfile removes the plugin settings. It does not delete uploaded images, processing metadata, or protected source backups. This avoids irreversible data loss.
Adolygiadau
There are no reviews for this plugin.
Contributors & Developers
“KXNotes Image Paste Optimizer” is open source software. The following people have contributed to this plugin.
CyfranwyrTranslate “KXNotes Image Paste Optimizer” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Cofnod Newid
0.1.5
- Required explicit editor confirmation before any remote Image block import.
- Added bounded streaming, per-user locking, rate limits, and batch limits for remote image downloads.
- Moved new source backups outside the public Web root and rejected public backup paths.
- Added checksum-verified migration for source backups created by pre-release 0.1.4 development builds.
- Removed sideloaded files when attachment creation fails.
- Added release-time version consistency checks so every package carries one unambiguous version.
0.1.4
- Renamed the plugin to KXNotes Image Paste Optimizer with the new
kxnotes-image-paste-optimizerrelease slug. - Replaced generic PHP, JavaScript, settings, script, filter, error-code, and REST identifiers with the unique
kxipoprefix. - Removed an unused WordPress media dependency and limited core file loading to the functions that require it.
0.1.3
- Fixed paste and local-image drop handling inside the modern Gutenberg iframe canvas.
- Added reliable clipboard file fallback and prevented duplicate native paste handling.
- Added drag-and-drop replacement for existing Image blocks.
- Preserved the exact RichText caret position when inserting a pasted image into a paragraph.
0.1.2
- Prepared the initial WordPress.org release metadata and directory layout.
- Replaced direct temporary-file deletion with the WordPress file API.
- Added direct-access protection and WordPress-native text sanitization.
- Added the License and readme files to the WordPress.org submission package.
0.1.1
- Added optimized screenshot pasting in Gutenberg.
- Added local image drag-and-drop into post content.
- Added drag-and-drop support for the Featured Image control.
- Added local uploads from an Image block.
- Added remote Image block URL imports.
- Added WebP, AVIF, JPEG, and original-format output.
- Added Pinyin file names generated from Chinese titles and headings.
- Added a local English slug mode.
- Added automatic alt text.
- Added permission, file-size, and MIME validation for remote URL imports.
