Results 1 to 10 of 750

Hybrid View

  1. #1
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    829
    Plugin Contributions
    0

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

    Quote Originally Posted by lat9 View Post
    Again, "old" isn't helpful; what version of IH are you referring to?

    There's no "small" folder, it's just the base /images{/subdirectory} directory.

    Give me a link to the documentation that refers to "zoom watermarks".
    Ok the old module was called image manager version 1.9 that I know of and this is in the file on what it does:

    Basically, Image Manager has two main functions:

    1. Management of images, attached to products
    Image Manager will provide a list of all files, that are present in the images folder and are attached to a product.
    This includes additional files.

    The following filters/sort orders can be applied:
    - show products with status on or off or show all products
    - show image as a link or show thumbnail
    - show images that are present on all levels (small, medium and large) and have the appropriate size, show images that
    don't, or show all
    - sort order on folder/filename, on product ID or on size of the large image
    - select images of one specific product

    On each image, the following actions can be performed:
    - Create a medium size image, if it doesn't exist yet, and if the small image meets the size-requirements for medium
    size images
    - Create a large size image, if it doesn't exist yet, and if the small image larger than the size-requirements for
    medium size images
    - Resize an existing medium size image if too large
    - Resize an existing small size image if too large (only if both medium and large images exist)
    - Resize an existing large image, if too large according to the configuration settings
    - Upload an image from the local computer to replace an existing image. After uploading the image can be copied/resized
    with the functions mentioned above
    - Apply a watermark, if not already done while copying/shrinking the image. This is only available for sets of properly
    sized images, and if a watermark file is present at that level. See the remarks on watermarking
    - Delete a medium or large size image (small images cannot be deleted, they are deleted on removal of the product)
    - Delete a small additional image

    If the selection is made to show only the images of one product, IM will show a link to upload additional images for this product.
    The link will show up beneath the list of images, and only if folders, access rights and configuration values permit this.

    The products link to their 'edit product' page, to provide access to product details. Images that are attached to
    multiple products will show all these products in the products column.

    Image Manager will also check for the existence of the necessary folders and check access rights.
    Non existent folders will be automatically created, if Image Manager has sufficient rights to do so.

    2. Management of images, not attached to products
    Image Manager will provide a list of all files, that are present in the image folder and subfolders. Both main image files
    and additional images of products will be excluded from the list. The additional files are recognized following the naming
    instructions in the Zen-Cart Tutorials/FAQ (see http://tutorials.zen-cart.com/index.php?article=58).
    It excludes some folders that are known to have other uses, other folders can be excluded by configuration option.
    The option to show a link or a thumbnail, or show the thumbnail of the file when hovering the mouse over the filename,
    is also functional here.
    A link is provided to delete the file.
    Also, each image has a checkbox to select for multiple delete. After clicking 'Send' you will be asked for confirmation,
    and the removal will be done.
    Outdoorking
    Live Site www.outdoorking.com.au

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,902
    Plugin Contributions
    96

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

    Image Manageris quite the different animal/plugin from Image Handler. Further discussion of "Image Manager" should be in that add-on's support thread (which may or may not exist).

  3. #3
    Join Date
    Aug 2008
    Location
    Sydney Australia
    Posts
    829
    Plugin Contributions
    0

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

    Quote Originally Posted by lat9 View Post
    Image Manageris quite the different animal/plugin from Image Handler. Further discussion of "Image Manager" should be in that add-on's support thread (which may or may not exist).
    If it is different then why does it have the same basic layout.

    The only difference that I can see is that image handler does not check images for products which would say to me that half the old module was cut out.

    Why is so.
    Outdoorking
    Live Site www.outdoorking.com.au

  4. #4
    Join Date
    Jan 2005
    Posts
    55
    Plugin Contributions
    0

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

    Quote Originally Posted by Bruce1952 View Post
    Ok the old module was called image manager version 1.9 that I know of and this is in
    Its some kind of fork from IH2 (!) by some guy called boudewijn => https://www.zen-cart.com/showthread....-Manager-addon

    This plugin hasn't been worked on anymore for the last 10+ years.

  5. #5
    Join Date
    May 2005
    Location
    England
    Posts
    740
    Plugin Contributions
    0

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

    Hi there,
    I am just eliminating log errors, I noticed the following for IH:-

    --> PHP Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /includes/classes/observers/ImageHandlerObserver.php on line 82.
    I know this is because I am on php 8.3, but just thought I would see if there was a possible quick fix? Thanks in advance.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,902
    Plugin Contributions
    96

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

    Quote Originally Posted by HeathenMagic View Post
    Hi there,
    I am just eliminating log errors, I noticed the following for IH:-



    I know this is because I am on php 8.3, but just thought I would see if there was a possible quick fix? Thanks in advance.
    First, that's not the full log, since the full log would show the page (and product number) being displayed. It would also help to know what version of Zen Cart is in use.

    That log's implying that the associated product's $products_name is NULL and I'm surprised that you're not seeing other logs for the page. Let me know the Zen Cart version and I'll get you a correction.

  7. #7
    Join Date
    May 2005
    Location
    England
    Posts
    740
    Plugin Contributions
    0

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

    Quote Originally Posted by lat9 View Post
    First, that's not the full log, since the full log would show the page (and product number) being displayed. It would also help to know what version of Zen Cart is in use.

    That log's implying that the associated product's $products_name is NULL and I'm surprised that you're not seeing other logs for the page. Let me know the Zen Cart version and I'll get you a correction.
    Hi there, sorry I should have mentioned. I am on 2.01 zencart and php 8.3. I will try and find the log again, I clear after a few logs pile up again. But I will get back with a full one, sorry about that. I think as it was from one log with an unrelated warning, I did too small a snippet.

  8. #8
    Join Date
    May 2005
    Location
    England
    Posts
    740
    Plugin Contributions
    0

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

    Am struggling to find that log again, it must be a particular action that triggers it. But I found this one whilst I was waiting for that log to come up:-
    25-Jun-2025 06:27:51 Europe/London] Request URI: /products_all?products_id=20890&view=rows, IP address: 207.46.13.17, Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/classes/observers/ImageHandlerObserver.php(82): addslashes()
    #2 /includes/classes/traits/NotifierManager.php(106): ImageHandlerObserver->update()
    #3 /includes/functions/extra_functions/wt_wokiee_template_functions.php(597): base->notify()
    #4 /includes/functions/extra_functions/wt_wokiee_template_functions.php(819): wt_wokiee_additional_images()
    #5 /includes/modules/****/product_listing.php(168): get_wt_wokiee_product_content()
    #6 /includes/templates/****/templates/tpl_modules_product_listing.php(10): include('/home/****/...')
    #7 /includes/templates/****/templates/tpl_products_all_default.php(40): require('/home/****/...')
    #8 /includes/templates/****/common/tpl_main_page.php(167): require('/home/****/...')
    #9 /index.php(94): require('/home/*****/...')
    --> PHP Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in /includes/classes/observers/ImageHandlerObserver.php on line 82.

  9. #9
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,902
    Plugin Contributions
    96

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

    Quote Originally Posted by HeathenMagic View Post
    Am struggling to find that log again, it must be a particular action that triggers it. But I found this one whilst I was waiting for that log to come up:-
    Thanks for that. It appears that /includes/functions/extra_functions/wt_wokiee_template_functions.php, on line 597, is issuing a non-standard notification that IH is watching for. The base code issues that notification out of /includes/modules/additional_images:
    Code:
            // -----
            // This notifier lets any image-handler know the current image being processed, providing the following parameters:
            //
            // $p1 ... (r/o) ... The current product's name
            // $p2 ... (r/w) ... The (possibly updated) filename (including path) of the current additional image.
            //
            $GLOBALS['zco_notifier']->notify('NOTIFY_MODULES_ADDITIONAL_IMAGES_GET_LARGE', $products_name, $products_image_large);
    That log implies that the notification is being issued with a non-string $products_name parameter.

    You can update IH's /includes/classes/observers/ImageHandlerObserver.php, starting at line 75, to add the string-casts highlighted below to work-around that issue:
    Code:
                case 'NOTIFY_MODULES_ADDITIONAL_IMAGES_GET_LARGE':
                    $products_name = (string)$p1;
                    $products_image_large = (string)$p2;
                    if (ih_image_supported($products_image_large) === false) {
                        return;
                    }

 

 

Similar Threads

  1. 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
  2. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  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