[XTR] Watermark Pro

Paid [XTR] Watermark Pro 1.0.8

Release Notes

This update contains crucial structural fixes for the "Permanent Watermark" and "Batch Process" features of the add-on. We have completely resolved issues where permanent watermarks were not being instantly applied to newly uploaded images, and the Batch Process tool failing to correctly rebuild existing watermarks.

Changelog

  • Fixed: Resolved a critical timing issue during the XenForo AttachmentData saving cycle where the "Permanent Watermark" was failing to apply during new image uploads even when the option was enabled. Watermarks are now flawlessly applied the exact moment an image is uploaded.
  • Fixed: Fixed a bug where the original (unwatermarked) version of an image was not being saved to the system backups (watermark_backups) when a permanent watermark was applied during the initial upload.
  • Fixed: Prevented the "Batch Process" rebuild tool from stacking watermarks. Previously, when attempting to rebuild permanent watermarks, the system would mistakenly apply the new watermark over the already watermarked image. It now correctly fetches the pristine original backup to perform a clean and accurate rebuild.
Release Notes

This update includes comprehensive improvements to the add-on's image processing engine (GD Library integration) along with critical system stability bug fixes. We have completely resolved issues related to XenForo crashing when processing malformed PNG images from external sources, the loss of transparency at 100% opacity settings, and the appearance of black backgrounds on palette-based (PNG-8) images. Additionally, the stability of the Batch Watermark operations has been significantly improved. We strongly recommend all customers using this add-on to upgrade to this version to ensure perfect visual integrity.

Changelog
  • Fixed: Resolved an issue where the [E_WARNING] imagecreatefrompng() error, triggered by the libpng library when processing PNG images with invalid sRGB color profiles (iCCP), caused the XenForo error handler to crash.
  • Fixed: Resolved the issue of black/white boxes appearing when watermarks are applied to palette-based (PNG-8) images while the XenForo "Do not optimize images" option is active. The add-on now dynamically converts palette-based images to TrueColor format prior to processing, perfectly preserving alpha transparency channels.
  • Fixed: Fixed a bug where transparent PNG and WebP watermark images would render with a solid black background when the Watermark Opacity was set to exactly 100% in the options. Advanced mathematical alpha blending (Porter-Duff Alpha Compositing) has now been implemented for all opacity levels.
  • Fixed: Improved the error handling (Exception/Throwable logic) within the background "Batch Watermark" job to align with modern PHP architecture. The job will no longer fail silently upon encountering corrupted images; instead, it will log the issue and seamlessly continue processing the remaining images.
  • Fix: Addressed an asset path issue in remote file systems (S3/R2) installations that caused Image Watermark renders to be skipped and cancelled.
  • Fix: Resolved a fallback scaling bug which prevented externally hosted
    Code:
    Dear Guests, welcome! Please, Log in or Register to view hide content!
    fonts from being read, forcing the watermark text into XenForo's tiny default built-in font.
  • Fix: Fixed the core directory scanner loop failure that was causing Cache, Backup, and Stats data to incorrectly return "0" on environments using cloud (Abstract) storage.
  • Improvement: Made XenForo Flysystem directory loops fully compatible with
    Code:
    Dear Guests, welcome! Please, Log in or Register to view hide content!
    paradigms to safeguard against future XenForo core structural updates.
  • Cleanup: Removed obsolete and unused legacy code blocks to optimize the memory workload and maintain clean structure.

This release contains critical system fixes designed specifically for administrators utilizing external cloud storage infrastructures (Abstract File Systems) such as Cloudflare R2 and AWS S3. Widespread issues like image watermark logos failing to load, custom font sizes being ignored, and statistic counters continually displaying zero have been comprehensively resolved.

Essential backward and forward stabilization has also been added to the XenForo core Flysystem iterations.
  • Fixed: Resolved the undefined array key 'type' and 'path' PHP warnings triggered within Flysystem iterations when interacting with empty or malformed remote buckets (e.g., DigitalPoint Cloudflare R2 adapter).
  • Improved: Highly strengthened directory verification checks (has() validations) specifically accommodating Object Storage APIs (where strictly physical cache directories do not exist natively).
  • Improved: Restored 100% adherence to XenForo Core temporary filesystem handler (`\XF\Util\File::getTempFile()`), ensuring all watermark generation processes safely exploit XF’s internal `register_shutdown_function` for stable Garbage Collection, preventing infinite storage leak.

This update includes crucial stability fixes specifically designed for administrators offloading their internal data onto Cloudflare R2 / AWS S3 environments (such as via the DigitalPoint Addon), alongside core enhancements.

Upon thorough investigation into recent support queries regarding compatibility with Cloud Object Storage solutions (S3), we discovered that abstracted remote storage API iterations occasionally fail to return strictly defined data keys. This eventually leads to invisible backend lockups preventing watermark generations.

By reinforcing XenForo's Flysystem iteration checks with highly defensive validation routines, Cloudflare R2 integrations now function flawlessly without bypassing native processes.

Additionally, the temporary file rendering mechanics have been fully realigned with XenForo's core Garbage Collection services ensuring no orphaned cache or temporary image files linger on the disk regardless of successful or failed processes.
  • Fix: Resolved an issue where "Apply watermarks for content types" checkboxes were automatically re-selected and saved after clicking the save button.
  • Improvement: Added a dedicated verification layer for content type data processing to ensure consistent persistence.
  • UI/UX: Standardized the content type selection interface using native XenForo UI components for better reliability across different browser environments.

This update addresses a critical UI/UX issue in the Admin Control Panel where content type selections for watermark application were not persisting correctly. We have implemented robust data validation to ensure your settings are saved exactly as intended.
  • Fixed: Resolved an issue in the Admin Control Panel where the "Test Watermark" tool inadvertently rendered identical original and watermarked comparison images.
  • Changed: Enhanced the core Service layer to conditionally enforce watermark application recursively without requiring strict database attachment constraints during tests.

This maintenance release addresses a logical edge case involving the "Test Watermark" preview system within the Admin Control Panel.

Previously, administrators observed identical images on the test pane because the simulation relied on a temporary file that lacked actual XenForo attachment metadata (AttachmentData). As a result, the backend engine quietly skipped the watermarking procedure to faithfully comply with content-type validity checks and exclusion filters, even though the add-on continued to work normally on front-end uploads.

This version introduces an internal behavioral adaptation in the core Watermark Service layer. It now reliably bypasses restrictive environment validations exclusively during test runs, ensuring that you can predictably and immediately preview your customized watermarks without actually committing a real image database record to your forum.
  • SEO indexing issues with dynamic watermark image endpoints
  • Added proper X-Robots-Tag headers to watermark URLs
  • Enhanced SEO compatibility for watermarked images
  • Optimized search engine crawling behavior

This update resolves Google Search Console warnings that were occurring when watermark image URLs were being crawled but not indexed. The addon now includes proper SEO headers (X-Robots-Tag: noindex, nofollow, noarchive) to prevent search engines from attempting to index dynamic watermark URLs.

This improves your site's SEO health and eliminates unnecessary crawl warnings in Google Search Console while maintaining full watermark functionality and performance.
  • Fixed broken image display in XFRM resource editor pages
  • Resolved 404 errors for watermarked images during resource editing
  • Improved editor context detection for XenForo Resource Manager
  • Enhanced attachment handler compatibility with XFRM content types
  • Optimized watermark system performance in editor environments

This update resolves the issue where watermarked images appeared broken in XFRM (XenForo Resource Manager) resource editing pages. This improvement enhances the user experience for resource authors while preserving all watermark security and customization features.

Support:

If you need assistance, feel free to contact us or create a support ticket.


We are always here to assist our customers and are happy to help resolve any issues you may encounter.
Initial version

Initial version
Back
Top