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

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Jquery Zoom [Support thread]

    yes. latest file set.

    Here's what I found for the inconsistency:

    If a product HAS additional images, it's working.

    If there are NO additional images, it seems to be breaking...

    EDIT:

    ALSO, it seems that once of the attributes is pulling from the previous image...
    Last edited by chadderuski; 7 Feb 2013 at 08:31 PM. Reason: more info

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

    Default Re: Jquery Zoom [Support thread]

    When I'm looking its really hard to see if its working. Can you set your product info image size in the admin to say 50 wide 50 high?
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Jquery Zoom [Support thread]

    Assuming that you don't have a large image on this one, this one appears to be working my end and its a single image one..

    http://96. 30. 58.67/index.php?main_page=product_info&cPath=6_110&products_id=464
    Phil Rogers
    A problem shared is a problem solved.

  4. #4
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Jquery Zoom [Support thread]

    Quote Originally Posted by philip937 View Post
    When I'm looking its really hard to see if its working. Can you set your product info image size in the admin to say 50 wide 50 high?
    done as requested: 50!

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

    Default Re: Jquery Zoom [Support thread]

    Quote Originally Posted by chadderuski View Post
    done as requested: 50!
    Hmm Grrr something defo not working. I'm seeing the main Image diffent sizes on each product and most are more 500-600 :-(

    Less on your working than were on mine :-(
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Jquery Zoom [Support thread]

    just done some more tests my end.

    I actually think a safer way of coding it would be to just have this:

    function func (img) {
    if(img.height >= img.width) {
    img.style.height = "<?php echo $iheight ?>";
    } else {
    img.style.width = "<?php echo $iwidth ?>";
    }
    }

    I am seeing similar results with the additional images vs only oine image however its like it resets it.. if i use the next product link on my site ones that work work, then i'll hit one that has one image and it doesnt then I go previous, then forward and the image is then re-sized..

    its very strange...
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Jquery Zoom [Support thread]

    can't suss your though.. I cant get any to display 50 x 50..

    for example, this page, your html source code is showing:
    http://96. 30. 58.67/index.php?main_page=product_info&cPath=6_148&products_id=1151&zenid=d0d30ebcd1e6 4c6234e12a368f3d9e36

    <script language="javascript" type="text/javascript"><!--

    function func (img) {
    if(img.height >= img.width) {
    img.style.height = "50px";
    img.style.width = "auto";
    } else {
    img.style.width = "50px";
    img.style.height = "auto";
    }
    }


    document.write('<a href="images/barsupply/roy-112.jpg" class="bonzer_zoom" rel="product_info"><img src="images/barsupply/roy-112.jpg" onload="func(this);" /></a>');
    //--></script>

    and this is the image..
    Click image for larger version. 

Name:	Screen shot 2013-02-07 at 20.18.24.jpg 
Views:	99 
Size:	62.1 KB 
ID:	11906

    REALLY.. REALLY.. WEIRD!
    Phil Rogers
    A problem shared is a problem solved.

  8. #8
    Join Date
    Apr 2006
    Location
    Dark Side of the Moon
    Posts
    987
    Plugin Contributions
    1

    Default Re: Jquery Zoom [Support thread]

    Philip:

    What is weird is when you click back and forth with PREV <> NEXT, the image scales to 50 x 50 and zoom works correctly, but if you REFRESH the page, the image is show FULL size!

    It HAS to be because somewhere your variables are not being reset. So the LAST value (for one of the dimensions) is being retained... this is my thought on what's happening...

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

    Default Re: Jquery Zoom [Support thread]

    I'm stumped.. We need a java/jquery guru to help implant the size switch better.
    Phil Rogers
    A problem shared is a problem solved.

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

    Default Re: Jquery Zoom [Support thread]

    @Phil,

    Great work. If you have an up to date version can you post it? Or is the one above the most up to date? I will try and have a look over the weekend.

    What are the remaining issues?

    I think if it does not play nice with Image handler then that is a major stumbling block. So will have a look at that.
    The the javascript escaping?

    And what else.

 

 
Page 1 of 2 12 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

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