Page 34 of 39 FirstFirst ... 243233343536 ... LastLast
Results 331 to 340 of 385
  1. #331
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Jquery Zoom [Support thread]

    Sorry, a bit snowed under at the moment.

    Basically, the 'magic' happens in function zen_image . In there there is a function 'handle_image' which acts as a hook for all the IH stuff. Or any other image manipulation you might want to do. So, that is where IH hooks into the existing system.

    But :

    below $products_image_large for the additional image in the loop is defined as
    images/large/file_a.jpg
    Don't understand what you are saying here. where is 'file_a.jpg' coming from?

  2. #332
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    just using that as an example..

    I looked at some more of the code and I think my assumption is correct. I think basically it works when the file is not found.

    show the link still points to

    images/large/thefile.jpg

    when it doesnt exist it creates the cache version and uses that for it there after..

    so the links dont actually need to change, its just the physical checking to see if the file exists needs to be removed.

    When i get some time I will re-write for you to test.
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Jquery Zoom [Support thread]

    Well, I am absolutely the wrong person to test that. As I said I don't use IH.

    But I am not sure of the point you are making. IH works anywhere a call is made to handle_image. The heavy lifting is done in the ih_image class.

    The handle image where some of the logic is found is in functions_bmz_ something-or-other

  4. #334
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    Quote Originally Posted by niccol View Post
    Well, I am absolutely the wrong person to test that. As I said I don't use IH.

    But I am not sure of the point you are making. IH works anywhere a call is made to handle_image. The heavy lifting is done in the ih_image class.

    The handle image where some of the logic is found is in functions_bmz_ something-or-other
    Don'y worry I know what I mean :oD

    Sorry actually I think its chad that uses it. chad will have to be the test driver once i've re-written.

    the point i was making is I was tryin gto understand the trigger for creating and calling cache images. the answer is within the zen_image as you say, when you request an image that doesnt exist in the large directory. i.e images/large/image.jpg it triggetrs it from there and sets the size based on if you were looking in the medium folder of the large folder.

    So where as the current code checks for a large file that exisits, and when it doesnt it checks for a medium, and when it does it uses the base image IH actuallt removes this logic so that regardless whether or not there is a large image in the directory images/large/ it will still use that in the zen_image function... then all the magic happens.

    so I just need to remove the part that redfines the $product_image_large after image checks and use that for if IH is installed and NOt if IH isnt installed.
    Phil Rogers
    A problem shared is a problem solved.

  5. #335
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    Hi guys, just a quick note to say i havent walked away frm this, just been extremely busy with a website upgrade and other work. Pretty sure I have a solid all around solution, so watch this space and as soon as I have time to put it down I will and upload the files
    Phil Rogers
    A problem shared is a problem solved.

  6. #336
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    Hello Phil - Have you looked combining IH and JQzoom yet?
    Using Zen Cart 1.5.1

  7. #337
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    Quote Originally Posted by Kevin205 View Post
    Hello Phil - Have you looked combining IH and JQzoom yet?
    Hi Kevin, its all up in my head, as per my last post as soon as I get time I will update the code and post here for it to be tested.
    Phil Rogers
    A problem shared is a problem solved.

  8. #338
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    Great. Thank you.
    Using Zen Cart 1.5.1

  9. #339
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    V1.0-Image-Swap-with-JQuery-Zoom.zip

    Ok here it is, though I have coded it but NOT TESTED. Give it a go, let me know how it goes. pay attention to the two files you now need to set true or false depending on whether you are running Image Handler or not.

    Please report back and let me know if you hit any errors.

    Backup as always to be able to revert back. File attatched.
    Phil Rogers
    A problem shared is a problem solved.

  10. #340
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: Jquery Zoom [Support thread]

    Shouldl IH mod be installed for this test?
    Using Zen Cart 1.5.1

 

 
Page 34 of 39 FirstFirst ... 243233343536 ... LastLast

Similar Threads

  1. v153 jQuery Scrolling Sideboxes [Support Thread]
    By lat9 in forum Addon Sideboxes
    Replies: 79
    Last Post: 15 Apr 2024, 10:20 PM
  2. v152 Down for Maintenance jQuery Countdown (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 27 Nov 2015, 03:04 PM
  3. v152 jQuery Banners (Support Thread)
    By rbarbour in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 30 Sep 2015, 02:07 AM
  4. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  5. Is there an add-on combine the functions of AJAX_image_swapper and Jquery Zoom?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Jul 2010, 01:57 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