Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

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

    Quote Originally Posted by DivaVocals View Post
    IH4 ususally improves a site's performance.. So if you are experiencing some slowing I have to wonder if there isn't something else on your site that is causing it?? Post a link and we can give you a better idea..

    You will not be able to use any kind of image zooming tool with the IH4 image hovering without some serious re-engineering of one or both tools to allow both to work together.. (it's on of the BIG reasons why zoom on the medium product image doesn't work in IH4)
    Hi Diva (weif & nicol too!)

    Thank you for the responses.

    Yes, I figured first time loading a page would have a hit as the cache was created, and that is very obvious. It could be browser or even something in how apache is set.

    I can confirm that magiczoom does not work perfectly out of the box with IH4. There seems to be some conflicts in variable name use and creation between the two modules. I keep getting an E_Error warning from PHP when the two are enabled together, but each run fine independently.

    Unfortunately, magiczoom uses compiled javascript, so tracking down the conflict is made much more difficult.

    Nice effects though!

  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

    Quote Originally Posted by chadderuski View Post
    Hi Diva (weif & nicol too!)

    Thank you for the responses.

    Yes, I figured first time loading a page would have a hit as the cache was created, and that is very obvious. It could be browser or even something in how apache is set.

    I can confirm that magiczoom does not work perfectly out of the box with IH4. There seems to be some conflicts in variable name use and creation between the two modules. I keep getting an E_Error warning from PHP when the two are enabled together, but each run fine independently.

    Unfortunately, magiczoom uses compiled javascript, so tracking down the conflict is made much more difficult.

    Nice effects though!
    Try a different module then.. niccol's suggestion:
    Quote Originally Posted by niccol View Post
    i do know that jqzoom plays nice with IH and there is a thread in which i am beinb persuaded to turn some code snippets into a proper module. search and you will find 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
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Merging Files

    Some files that IH modifies are core files. This means that IH overwrites the existing files that Zen uses. If your site has no modifications to these files then there are no problems. If your installation has existing modifications to you files then you will have to carefully merge the existing modifications with the modifications that IH makes. There are a number of ways of approaching this.

    As always the best recommendation is to do this on a development version of your site. If you are serious about running your store it is always worth having a second version of the store so that you can experiment on that first. I know that this seems like a lot of work but it really is worth it and does not actually take that much time.

    =======================

    Route 1

    This works for installations that have no modifications.

    Just install IH and it will work. If your admin is in a language other than english then read this thread for instructions.
    =======================

    Route 2

    This works well if you know that you have files to merge and is a good option if you don't know if you have merges to do.

    Install as normal. The installer will create backups of any files it overwrites. So, just go for it. Then check your site. If everything is working well then you are good to go and you didn't need to do merges.

    If problems have been created it probably means that you have merges to do. So, you can look on the server and find the backup versions of the files that have been created. Download the backup version (this will have your previous modifications). Download the active version ( this will have the IH modifications) . Merge these two files and upload the result as the active file.


    =======================

    Route 3

    This is the way to go if you know that you have merges to do.

    Read Diva's post above and see which IH files are equivilant to which Zen files. It is not a complex pattern! Then merge your modifications into the appropriate file in the IH installation files.

    For instance if you have existing modifications in

    /YOUR_ADMIN/includes/modules/category_product_listing.php

    merge them with the installation file

    /YOUR_ADMIN/includes/modules/category_product_listing_IH4.php

    Then install as normal.

    =======================

    What happens during install is this:

    • The files are uploaded to the 'wrong' place.
    • A backup of your existing files is created
    • Then your files are overwritten


    The logic is based on the fact that less experienced users have been known to upload files and overwrite existing file modifications. And those modifications may or may not be correctly backed up. There is potentially no recovery from this. Creating a backup before overwrite means that recovery is possible. However, to allow files to be backed up the IH files cannot be uploaded into the 'right' place because that is potentially destructive. So, they are put in an alternate position and then moved into the right place once the backup has been created.

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

    Default Re: Merging Files

    Quote Originally Posted by niccol View Post
    Some files that IH modifies are core files. This means that IH overwrites the existing files that Zen uses. If your site has no modifications to these files then there are no problems. If your installation has existing modifications to you files then you will have to carefully merge the existing modifications with the modifications that IH makes. There are a number of ways of approaching this.

    As always the best recommendation is to do this on a development version of your site. If you are serious about running your store it is always worth having a second version of the store so that you can experiment on that first. I know that this seems like a lot of work but it really is worth it and does not actually take that much time.

    =======================

    Route 1

    This works for installations that have no modifications.

    Just install IH and it will work. If your admin is in a language other than english then read this thread for instructions.
    =======================

    Route 2

    This works well if you know that you have files to merge and is a good option if you don't know if you have merges to do.

    Install as normal. The installer will create backups of any files it overwrites. So, just go for it. Then check your site. If everything is working well then you are good to go and you didn't need to do merges.

    If problems have been created it probably means that you have merges to do. So, you can look on the server and find the backup versions of the files that have been created. Download the backup version (this will have your previous modifications). Download the active version ( this will have the IH modifications) . Merge these two files and upload the result as the active file.


    =======================

    Route 3

    This is the way to go if you know that you have merges to do.

    Read Diva's post above and see which IH files are equivilant to which Zen files. It is not a complex pattern! Then merge your modifications into the appropriate file in the IH installation files.

    For instance if you have existing modifications in
    /YOUR_ADMIN/includes/modules/category_product_listing.php

    merge them with the installation file
    /YOUR_ADMIN/includes/modules/category_product_listing_IH4.php

    Then install as normal.

    =======================

    What happens during install is this:

    • The files are uploaded to the 'wrong' place.
    • A backup of your existing files is created
    • Then your files are overwritten


    The logic is based on the fact that less experienced users have been known to upload files and overwrite existing file modifications. And those modifications may or may not be correctly backed up. There is potentially no recovery from this. Creating a backup before overwrite means that recovery is possible. However, to allow files to be backed up the IH files cannot be uploaded into the 'right' place because that is potentially destructive. So, they are put in an alternate position and then moved into the right place once the backup has been created.
    Nick if you don't mind I would like to use this nearly verbatim in the readme docs..

    Though there ALREADY is information in the docs that cover file merging (including the table I posted), it does appear that for some there is a bit of uncertainty about how to go about this..
    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
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Merging Files

    of course

  6. #6
    Join Date
    Mar 2006
    Posts
    283
    Plugin Contributions
    0

    Default Re: Merging Files

    zc 1.5.0
    We have an automation script that populates our store from a remote feed. It brings in 1 image per product from the remote server and puts them in a directoy ( we define which directory). These images are about 500 x 500 and about 75k.

    Can image handler help automatically create the smaller image of this? I notice my page load times are large because images are being scaled instead of using actually smaller images for the thumbs.

    Thank you
    22 stores and counting! Ive been zenned.

  7. #7
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Merging Files

    @makenoiz

    yes.

 

 

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