Page 454 of 710 FirstFirst ... 354404444452453454455456464504554 ... LastLast
Results 4,531 to 4,540 of 7099
  1. #4531
    Join Date
    Sep 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    I am having the same problem you experienced. Did you find a solution?

  2. #4532
    Join Date
    May 2006
    Posts
    725
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Hello there,

    Is it possible to have the "IH resize images" for the small images only instead of of all of them?

    Thanks...

  3. #4533
    Join Date
    Jan 2008
    Posts
    38
    Plugin Contributions
    1

    Default Re: Image Handler 2 Support

    Great mod...have been using it for a couple years now, and love it.

    One quick suggestion for modifying Image Handler so that you have more control over which images are zoomed.

    To the zen_image function implemented by IH (includes\functions\html_output.php), add a $zoom parameter:

    function zen_image($src, $alt = '', $width = '', $height = '', $parameters = '', $zoom = '') {

    Pass it to the handle_image function:

    $newimg = handle_image($src, $alt, $width, $height, $parameters, $zoom);

    Then add it to the handle_image function (includes\functions\extra_functions\functions_bmz_image_handler.php):

    function handle_image($src, $alt, $width, $height, $parameters, $zoom = '')

    $parameters = $ih_image->get_additional_parameters($alt, $ih_image->canvas['width'], $ih_image->canvas['height'], $parameters, $zoom);

    And then finally, add it to the get_additional_parameters function (\includes\classes\bmz_image_handler.class.php):

    get_additional_parameters($alt, $width, $height, $parameters, $zoom = '')

    if ($zoom === true || ($zoom !== false && $ihConf[$this->sizetype]['zoom'])) {

    Then, you can manually specify zoom behavior in your templates by just adding the $zoom parameter, setting to true (or disable zoom behavior by setting it to false):

    zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, '', $zoom = true)

    Just a thought. Apologies if anything similar has already been proposed or implemented, or if this is the wrong place to post this.

  4. #4534
    Join Date
    Sep 2009
    Posts
    254
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Nevermind, I think I figured it out. I will let you know if I didn't! hahaha. ;)
    Last edited by lauriesscraps; 24 Nov 2009 at 12:40 AM.

  5. #4535
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by Earnest-Enterprises View Post
    I have just installed IH2 and everything is fine with the exception of the zoom image being WAY up and on the very top left of my screen, even well above the top header of my home page. I HAVE searched this thread and the closest solution I can find is a fix for IE that is supposed to fix this issue. While I do default to using IE I also loaded my site with FF and get the same result so I don't think it's an IE issue. The image is barely visible when I mouse over a product on my main page in the upper left of the screen and the first time I tryit, my entire home page drops down to make room for the zoom image..... I can see a small corner of the zoom pic but that's about it.

    Here's the link I found for the IE fix but it's apparently dead now.

    http://forum.zen-cart.com/showpost.p...postcount=1252

    Any idea why my zoom graphic is nowhere near being around or near the graphic I moused over? I tried all the southwest, northeast, etc. settings but makes no diff.

    Thanks in advance for any help.

    R.
    A link helps us help you.

    That said, check that you uploaded all the files.
    Sound like you missed one (style_imagehover.css).

    M

  6. #4536
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Hi

    I have a problem and i have not found answer.

    Files are generated very well. But links to images are generated in bad way by IH2.

    There are no slashes

    http://homeideas.pl/bmz_cacheee01c7c...age.100x62.jpg

    http://homeideas.pl/bmz_cache/e/e01c...age.100x62.jpg

    Link should look like second one.

    I have no idea wats wrong. I triend to repair it in file functions_bmz_io.php


    Line 76
    $file = $bmzConf['cachedir'] . '/' . $md5{0} . "\/" . $md5.$ext;

    As you see i triend to change slashes there when '/' i change to "\/" effect is that this slash is in link but as 5%C something like that.

    Whats wrong, how to repair that, please help.

  7. #4537
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    *** SOLUTION TO A PROBLEM I HAD ***

    Quite some time ago I posted a problem I had with IH2 because of PHP version installed on my server. The problem resulted in some permission errors and didn't let IH2 work properly at all.

    So heres the solution for whom may have the same problem!

    First of all, it didn't seem to be the PHP version causing the problem even tho using PHP version 5.2.9 and below is the current recommendation. The problem was a few PHP functions set to be DISABLED in the PHP.INI which determines PHP settings on your server. Removing some functions that were DISABLED finally solved the problem!



    Thing about this problem is that it doesn't relate to your version of IH2, older or newer. Its a problem that can come up to anyone now or in the future so therefore I realized I should post up the solution to help others.

  8. #4538
    Join Date
    Oct 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Yes, but how to check which function exactly is the source of problem?

    PS: i do not use PHP.ini i have default hosting settings, so... stil have no idea what to do

  9. #4539
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by llukasz View Post
    Yes, but how to check which function exactly is the source of problem?
    Easy, remove them one by one until problem is solved and there you go...

    These functions were disabled and after removed problem was solved:

    Code:
    disable_functions = exec,mkdir,shell_proc,shell_exec,system
    Last edited by Asdesign; 24 Nov 2009 at 10:53 PM.

  10. #4540
    Join Date
    Jun 2009
    Location
    Israel
    Posts
    161
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    I'm getting crazy with IH2

    Just when I thought problems were over it seems to stay. I have IH2 Rev 7 installed with latest Lightbox version.

    My images folder contains a bunch of folders with manufacturers names so when I upload an image to a product (using IH2) I choose the right folder before uploading the image. What then happens is, I go to the product's page and no image appears. A quick check revealed its looking for the picture under images/medium/levono(for example)/xxx.jpg. Looking at this folder using FTP shows there no image there. I thought IH2 suppose to take one image and generate it for all sizes?!...The only solution I found to this was modifying 'tpl_main_product_image.php' so it doesn't look for the images under medium or large folders, but this is absord since I thought IH2 suppose to work with these files out of the box. I noticed that the only files regarding functionality of main product image and additional images are the ones under the 'modules' folder.

    Thats one problem actually. The other problem is that IH2 doesn't seem to intiate Lightbox, its just using the old POPUP.

    Would appreciate any help with this.

    PS,
    Main PHP issues with IH2 were over but I still get this error when I go into IH2.

    "Warning: strstr() [function.strstr]: Empty delimiter. in /home/xxx/domains/xxx/public_html/includes/classes/bmz_image_handler.class.php on line 128"

    I checked the file and its a stock version of the IH2 installation.

    Funny thing, on another cart with IH2 I have on the server I get no errors at all.

 

 

Similar Threads

  1. 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
  2. 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
  3. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM
  4. Image handler only covers part of screen
    By shaneburton in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 May 2009, 07:15 PM
  5. Is Image Handler the only way to go?
    By wwwursa in forum Installing on a Windows Server
    Replies: 2
    Last Post: 23 Dec 2007, 09:22 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