Blog Sections Open

Preventing DirectResize from Touching TV and multiTV Images

How to keep DirectResize active for editor content images while excluding TV-based and multiTV-based uploads that should stay untouched.

DirectResize is convenient when it targets editor-inserted content images, but it becomes risky if it also processes uploaded files from TVs or multiTV fields that were meant to stay in their original dimensions.

What to Separate

  • content images inserted through the rich-text editor
  • uploaded media used as structured data in TVs or multiTV

If both flows go through the same resizing rule, sooner or later a product image, gallery asset, or reference file gets altered unexpectedly. The safer approach is to scope DirectResize only to the upload paths or editor flows where resizing is genuinely required.

Newer post

Responding to a jQuery ScrollTo Malware Infection

Why a compromised third-party script can infect multiple sites at once and what to audit after discovering malicious code inside jQuery.ScrollTo.

Older post

Cleaning Up Repeated .htaccess Malware Infections

How to respond when malicious rewrite rules keep reappearing in <code>.htaccess</code> and simple file cleanup is not enough.