Beskrivelse
Webalive Image Premium giver dig mulighed for at:
- Oprette billedindlæg (brugerdefineret indlægstype)
- Gruppere billeder i "gallerier" og "forfattere" (kategori-lignende taksonomier)
- Administrere billeder pr. galleri fra en dedikeret admin-side
- Konfigurere ramme-CSS (farve, bredde, radius, fyld)
- Angive standard forfatter- og licensmeta for billeder
- Vise gallerier via shortcode eller Gutenberg-blokke
Ændringslog
1.1.20
- Add: Post-thumbnail images displayed via Colibri (colibri-post-thumbnail-shortcode) now use object-fit: contain so the full image is visible without cropping, with the page background showing on the letterbox sides.
1.1.19
- Fix: Gallery/author grid filter returned empty — another plugin injects a malformed tax_query (AND 0 = 1) via pre_get_posts or ajax_query_attachments_args that zeroes all results. WAIP now hooks posts_where at priority 999 and removes the spurious clause, only when WAIP is actively filtering and we are inside a query-attachments AJAX call. Also moved WAIP’s ajax_query_attachments_args filter to priority 999 so it runs after other plugins.
1.1.18
- Fix: Blank media grid caused by server-forced PHP display_errors=On (PHP_INI_SYSTEM level, cannot be overridden by ini_set). WAIP now cleans the output buffer immediately before WP sends the query-attachments JSON response, preventing PHP notices from corrupting the JSON and causing wp.media to show an empty grid.
1.1.17
- Debug: Added posts_results hook to log the actual WP_Query SQL and result count during query-attachments AJAX — definitively diagnosing whether the blank grid is a query issue or a response issue.
1.1.16
- Fix: media-filter.js now logs to console BEFORE the waipMediaFilter guard — reveals if script loads but localize data is missing vs. script not loading at all.
- Fix: waip-media-filter script now declares media-views as a JS dependency for correct load ordering.
- Fix: waip-media-filter enqueue moved to Plugin::enqueue_admin_assets() (proven path) as belt-and-suspenders alongside MediaFilters hook.
- Fix: patchWpUploaderEvents() now runs synchronously at script load time — eliminates race condition where WP plupload created its uploader instance before the WAIP prototype patch.
- Add: WAIP author/gallery upload panel injected on upload.php (media library grid) so uploads from the grid can also carry WAIP terms.
1.1.15
- Fix: Prevented stale URL/top-level params from forcing empty media grid WAIP filters.
- Fix: Grid now skips hard-empty filtering when no matching attachment IDs are found.
- Improve: Added explicit WAIP media-filter console markers for deterministic browser-side verification.
1.1.14
- Improve: Auto-enabled WAIP trace in admin when WP_DEBUG is active for deterministic debugging.
- Improve: Trace now captures MediaFilters and upload handlers without requiring waip_trace URL in debug mode.
1.1.13
- Fix: Resolved empty media grid by switching WAIP filter application to direct relationship-ID matching for list and grid.
- Fix: Kept grid/list filtering deterministic with post__in constraints and request key compatibility.
- Improve: Added trace output for no-term grid requests and matched ID counts.
1.1.12
- Improve: Added opt-in WAIP trace logging for media list/grid filters and upload meta handlers.
- Improve: Added trace propagation in uploader requests via waip_trace for deterministic debugging.
- Improve: Added structured trace context for request keys, selected terms, and applied filter/query state.
1.1.11
- Fix: Reworked media library author/gallery filtering for both list and grid using stable WordPress query integration.
- Fix: Upload metadata now accepts both waipupload and waip__term_id request keys across upload flows.
- Fix: Media uploader now sends both parameter sets to keep author/gallery assignment consistent during async upload.
1.1.10
- Fix: Restored vital WAIP author/gallery filtering in both media list and grid views.
- Fix: Stabilized grid/list filtering by using matched attachment IDs without aggressive query overrides.
- Fix: Added null-safe upload title fallback in AutoAttachmentMeta to avoid null-driven string warnings.
1.1.9
- Fix: Stabilized media upload flow by avoiding fragile title/alt updates during upload-attachment AJAX requests.
- Fix: Prevented duplicate attachment processing in AutoAttachmentMeta within the same request.
- Fix: Restored primary WAIP author/gallery filter control in media grid and list views.
- Fix: Cleaned debug-noise in MediaFilters without removing author/gallery filter functionality.
1.1.8
- Fix: Resolved fatal error from duplicate declaration of Settings::get_gallery_defaults().
- Fix: Kept a single canonical get_gallery_defaults() implementation with request-level cache.
1.1.7
- Perf: Request-level caching of WAIP-status and author taxonomy lookups in ImageAuthorOverlay (reducerer DB-kald pr. side).
- Perf: Background image overlay scanner throttled og observerer nu kun relevant #colibri root i stedet for hele body.
- Perf: Settings::get_frontend_css, get_overlay_defaults og get_gallery_defaults cacher nu get_option-kald pr. request.
- Perf: Settings og TemplateRenderer genbruges nu via lazy properties i Shortcodes (undgår redundante instantieringer).
- Feat: Gallery thumbnails bruger nu medium_large som standard; lightbox viser fuld størrelse (begge kan overrides via filter).
- Feat: Thumbnail-billeder i gallery renderer rendres med loading=lazy og decoding=async.
- Feat: WAIP image shortcode/block understøtter nu image_size attribut (valideret mod registrerede WP-størrelser).
- Fix: Block-editor default billedstørrelse ændret fra full til large.
- Fix: Fjernet debug error_log kald fra admin_enqueue_scripts og pre_insert_term hook.
1.1.6
- Fix: Gutenberg WAIP blocks now load correctly in editor by using explicit editor script handles with WordPress dependencies.
- Fix: Gallery block editor stylesheet metadata now points to the correct editor CSS filename.
1.1.2
- Webalive Update Server.
1.1.1
- Webalive Update Server.
- Extended gallery
1.0.0
- Initial release.