-
PROPORTIONAL_IMAGES_STATUS in html_output
I'm completely baffled by this.
After spending hours walking through the code trying to get IH2 to work, I came upon this little snip of code and changed the 0 to a 1 and IH2 works fine.
The $src param passed to the zen_image function fails this logic and defaults to calling zen_image_OLD and bypasses the hook IH2 uses.
I can't figure out why this isn't working normally and why I have to make this mod here to get IH2 to do it's thing. As far as I can tell, PROPORTIONAL_IMAGES_STATUS isn't used anywhere in the source tree but for this one line.
Line #167 : // changed the 0 to a 1 for PROPORTIONAL_IMAGES_STATUS TO MAKE IH2 work...
This is the only ZC install Ive had to do this with...
Line #168 : if (strstr($src, 'includes/templates') or strstr($src, 'includes/languages') or PROPORTIONAL_IMAGES_STATUS == '1') {
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Content and Graphics Copyright (c) 2003 - 2024 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC
Bookmarks