Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Sep 2006
    Location
    USA
    Posts
    291
    Plugin Contributions
    0

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    As stated this isn't spam or a plug for me. But it's the reason I opened my own. I got tired of being jerked around by the "big boys" so to speak.
    I will help anyone I can.

    Tech support with the bigger guys is null and void usually as well as they are so "big" your question isn't important since they are so cheap. You find very few web hosts that know web design as well. (I am an exception as many here are). No body can give you unlimited bandwidth or unlimited space, read the terms of service closely. Someone has to pay for it.

    I am running a store right now for a client that is using 25-45GB of bandwidth a month and had 0 downtime. (That's my plug for the end of the year).

    Happy New Year Zen!!!

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    Not that the current line of discussion isn't important or relevant, but as I stated previously, a discussion about web hosting is off-topic for this support thread. As such if the OP and anyone else wants to continue this particular discussion, I'd like to respectfully ask that it be moved to a new post as this topic is no longer about support for IH4..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    @ You Go Daddy users


    Ok this is an unsupported mod here, which may help you Go-Daddy fans

    This hasn't been heavily tested so use at your own risK

    from line 71 in your
    /includes/functions/extra_functions/functions_bmz_io.php



    PHP Code:
    function getCacheName($data$ext='') {
      global 
    $bmzConf;

      
    $md5  md5($data);
      
    $file $bmzConf['cachedir'] . '/' $md5{0} . '/' $md5.$ext;
      
    io_makeFileDir($file);
      return 
    $file;

    try replacing it with this
    PHP Code:
    function getCacheName($data$ext='') {
      global 
    $bmzConf;

      
    $md5  md5($data);
    //  $file = $bmzConf['cachedir'] . '/' . $md5{0} . '/' . $md5.$ext;
      
    $file $bmzConf['cachedir'] . '/' substr($md5,0,2) . '/' $md5.$ext;
      
    io_makeFileDir($file);
      return 
    $file;

    Currently Image Handler uses the first character of the optimised image for the sub directory name in your bmz_cache folder, so you will have 16 sub folders 0-f (hexidecimal), The change above instead take the first 2 characters of the optimised image name giving you 256 subfolders in the bmz_cache, so this should mean less images in each folder.

    And just a note, there is no point trying to take the first 3 chars as that will give you 4096 folders which might kill the hamster that runs Go-Daddy
    Last edited by nigelt74; 1 Jan 2013 at 09:06 PM. Reason: typo
    Webzings Design
    Semi retired from Web Design

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    Quote Originally Posted by nigelt74 View Post
    @ You Go Daddy users


    Ok this is an unsupported mod here, which may help you Go-Daddy fans

    This hasn't been heavily tested so use at your own risK

    from line 71 in your
    /includes/functions/extra_functions/functions_bmz_io.php



    PHP Code:
    function getCacheName($data$ext='') {
      global 
    $bmzConf;

      
    $md5  md5($data);
      
    $file $bmzConf['cachedir'] . '/' $md5{0} . '/' $md5.$ext;
      
    io_makeFileDir($file);
      return 
    $file;

    try replacing it with this
    PHP Code:
    function getCacheName($data$ext='') {
      global 
    $bmzConf;

      
    $md5  md5($data);
    //  $file = $bmzConf['cachedir'] . '/' . $md5{0} . '/' . $md5.$ext;
      
    $file $bmzConf['cachedir'] . '/' substr($md5,0,2) . '/' $md5.$ext;
      
    io_makeFileDir($file);
      return 
    $file;

    Currently Image Handler uses the first character of the optimised image for the sub directory name in your bmz_cache folder, so you will have 16 sub folders 0-f (hexidecimal), The change above instead take the first 2 characters of the optimised image name giving you 256 subfolders in the bmz_cache, so this should mean less images in each folder.

    And just a note, there is no point trying to take the first 3 chars as that will give you 4096 folders which might kill the hamster that runs Go-Daddy
    Wanted to add this.. since this is indeed an unsupported mod, I would ask that anyone who uses it and has issues take the discussion of those issues to a new thread..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Image Handler 4 (for v1.5.x) Support Thread

    Quote Originally Posted by DivaVocals View Post
    Wanted to add this.. since this is indeed an unsupported mod, I would ask that anyone who uses it and has issues take the discussion of those issues to a new thread..
    Yep any users who use the above mod/changes, go here and give you verdict/feedback
    Webzings Design
    Semi retired from Web Design

 

 

Similar Threads

  1. v158 Image Handler 5 (for v1.5.5 - v1.5.8) Support Thread
    By lat9 in forum All Other Contributions/Addons
    Replies: 749
    Last Post: 20 May 2026, 03:47 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 176
    Last Post: 14 Dec 2025, 12:55 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. v138a Image Handler 2 (for ZC v1.3.8 ONLY) Support
    By timkroeger in forum All Other Contributions/Addons
    Replies: 7098
    Last Post: 12 Oct 2014, 03:48 AM
  5. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg