Page 32 of 39 FirstFirst ... 223031323334 ... LastLast
Results 311 to 320 of 388
  1. #311
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,460
    Plugin Contributions
    1

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

    Hi Cindy,

    here is a product page https://www.dazzlerscliponearrings.c...lack-highlight
    some info of image on the above page from image properties (firefox)

    https://www.dazzlerscliponearrings.c...293-350-01.jpg
    575px 450px (scaled to 350px 274px)
    87.87 KB

    this is for the same image in bmz_cache

    in bmz_cache it is 13.6kb ... 2b6efbe68d90549115c80c873852605d.image.350x273

    So it appears IH may be doing its resizing task however I will leave the decision up to the expert

    Importantly though, is the way I solved the issue of the _LRG suffix the right way to do it or is there another better fix?

    cheers,
    Mike

  2. #312
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,837
    Plugin Contributions
    74

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

    Mike, could you run a quick test running the sitemapxml after editing /includes/classes/bmz_image_handler_class.php, finding this section at the top:
    Code:
    if (!defined('IH_DEBUG_ADMIN')) {
        define('IH_DEBUG_ADMIN', 'false');
    }
    if (!defined('IH_DEBUG_STOREFRONT')) {
        define('IH_DEBUG_STOREFRONT', 'false');
    }
    
    if (!defined('IS_ADMIN_FLAG')) {
        exit('Illegal access');
    }
    and changing the IH_DEBUG_STOREFRONT setting to 'true'? Once you've run the sitemap, change that back to 'false' again.

    You should find one (or more) /logs/ih_debug*.log files. You can either post the contents back here or, if they're too big or have 'sensitive' information, send me those directly.

  3. #313
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,460
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Mike, could you run a quick test running the sitemapxml after editing /includes/classes/bmz_image_handler_class.php, finding this section at the top:
    Code:
    if (!defined('IH_DEBUG_ADMIN')) {
        define('IH_DEBUG_ADMIN', 'false');
    }
    if (!defined('IH_DEBUG_STOREFRONT')) {
        define('IH_DEBUG_STOREFRONT', 'false');
    }
    
    if (!defined('IS_ADMIN_FLAG')) {
        exit('Illegal access');
    }
    and changing the IH_DEBUG_STOREFRONT setting to 'true'? Once you've run the sitemap, change that back to 'false' again.

    You should find one (or more) /logs/ih_debug*.log files. You can either post the contents back here or, if they're too big or have 'sensitive' information, send me those directly.
    Hi Cindy,

    I changed that instruction and ran the sitemap twice (I didn't ping search engines for this test, just rebuild sitemaps), 1/2 hour apart, however I am not seeing any logs at all - a good thing right? there is no sub folder in /logs/ for /ih_debug*.log ... should there be or is that just the file name that would appear? in any case, no logs thrown.

    cheers,
    Mike

  4. #314
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,837
    Plugin Contributions
    74

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

    Quote Originally Posted by shags38 View Post
    Hi Cindy,

    I changed that instruction and ran the sitemap twice (I didn't ping search engines for this test, just rebuild sitemaps), 1/2 hour apart, however I am not seeing any logs at all - a good thing right? there is no sub folder in /logs/ for /ih_debug*.log ... should there be or is that just the file name that would appear? in any case, no logs thrown.

    cheers,
    Mike
    Mike, if IH is enabled (i.e. IH resize images is 'yes'), then that's not a good thing, since each request to the IH handle_image function should result in one or more records being written.

    If IH is not enabled, then that lack of logs is expected, since IH isn't being asked to (er) handle the images.

  5. #315
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,460
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Mike, if IH is enabled (i.e. IH resize images is 'yes'), then that's not a good thing, since each request to the IH handle_image function should result in one or more records being written.

    If IH is not enabled, then that lack of logs is expected, since IH isn't being asked to (er) handle the images.
    Hi Cindy, thanks for that - so with me setting IH resize images to no to solve the _LRG suffix issue - was that the best fix or are you aware of a better fix?

    cheers,
    Mike

  6. #316
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,837
    Plugin Contributions
    74

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

    Quote Originally Posted by shags38 View Post
    Hi Cindy, thanks for that - so with me setting IH resize images to no to solve the _LRG suffix issue - was that the best fix or are you aware of a better fix?

    cheers,
    Mike
    Mike, with that change in setting, you've found a work-around but not a fix. Without seeing what's going on with the IH/Sitemapxml interaction, I've no idea what the root-cause of the issue is.

  7. #317
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,460
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Mike, with that change in setting, you've found a work-around but not a fix. Without seeing what's going on with the IH/Sitemapxml interaction, I've no idea what the root-cause of the issue is.
    Ok - I will change IH resize images to yes and then will edit /includes/classes/bmz_image_handler_class.php and run sitemap and post the resultant logs .... in the morning, it has just gone midnight here

  8. #318
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,837
    Plugin Contributions
    74

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

    Quote Originally Posted by shags38 View Post
    Ok - I will change IH resize images to yes and then will edit /includes/classes/bmz_image_handler_class.php and run sitemap and post the resultant logs .... in the morning, it has just gone midnight here
    Mike, I think I found the source of the issue. Check your site's /includes/modules/pages/sitemapxml/sitemapxmp_products.php, towards the top of the file, looking for
    Code:
    define('SITEMAPXML_PRODUCTS_IMAGES_FUNCTION', 'false'); // true false
    That value defaults to false, which causes the image-generation to bypass any IH processing. If that's the case, update that line to read:
    Code:
    define('SITEMAPXML_PRODUCTS_IMAGES_FUNCTION', 'true'); // true false

  9. #319
    Join Date
    Jan 2011
    Location
    Adelaide, Australia
    Posts
    1,460
    Plugin Contributions
    1

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

    Quote Originally Posted by lat9 View Post
    Mike, I think I found the source of the issue. Check your site's /includes/modules/pages/sitemapxml/sitemapxmp_products.php, towards the top of the file, looking for
    Code:
    define('SITEMAPXML_PRODUCTS_IMAGES_FUNCTION', 'false'); // true false
    That value defaults to false, which causes the image-generation to bypass any IH processing. If that's the case, update that line to read:
    Code:
    define('SITEMAPXML_PRODUCTS_IMAGES_FUNCTION', 'true'); // true false
    Hi Cindy - I changed admin/configuration/images to IH resize images = yes and then made that change (above) from false to true and ran sitemap and the image urls were fine, i.e. no _LRG suffix
    I then changed /includes/classes/bmz_image_handler_class.php to = 'true' and ran sitemap again - to generate logs - but again no logs.

    So it appears your last 'find' has done the trick - I will monitor sitemap over the coming week or so to ensure that it continues to behave.

    Thank you very much again, I am truly grateful for your support and I will take this opportunity to to wish you and yours all the best for the festive season.

    cheers,
    Mike

  10. #320
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    9,837
    Plugin Contributions
    74

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

    Quote Originally Posted by shags38 View Post
    Hi Cindy - I changed admin/configuration/images to IH resize images = yes and then made that change (above) from false to true and ran sitemap and the image urls were fine, i.e. no _LRG suffix
    I then changed /includes/classes/bmz_image_handler_class.php to = 'true' and ran sitemap again - to generate logs - but again no logs.

    So it appears your last 'find' has done the trick - I will monitor sitemap over the coming week or so to ensure that it continues to behave.

    Thank you very much again, I am truly grateful for your support and I will take this opportunity to to wish you and yours all the best for the festive season.

    cheers,
    Mike
    Thanks, Mike, for the follow-up. I'll add a note to the IH readme regarding the interaction with SiteMapXML. Wishing you and yours a great holiday season as well.

 

 
Page 32 of 39 FirstFirst ... 223031323334 ... LastLast

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1677
    Last Post: 1 Oct 2020, 08:28 PM
  2. Attribute image replaces main product image on select [Support Thread]
    By exoticcorpse in forum All Other Contributions/Addons
    Replies: 158
    Last Post: 24 Aug 2020, 05:07 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR