Releases: Krafty-Sprouts-Media-LLC/Smart-Image-Matcher
Releases · Krafty-Sprouts-Media-LLC/Smart-Image-Matcher
Release list
3.4.3
Changed
- Excluded Image Filenames block featured-image auto-assign only. Those files can still be inserted next to headings.
- The exclusion list keeps the filename plus extension (
types-of-sparrows.jpg) instead of a bare slug. - Process articles and Insert all skip an image that is already in the same article, and pick the next match instead of inserting it twice.
- Excluded Image Filenames is an add/remove list with a fixed-height scroller, not a growing textarea.
3.4.2
Changed
- Settings → AI Features keeps one card. Matching (OpenRouter text), Generation (fal.ai), Vision, and Alt text are labeled groups inside it.
3.4.1
Changed
- When a text provider is connected, the article featured-image slot uses the AI score. Title, slug, and focus keyword only build the candidate shortlist. AI failure or an empty ranking no longer slug-assigns a false friend (post “Foxes” will not take
eastern-fox-squirrel.jpg). Extra article words such as diet or habitat still allow a clean subject file (american-goldfinch-winter-dietmay useamerican-goldfinch.jpg). Upload-time FIAA stays slug-only so uploads are not blocked on an API call.
3.4.0
Changed
- When a text provider is connected, article heading match and auto-insert use the AI score. Keywords only build the candidate shortlist. AI failure or an empty ranking no longer falls back to a keyword 100% insert (so “Foxes” will not auto-insert
eastern-fox-squirrel.jpg). - The post-edit matcher and the “insert best match for selected heading” command use the same AI path: opening the matcher queues AI ranking (does not run on editor load). No keyword fallback while AI is active. A failed queue returns an error instead of a keyword 100% list.
Added
- Settings → AI Features: Preferred text model (
mistralai/mistral-nemo) and Backup text model (meta-llama/llama-3.1-8b-instruct). With AI Provider for OpenRouter installed, text calls pin provideropenrouterand pass those slugs viausing_model_preference().
3.3.5
Removed
- Gutenberg Post sidebar no longer has a Smart Image Matcher panel. Use the header pin (same control) to open the matcher.
3.3.4
Added
- Posts list row actions include Generate (next to Edit / Quick Edit) so a single post can get a featured image without selecting it and using the bulk actions dropdown.
3.3.3
Fixed
- Review hid headings that already have an image in the article (including leftover editor-carousel candidates at 100%). Auto-insert now marks the heading inserted and deletes other pending rows for that heading.
- Featured slug matching treats WordPress copies (
-2,-scaled-1) as the original filename so a primary-keyword file still scores 100% (previously 88%, below auto-insert). The attachment file basename is indexed when it differs frompost_name. Short species files still lose to that exact slug; keep them on Excluded Image Filenames when they prefix a longer URL. - Admin menu icon is the original landscape silhouette again. The photo+check tile stays in
assets/icon.svgfor GitHub / wp.org only; using it in the menu made the SIM item blank.
3.3.2
Added
- Review rows show the image filename (or attachment slug) after the heading. The same name appears in the image modal.
- Excluded Image Filenames accept a full media URL (the filename is used). The same blocklist now applies to in-article heading matches, not only featured-image auto-assign. Matching is case-insensitive.
- Review: Never use on a slot adds that file to Excluded Image Filenames and rejects other open review slots that use it.
3.3.1
Added
- Review: click a thumbnail to open a larger image modal (Previous / Next / Approve / Reject). Approve all pending slots on one article, or Approve all pending in the current Review filter.
- Plugin icon: photo frame + check (admin menu SVG, plus
assets/icon.svgfor GitHub / plugin updates).
Changed
- Review cards show the first 10 headings, with a Show more control for the rest.
Fixed
- Review Approve / Reject now show Approved or Rejected on the row (green / red), with Undo. Neither action writes post content; Insert approved still does that. The image modal stays on the same heading after a decision instead of jumping away.
3.3.0
Added
- Article processor: one Action Scheduler job per post inserts strong library matches, parks the middle band for Review, and generates only in the skip band when on-demand generation is on.
- Bulk Processor is now a persistent Run | Review desk (no numbered wizard). Review is grouped by article. Operators see run labels like “Today 09:14 · 40 articles · Inserted 28 · Review 7”, never a queue hash. Review filters All pending vs Last run.
- Generate-featured Run confirms the count first (N missing featured images). Style, overwrite-featured, fal.ai recovery, and unsafe-featured cleanup live on Bulk (Run / Review) instead of the removed Featured Images page.
- Posts list bulk actions: Process articles… and Generate featured images… open Bulk Processor with the selection prefilled (admins). Editors without
manage_optionsstill get the list-screen generate modal.
Changed
- SIM admin menu is Dashboard, Bulk Processor, and Settings only. Featured Images and Review Queue pages are removed (no URL redirects). Dashboard CTAs go to Bulk Run / Review. Last run tile opens Bulk Run.
- Scheduled automation and first-publish now enqueue the article processor instead of featured-only matching.
- Generate missing featured images is a Run mode with a hard confirm modal. Manual Bulk runs enqueue
HOOK_PROCESS_ARTICLE(cancel unschedules those actions; deactivate clears them too). - Running a selection collapses filters behind Change selection.