Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    Quote Originally Posted by zch0071 View Post
    but it didn't work.
    This shouldn't really be a surprise. There is so much amiss with what you've done that its hard to know where to start.

    Lets start here:
    define('DIR_WS_IMAGES', 'http://www.xxx.com/images/');

    Other than the SERVER defines, you'll note that none of the other defines have the "http...." format (other than your addition). What makes you think you would be able to make such an obvious radical departure of the format and actually expect it to work?

    What is going to happen here is that your 'define' will simply be appended to the SERVER define (just like the others), and the final URL being requested will be
    http://yourserver.name/http://www.xxx.com/images/. Clearly not a valid URL.

    The next thing to note is the names that have been assigned to these defines, specifically, they all start with either DIR_WS_ or DIR_FS. This isn't because the developers couldn't make up their mind, it is because they signify different meanings. The "WS" indicates the path/url as seen by the webserver, and the "FS" indicates the path to the files on the host machine... IOW, one is actually a portion of a URL, the other is a portion of the file System and has nothing to do with Webservers at all.

    "$bmzConf['cachedir'] = DIR_FS_CATALOG . 'http://images.xxx.com/bmz_cache';"
    is going to end up looking for the images on the servers' own file system, under
    a pathname like "/home/youraccount/public_html/http://images.xxx.com/bmz_cache"
    Clearly, not a valid pathname.

    "DIR_FS_CATALOG.'http://www.xxx.com/bmz_cache/.htaccess'",

    I've no idea what this is supposed to be doing.

    Anyway, now that I've told you all the things you've done wrong, I guess I should attempt to tell you what you need to do to put it right.

    Alas, it isn't as simple as you are hoping. It isn't just a matter of changing these 'defines' because to do what you want you need to modify some
    of the core code to bypass the normal processing of the image code.

    Although this isn't something I've done (or attempted) for myself, I am of the understanding that at least one of the regular participants
    around here has adapted thier store to serve their images from a 3rd party site and they may be willing to step in and share.
    I've no idea if they've done this with, or without IH4 though.

    Personally, I don't see much point to do this anyway. If my hosting sites aren't up to the task of serving up its own
    images I won't hold much trust in them to host the store in the 1st place.. it'll only be a matter of time before SQL server gets overloaded (or similar), and
    the idea of moving half the site (the images) off to another server due to limits on the 1st server seems like a half assed fix to a problem that
    is best avoided in the 1st place.

    Is you next step going to be to set up a remote SQL server when your current host tells you that your store is making too many SQL queries?
    (Yes, some hosts have been know to put pressure on ZenCart merchants' due to seemingly excessive DB queries).

    Anyway, make what you will of this rant. It is not my intent to cause you offence with my critique over what your done,
    or what you wish to do. The 'mistakes' I pointed out are just a typical example of what others have also done
    in the past (and will no doubt continue to do in the future). Please don't take my comments personally.

    Cheers
    Rod

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

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    Quote Originally Posted by RodG View Post
    Alas, it isn't as simple as you are hoping. It isn't just a matter of changing these 'defines' because to do what you want you need to modify some
    of the core code to bypass the normal processing of the image code.

    Although this isn't something I've done (or attempted) for myself, I am of the understanding that at least one of the regular participants
    around here has adapted thier store to serve their images from a 3rd party site and they may be willing to step in and share.
    I've no idea if they've done this with, or without IH4 though.

    Personally, I don't see much point to do this anyway. If my hosting sites aren't up to the task of serving up its own
    images I won't hold much trust in them to host the store in the 1st place.. it'll only be a matter of time before SQL server gets overloaded (or similar), and
    the idea of moving half the site (the images) off to another server due to limits on the 1st server seems like a half assed fix to a problem that
    is best avoided in the 1st place.

    Is you next step going to be to set up a remote SQL server when your current host tells you that your store is making too many SQL queries?
    (Yes, some hosts have been know to put pressure on ZenCart merchants' due to seemingly excessive DB queries).

    Anyway, make what you will of this rant. It is not my intent to cause you offence with my critique over what your done,
    or what you wish to do. The 'mistakes' I pointed out are just a typical example of what others have also done
    in the past (and will no doubt continue to do in the future). Please don't take my comments personally.

    Cheers
    Rod
    I have to agree with this and will add the following comments.. Seems the RIGHT solution is to find a hosting provider who can better service the site without having to serve up the images from a separate domain.

    However, if the OP insists on making this solution work, he is probably going to have to seek out some professional development assistance to properly modify IH4 to use his third party image site location as opposed to the default Zen Cart image location (as IH4 is designed to use). I too am not aware of anyone making third part images with IH4.. Doesn't mean it can't be done.. It's software.. it's possible if you are willing to put time and effort (and sometimes money) into it.
    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
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    I am using ZC V1.5. After using Image Handler for over a year, I am suddenly getting


    Image Handler4
    No Image Handler information found.

    Image Manager
    Admin Tools
    Preview
    About/Help

    Uninstall Image Handler. (Please backup your site and database first)
    Clear image cache
    Scan for old IH 0.x and 1.x original images

    I cleared the cache, but still get the same as the above.

    All of the previously loaded images still work as they should.

    Do I have to uninstall IH4, and reinstall? If so, do I have to upload all of the images again?

  4. #4
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    Further information:
    When I first open Image Handler, the above appears.
    If I click on Image Manager, the first category appears as per normal. This category is working.
    If I try to go to another category, the screen appears as in my OP.

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

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    Quote Originally Posted by coopco View Post
    Do I have to uninstall IH4, and reinstall?
    Yep.. should fix things..
    Quote Originally Posted by coopco View Post
    If so, do I have to upload all of the images again?
    Nope..
    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.

  6. #6
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    Quote Originally Posted by DivaVocals View Post
    Yep.. should fix things.. Nope..
    OK, thank you for answering.

  7. #7
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    Just to let you know that the uninstall and install went like a dream and all is now well again in my shop. I also took the opportunity to install the latest version.

    Thanks again for the great contribution.

  8. #8
    Join Date
    Jun 2013
    Location
    United States
    Posts
    1
    Plugin Contributions
    0

    red flag Re: Image Handler 4 Support Thread (BEFORE YOU POST A SUPPORT QUESTION HERE)

    What image doesn't the Image Handler pop-up window show? cached large image or originally uploaded image?

    Zencart: 1.5
    Image Handler: 4.2

    It seems that my website shows originally uploaded picture. eg.
    http://www.ninesilk.com/silk-womens-...reen-p-48.html

    Should I change it to show IH4 created large picture? Is it going to be faster if the pop-up window shows cached large picture? How should I do that?

    Thank you very much.

  9. #9
    Join Date
    Dec 2006
    Posts
    121
    Plugin Contributions
    0

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

    HI all.

    I just installed this mod and for some reason after I did all the descriptions of my products disappeared.. I did everything to the "T" as the instructions stated and now I'm at a loss as to how to fix it. I've tried reinstalling the files but it didn't work.

    Please help.

    I'm running v1.5.1 and my link is www.katstamps.com here's a page with no description that I'm talking about..

    http://katstamps.com/shopping/index....roducts_id=499

    Thank you in advance.

 

 

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