retched:
Will do in a bit. I want to make sure this covers both the Image Handler and main images directory.
And done. (Submitted as a PR)
# Exclude /bmz_cache for ImageHandler
RewriteCond %{REQUEST_URI} ^/bmz_cache/ [NC]
RewriteRule .* - [L]
In short, if the REQUEST_URI that starts with /bmz_cache/ (aka the main directory of ImageHandler's cache) is found, regardless of casing (the [NC]), do nothing with it... and STOP searching for more rule matches ([L]).
# Exclude /images directory in general
RewriteCond %{REQUEST_URI} ^/images/ [NC]
RewriteRule .* - [L]
In short, if the REQUEST_URI that starts with /images/ is found, ZenCart's main primary image directory, regardless of casing (the [NC]), do nothing with it... and STOP searching for more rule matches ([L]) .
It gets messy after this point if people put their images in weird, non-standard image directories.