Page 41 of 79 FirstFirst ... 31394041424351 ... LastLast
Results 401 to 410 of 786
  1. #401
    Join Date
    May 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by dscott1966 View Post
    Can someone give me help on this please!!!
    Hi Don,

    I'm not sure I agree that changing the variable name would help out in this situation since the images on the product listing page are the same images displayed on the product info page... In other words both pages are asking for the same image, and that image is the one uploaded by the AIS which was told to make it 56 by 75.

    As far as I know html will happily shrink and image to smaller dimensions (I think we've all seen those slow loading images that have obscene dimensions like 1600x1200 crammed into a 400x300 space) but it won't blow the images up to larger dimensions.

    Since you're asking the product listing page to take a 56 by 75 pixel image and create a 160 by 300 image from it, it won't happen.

    I've looked over both zen cart's and AIS's code and have an idea that may work but I haven't personally tested it. In your AIS configuration I think you should change the dimensions of the thumbnail image to 160 by 300 then add an image to a product. This will create an image with the proper dimensions you wish displayed on the product listing page. After you've uploaded the image then go back to the AIS configuration page and change the dimensions to 56 by 75 so that when the page's code is called it'll grab those values for the html the php is writing. It'll check it's variables and see that the image dimensions should be 56 by 75 and since the image it has is larger the browser should happily shrink it down.

    On a side note, a 56 by 75 image doesn't have the same aspect ratio as a 160 by 300, you'll get better results if the aspect ratio matches... In fact I don't know how the browser would handle an image that it's asked to resize if the aspect ratios don't match. If you want an image to have a height of 300 and the aspect ratio to match that of a 56 by 75 image its width should be 224.

    This seems like the simplest solution but if it doesn't work let me know and then we can start digging into changing and creating variables!

  2. #402
    Join Date
    May 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by greydawgjr View Post
    Hi Don,

    I'm not sure I agree that changing the variable name would help out in this situation since the images on the product listing page are the same images displayed on the product info page... In other words both pages are asking for the same image, and that image is the one uploaded by the AIS which was told to make it 56 by 75.

    As far as I know html will happily shrink and image to smaller dimensions (I think we've all seen those slow loading images that have obscene dimensions like 1600x1200 crammed into a 400x300 space) but it won't blow the images up to larger dimensions.

    Since you're asking the product listing page to take a 56 by 75 pixel image and create a 160 by 300 image from it, it won't happen.

    I've looked over both zen cart's and AIS's code and have an idea that may work but I haven't personally tested it. In your AIS configuration I think you should change the dimensions of the thumbnail image to 160 by 300 then add an image to a product. This will create an image with the proper dimensions you wish displayed on the product listing page. After you've uploaded the image then go back to the AIS configuration page and change the dimensions to 56 by 75 so that when the page's code is called it'll grab those values for the html the php is writing. It'll check it's variables and see that the image dimensions should be 56 by 75 and since the image it has is larger the browser should happily shrink it down.

    On a side note, a 56 by 75 image doesn't have the same aspect ratio as a 160 by 300, you'll get better results if the aspect ratio matches... In fact I don't know how the browser would handle an image that it's asked to resize if the aspect ratios don't match. If you want an image to have a height of 300 and the aspect ratio to match that of a 56 by 75 image its width should be 224.

    This seems like the simplest solution but if it doesn't work let me know and then we can start digging into changing and creating variables!

    Missed the edit time cut off...

    I just realized you can easily test this theory by replacing the image it has with one of the same name but the larger dimensions, no fiddling with the AIS configuration necessary. (assuming you have an alternate means of resizing images such as irfanview or photoshop etc.) If you have the proper dimensions punched into both AIS and Zen's image settings they should immediately display correctly if my theory holds (again assuming the correct aspect ratio that I was talking about above)

  3. #403
    Join Date
    Nov 2007
    Posts
    99
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Hi Jay,

    I have installed Ajax image swapper on my store after following all instructions mentioned in the readme file.

    Store url: http://www.sculpturehub.com

    The swapper thing works fine in Firefox, but my product pages are totally messed up. Link to my product:

    http://www.sculpturehub.com/ruby-scu...-shivaling-p-4

    There are a couple of other problems as well...
    (1) The lightbox no longer works. I have both fual slimbox as well as zen lightbox installed.
    (2) This module does not work in IE. No product images are being displayed in IE.

    Request you to help me sort out these problems...

    Harshil

  4. #404
    Join Date
    May 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by starruby View Post
    Hi Jay,

    I have installed Ajax image swapper on my store after following all instructions mentioned in the readme file.

    Store url: http://www.sculpturehub.com

    The swapper thing works fine in Firefox, but my product pages are totally messed up. Link to my product:

    http://www.sculpturehub.com/ruby-scu...-shivaling-p-4

    There are a couple of other problems as well...
    (1) The lightbox no longer works. I have both fual slimbox as well as zen lightbox installed.
    (2) This module does not work in IE. No product images are being displayed in IE.

    Request you to help me sort out these problems...

    Harshil
    Hi Starruby,

    It doesn't appear that you've modified the file found at includes/templates/your template/templates/tpl_product_info_display yet according to the readme. Also, I'm not sure what compatibility lightbox and slimbox have with each other. My understanding is that they both do essentially the same thing so you may want to consider uninstalling lightbox if you wish to use this module.

  5. #405
    Join Date
    Nov 2007
    Posts
    99
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by greydawgjr View Post
    Hi Starruby,

    It doesn't appear that you've modified the file found at includes/templates/your template/templates/tpl_product_info_display yet according to the readme. Also, I'm not sure what compatibility lightbox and slimbox have with each other. My understanding is that they both do essentially the same thing so you may want to consider uninstalling lightbox if you wish to use this module.
    Hi Jay,

    Actually, I had modified the tpl_product_info_display file but since the module did not work hence I uninstalled it and reverted back to the original version of the file.

    I will uninstall slimbox and then try installing your module.

    Thanks for your help
    Harshil

  6. #406
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by greydawgjr View Post
    Missed the edit time cut off...

    I just realized you can easily test this theory by replacing the image it has with one of the same name but the larger dimensions, no fiddling with the AIS configuration necessary. (assuming you have an alternate means of resizing images such as irfanview or photoshop etc.) If you have the proper dimensions punched into both AIS and Zen's image settings they should immediately display correctly if my theory holds (again assuming the correct aspect ratio that I was talking about above)
    I have tried this and it does not work for me. Is the only thing left is what you suggested in the previous thread.
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

  7. #407
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    greydawgjr.

    Here is what i have in my admin. Is this correct? the first is zen carts and the second is AIS.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	12-21-2008 8-30-00 PM.jpg 
Views:	157 
Size:	28.2 KB 
ID:	5044   Click image for larger version. 

Name:	12-21-2008 8-31-21 PM.jpg 
Views:	149 
Size:	20.0 KB 
ID:	5045  
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

  8. #408
    Join Date
    May 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by dscott1966 View Post
    greydawgjr.

    Here is what i have in my admin. Is this correct? the first is zen carts and the second is AIS.
    I've been doing a lot of digging on this and have even tested it to some degree. The good news is that the image swapper already does use different variables so that simplifies things considerably. (AIS is using IMAGE_VIEWER_SMALL_IMAGE_HEIGHT while Zen is using SMALL_IMAGE_HEIGHT, and each one has its own configuration value)

    The problem we're going to have is that the product listing images are coming from the thumbnail images and the dimensions you were suggesting are pretty big for thumbnails, since zen cart tries to put these thumbnails everywhere (side boxes, new products, also bought, etc) you'll just need to be sure your divs are set wide enough for a thumbnail of that width.

    To use the previous values we were discussing, the Small Image Width and Small Image Height should be set to 224 and 300 respectively on the Zen Image configuration page. Then set the Small Image Width and Small Image Height to 56 and 75 for the AIS configuration page.

    Then just overwrite your 56 by 75 image in with one that is 224 by 300. I have been testing this and can confirm that Zen Cart will display the larger image on the product listing page (and everywhere else the thumbnail is displayed) and the browser will resize it for the product info page. I was running into separate problems though with the way zen cart calculates column width on product listing.

  9. #409
    Join Date
    May 2008
    Posts
    65
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by dscott1966 View Post
    greydawgjr.

    Here is what i have in my admin. Is this correct? the first is zen carts and the second is AIS.

    Oops, just busted out my magnifier on the images you've attached and saw you already did that. If you replace the image images/dresses/wht_1440.jpg with one that is 224 by 300 then I think it will display correctly on both pages.

    *edit*
    I just confirmed that on my own installation (in firefox at least, fingers crossed on the rest)! It's been a while since I've played with zen cart outside of tweaking AIS and had forgotten how granular it lets you get with the images. The problem I was having with my previous discussion is that I was only changing the Small image height and width, now the product listing height and width...
    Last edited by greydawgjr; 22 Dec 2008 at 05:06 AM.

  10. #410
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by greydawgjr View Post
    Oops, just busted out my magnifier on the images you've attached and saw you already did that. If you replace the image images/dresses/wht_1440.jpg with one that is 224 by 300 then I think it will display correctly on both pages.

    *edit*
    I just confirmed that on my own installation (in firefox at least, fingers crossed on the rest)! It's been a while since I've played with zen cart outside of tweaking AIS and had forgotten how granular it lets you get with the images. The problem I was having with my previous discussion is that I was only changing the Small image height and width, now the product listing height and width...
    Sorry took so long to get back with you but i just tested what you said. What i did was got the correct image size that i would have needed which was W:160 H:213 and resized the image to that then replaced it like you said and it worked out correctly, just like you said it would. Now with that in mind would i have to do it like that all the time? or when i upload it the images using AIS would they resize automatically?

    Cna be seen here: http://dealz-r-us.com/index.php?main...dex&cPath=2_24
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

 

 
Page 41 of 79 FirstFirst ... 31394041424351 ... LastLast

Similar Threads

  1. AJAX BANNER Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 19
    Last Post: 11 Oct 2012, 05:55 AM
  2. 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
  3. 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
  4. Error on AJAX IMAGE Swapper
    By easy665 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 28 Aug 2009, 02:38 PM
  5. AJAX Image Swapper Basic Support
    By jaycode in forum All Other Contributions/Addons
    Replies: 34
    Last Post: 31 Dec 2007, 06:48 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