Page 1 of 2 12 LastLast
Results 1 to 10 of 1688

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Image Handler 4 Support Thread

    Having used all of the Image Handler Versions over the years.
    I have noticed that the IH3 and IH4 admin tools
    Clear Image Cache command has never worked consistently.
    It deletes a few files, but never deletes them all and the folders as well.

    I tend to play with the images sizes and quality a lot which generates lots of cached images that I need to manually go in and delete. It has always just been an annoyance not an essential feature of this mod.

    So if you want this feature to work correctly here is the solution.
    Edit file YOUR_ADMIN\includes\functions\extra_functions\functions_bmz_io.php
    Find line 25
    PHP Code:
        while ($file $dir->read()) { 
    Change to:
    PHP Code:
        while (false !== ($file $dir->read())) { 
    Save and upload.
    The Clear Image Cache command will now work correctly.

  2. #2
    Join Date
    Aug 2006
    Location
    Kihikihi, New Zealand
    Posts
    230
    Plugin Contributions
    3

    image problem Main product medium image does not display, but additional images do in product view

    Here is the url of my problem

    Installation:
    1. zen-cart-v1.5.1-full-fileset-09182012
    2. ckeditor-412-for-zencart
    3. column_layout_grid_2_3_1
    4. CSS Horizontal Dropdown Menu With jquery
    5. Easy Attributes 1.3.91.5.0
    6. Flexible Return Authorizationv1_2
    7. friendly-bulk-upload-of-coupons
    8. quick_updates-v2.06a
    9. ultimate_seo_urls_212
    10. Image_Handler4_v4_3_2


    Information from DOM source:
    Main Image url:
    Code:
    src="images/medium/dir_name/458_MED.jpg"
    Additional Images url:
    Code:
    src="images/dir_name/458_01.jpg"
    In image handler admin:
    Product: #34 Blazer Leather Jacket - 458
    Model: Style - 458 Base directory: dir_name

    Image name File Type
    458 .jpg
    458_01 .jpg
    458_02 .jpg
    etc
    see attached screen shot
    Click image for larger version. 

Name:	IH_4.jpg 
Views:	427 
Size:	18.6 KB 
ID:	13210

    Shop Config:
    Code:
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    Admin Config:
    Code:
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    What is wrong with my configuration?

    Many thanks,

    Goshawk

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

    Default Re: Main product medium image does not display, but additional images do in product v

    Upload the largest image and IH4 will do the rest.. as has been stated many times DO NOT upload images to the medium and large folders DO NOT use the _med or _lrg in the image file name.
    Quote Originally Posted by Goshawk View Post
    Here is the url of my problem

    Installation:
    1. zen-cart-v1.5.1-full-fileset-09182012
    2. ckeditor-412-for-zencart
    3. column_layout_grid_2_3_1
    4. CSS Horizontal Dropdown Menu With jquery
    5. Easy Attributes 1.3.91.5.0
    6. Flexible Return Authorizationv1_2
    7. friendly-bulk-upload-of-coupons
    8. quick_updates-v2.06a
    9. ultimate_seo_urls_212
    10. Image_Handler4_v4_3_2


    Information from DOM source:
    Main Image url:
    Code:
    src="images/medium/dir_name/458_MED.jpg"
    Additional Images url:
    Code:
    src="images/dir_name/458_01.jpg"
    In image handler admin:
    Product: #34 Blazer Leather Jacket - 458
    Model: Style - 458 Base directory: dir_name

    Image name File Type
    458 .jpg
    458_01 .jpg
    458_02 .jpg
    etc
    see attached screen shot
    Click image for larger version. 

Name:	IH_4.jpg 
Views:	427 
Size:	18.6 KB 
ID:	13210

    Shop Config:
    Code:
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    Admin Config:
    Code:
      define('DIR_WS_IMAGES', 'images/');
      define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
      define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
      define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
      define('DIR_WS_INCLUDES', 'includes/');
      define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
      define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
      define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
      define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
      define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
      define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');
    What is wrong with my configuration?

    Many thanks,

    Goshawk
    Last edited by DivaVocals; 20 Oct 2013 at 05:38 AM.
    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.

  4. #4
    Join Date
    Aug 2006
    Location
    Kihikihi, New Zealand
    Posts
    230
    Plugin Contributions
    3

    Default Re: Main product medium image does not display, but additional images do in product v

    Hooray!!
    Fixed it!

    Somehow I had an original copy of additional_images.php inside my includes/modules/my_template, that ofcourse was not overwritten by IH.

    I found it by searching for medium/ in the Developers Tool Kit inside admin.

    Here is the culprit inside additional_images.php
    Code:
    Line #22 : $products_image_medium = DIR_WS_IMAGES . 'medium/' . $products_image_base . IMAGE_SUFFIX_MEDIUM . $products_image_extension;
    So anyone with a similar problem, this may help you solve this problem.

    Pfew!

    Goshawk

  5. #5
    Join Date
    Mar 2010
    Posts
    19
    Plugin Contributions
    0

    Default Re: Main product medium image does not display, but additional images do in product v

    I'm having a problem. I installed Image Handler and everything works perfectly except, I can't get additional images to show for products, and the footer is gone on the product pages. I have done everything it says in the read me and I even reinstalled the plugin. Can someone help me? Here is a link to one of my product pages: http://bywendygstore.com/index.php?m...roducts_id=448

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

    Default Re: Main product medium image does not display, but additional images do in product v

    Quote Originally Posted by prettyeyes1 View Post
    I'm having a problem. I installed Image Handler and everything works perfectly except, I can't get additional images to show for products, and the footer is gone on the product pages. I have done everything it says in the read me and I even reinstalled the plugin. Can someone help me? Here is a link to one of my product pages: http://bywendygstore.com/index.php?m...roducts_id=448
    Blank or incomplete pages mean there's some error which is preventing the page from fully displaying.. you need to look at your error logs and report the contents of the error log files..
    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.

  7. #7
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Main product medium image does not display, but additional images do in product v

    Hi Diva hope this finds you well...:)
    I have a question for you to see maybe you can help me in answering it. I installed image handler 4 on a clients website yesterday newh zen cart 1.5.1 site. I set all the setting on the image page to 100 and all the images enlarge nicely, but now today they are the same size as the original picture. My brain is tired trying to figure this out. I'm using the abbington mega template. There where no addon when installing the module at the time. The site is here

    Thanks in advance.
    Last edited by countrycharm; 4 Dec 2013 at 04:10 PM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #8
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Main product medium image does not display, but additional images do in product v

    Never mind Diva, I had some settings under configuration wrong along with some of the pictures that where upload are very small. I guess my clients is going to have to upload bigger pictures if he want image handler to enlarge them like there suppose to be.
    Last edited by countrycharm; 4 Dec 2013 at 07:59 PM.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  9. #9
    Join Date
    Jul 2005
    Location
    Tennessee, USA
    Posts
    14
    Plugin Contributions
    2

    Default Re: Image Handler 4 Support Thread

    https://www.zen-cart.com/showthread....22#post1222022

    Clear Image Cache fix worked for me. Image Handler 4 for v1.5.x - Version: v4.3.2 on Zen Cart 1.5.5a PHP/5.6.23

    This was posted 10/11/2013. Today is 8/16/2016. Wonder why this hasn't been fixed in current download? I'm definitely not a pro at this stuff (currently a part-time w3schools.com attendee) but seems like it would have been included by now. Thanks gilby.
    Last edited by jeffwebb; 17 Aug 2016 at 04:55 AM.

  10. #10
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: Image Handler 4 Support Thread

    Quote Originally Posted by jeffwebb View Post
    https://www.zen-cart.com/showthread....22#post1222022

    Clear Image Cache fix worked for me. Image Handler 4 for v1.5.x - Version: v4.3.2 on Zen Cart 1.5.5a PHP/5.6.23

    This was posted 10/11/2013. Today is 8/16/2016. Wonder why this hasn't been fixed in current download? I'm definitely not a pro at this stuff (currently a part-time w3schools.com attendee) but seems like it would have been included by now. Thanks gilby.
    Sorry for asking this question here..... I tried a lot but could not search for my question's answer.

    I installed IH4 recently on my new zencart 1.5.5 installation ... It seems to be working very fine on my laptop .. but in mobile phone view, the product info page is not opening up completely. there is no add to cart button and other links and images.
    just the categories list and the product image is showing.

    can you please help me in this regard?
    thanks in advance.

    muteyaar
    www.cottonfabrics.in

 

 
Page 1 of 2 12 LastLast

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