Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 35
  1. #21
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    268
    Plugin Contributions
    0

    Default Re: AJAX Image Swapper Basic Support

    Can this modules work fine with IM2 or i must uninstall IM2?

    Thanks you for you modules !

  2. #22
    Join Date
    Jun 2007
    Location
    Australia - Melbourne
    Posts
    310
    Plugin Contributions
    6

    Default Re: AJAX Image Swapper Basic Support

    Quote Originally Posted by kimsonvu View Post
    Can this modules work fine with IM2 or i must uninstall IM2?

    Thanks you for you modules !
    What is IM2?
    The greatest pleasure in life is doing what people say you cannot do.

    Check on www.WebExtremeCustomiser.com for my modules (free contribution):
    AJAX Image Swapper
    AJAX Banner Swapper
    Fixed Navigation

  3. #23
    Join Date
    Aug 2006
    Location
    HCMC
    Posts
    268
    Plugin Contributions
    0

    Default Re: AJAX Image Swapper Basic Support

    Quote Originally Posted by jaycode View Post
    What is IM2?
    Sory ! It is IMAGE HANDER 2.

  4. #24
    Join Date
    Jun 2007
    Location
    Australia - Melbourne
    Posts
    310
    Plugin Contributions
    6

    Default Re: AJAX Image Swapper Basic Support

    Well, I haven't actually tried that, but after I read about image handler's function, I think:

    1. Both of them work on different area, image handler 2 to resize your images, while image swapper to display the images. So I don't think they could disturb each other (you can install image swapper and your site would still work)
    2. However they won't work together, ie you won't be able to upload your images through image handler 2 and wish they would be available to view with image swapper.
    3. I believe the image hover functionality would work though.
    4. One workaround to number 2 is by uploading the images using image handler 2, then download the different sizes images from your server, then upload them again using image swapper *haven't been tested yet*
    The greatest pleasure in life is doing what people say you cannot do.

    Check on www.WebExtremeCustomiser.com for my modules (free contribution):
    AJAX Image Swapper
    AJAX Banner Swapper
    Fixed Navigation

  5. #25
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: AJAX Image Swapper Basic Support

    Quote Originally Posted by kimsonvu View Post
    Sory ! It is IMAGE HANDER 2.
    I'm using IM2 with AIS (Ajax Image Swapper) It works, but I had a lot of problems with it. The only feature I use for IM2 is making nice thumbnails, so everything else IM2 does, I have disabled or removed.

    I installed AIS on top of IM2. It took a bit of tweaking, but I have both working simultaneously. They are not working together - when you load the images through AIS, the images aren't resized and sampled by IM2. Having the two integrated would be great. eg: uploading an image through AIS and having it resized, sampled and appropriate image size created.

    If you do install AIS with IM2 and need to peek at some files, let me know. If you get them working together, let me know

  6. #26
    Join Date
    Jun 2007
    Location
    Australia - Melbourne
    Posts
    310
    Plugin Contributions
    6

    Default Re: AJAX Image Swapper Basic Support

    Quote Originally Posted by osdude View Post
    eg: uploading an image through AIS and having it resized, sampled and appropriate image size created.
    Interesting idea
    The greatest pleasure in life is doing what people say you cannot do.

    Check on www.WebExtremeCustomiser.com for my modules (free contribution):
    AJAX Image Swapper
    AJAX Banner Swapper
    Fixed Navigation

  7. #27
    Join Date
    Jun 2007
    Location
    Australia - Melbourne
    Posts
    310
    Plugin Contributions
    6

    Default Re: AJAX Image Swapper Basic Support

    Quote Originally Posted by jaycode View Post
    Whoa you actually tested that?
    Thanks a lot mate!



    It was done like that on purpose, I'm afraid. With my websites, I only uploaded small, thumbnail pics for the product info, and the three picture sizes for each image on the swapper.

    But that should be an easy fix. I will fix it by adding an if statement on product_info page, if there are no image for the shown product, then show the default zen-cart image screen. Stay tuned for the next update (maybe sometimes tomorrow)
    Hi, following that message, here I post how to make your product info page able to switch between AIS and normal Zen-Cart view. I don't include this as an update since this method would make installation steps a bit harder, which I really don't want to do.

    Here it goes:
    1. Go to your includes/templates/YOUR_TEMPLATE/templates/tpl_modules_ajax_image_viewer.php file, cut this line of code from there:
      Code:
      <?php
      include(DIR_WS_MODULES . 'AJAX_image_swapper.php');
      ?>
    2. Then go to tpl_product_info_display.php file, and paste that code block on top of the page
    3. find:
      Code:
      require($template->get_template_dir('/tpl_modules_ajax_image_viewer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_viewer.php');?>
      replace it with:
      Code:
      if ($opt_id_used == null) 
         require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php');
      else    
         require($template->get_template_dir('/tpl_modules_ajax_image_viewer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_viewer.php');?>
    4. find:
      Code:
        require($template->get_template_dir('/tpl_modules_ajax_image_swapper_attr.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_swapper_attr.php'); ?>
      replace it with:
      Code:
      if ($opt_id_used == null) 
        require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php');
      else    
        require($template->get_template_dir('/tpl_modules_ajax_image_swapper_attr.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_ajax_image_swapper_attr.php'); ?>
    Cheers,

    Jay
    The greatest pleasure in life is doing what people say you cannot do.

    Check on www.WebExtremeCustomiser.com for my modules (free contribution):
    AJAX Image Swapper
    AJAX Banner Swapper
    Fixed Navigation

  8. #28
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: AJAX Image Swapper Basic Support

    Works beautifully, but that's no surprise.

    To make it all the pages look the same, whether that page is using AIS or IM2

    go to OUR_TEMPLATE/tpl_modules_main_product_image.php and change the div ID to the one you're using for AIS,

    Change the div to that of the AIS div. Then in Admin>Images, change the Product Info - Image Width to 300 and change the Info Product Info - Image Height to 380

    Viola!

    All your product images in AIS or regular look great!



    I'm still trying to get AIS to take images from IM2, but I've gotten nowhere so far, if I get something working, I'll let you know

  9. #29
    Join Date
    Jun 2007
    Location
    Australia - Melbourne
    Posts
    310
    Plugin Contributions
    6

    Default Re: AJAX Image Swapper Basic Support

    And I haven't even tried IM2 heheh

    (btw shouldn't it be abbreviated IH ->Image Handler?o.O)
    The greatest pleasure in life is doing what people say you cannot do.

    Check on www.WebExtremeCustomiser.com for my modules (free contribution):
    AJAX Image Swapper
    AJAX Banner Swapper
    Fixed Navigation

  10. #30
    Join Date
    Nov 2007
    Location
    south carolina
    Posts
    43
    Plugin Contributions
    0

    Default Re: AJAX Image Swapper Basic Support

    yes, I think so - doh!

    I'm new to Zen, and I kept calling it image manipulator.

    not enough coffee or sleep

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. AJAX IMAGE Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 785
    Last Post: 13 Jan 2016, 11:48 PM
  2. AJAX BANNER Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 11 Oct 2012, 05:55 AM
  3. Any way to import image massively to AJAX Image Swapper ?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 17 Sep 2010, 04:35 PM
  4. Is there any way to massivly upload image to Ajax Image swapper?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 26 Jul 2010, 03:38 PM
  5. Error on AJAX IMAGE Swapper
    By easy665 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Aug 2009, 02:38 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