Results 1 to 10 of 786

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    7
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    I am facing problem please help me out,

    I have installed it on my admin , when i click on the category dropdown box i can not see any product on the second box, please help me out for this

  2. #2
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    help question Re: AJAX IMAGE Swapper support thread

    Can someone please give me some insight on what is happending here.

    My product listing images are coming up small H:75 W:56, i have it set for w:160 H:300. Now why is it coming the small size which would be the size for the additional images on the product info page. But when i change the size it also changes the size for the small additional images on the product info page which intern is to big.

    How do i go about changing things so that the images on the product listing page is set to the right height and width without affecting the other images, meaning the small images on the product info page?

    They seem to work together.
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

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

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by dscott1966 View Post
    Can someone please give me some insight on what is happending here.

    My product listing images are coming up small H:75 W:56, i have it set for w:160 H:300. Now why is it coming the small size which would be the size for the additional images on the product info page. But when i change the size it also changes the size for the small additional images on the product info page which intern is to big.

    How do i go about changing things so that the images on the product listing page is set to the right height and width without affecting the other images, meaning the small images on the product info page?

    They seem to work together.
    any link? If I remembered correctly (hey its been awhile since I worked on this!) they share the same variables so what you might want to do is to replace SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT throughout the module and change them with your own variable say AIS_SMALL_IMAGE_WIDTH and AIS_SMALL_IMAGE_HEIGHT.

    dont forget to set the variables by adding a file under includes/extra_configures/ with anyname and add these code:

    define('ASC_SMALL_IMAGE_WIDTH', 75);
    define('ASC_SMALL_IMAGE_HEIGHT', 56);
    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

  4. #4
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by jaycode View Post
    any link? If I remembered correctly (hey its been awhile since I worked on this!) they share the same variables so what you might want to do is to replace SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT throughout the module and change them with your own variable say AIS_SMALL_IMAGE_WIDTH and AIS_SMALL_IMAGE_HEIGHT.

    dont forget to set the variables by adding a file under includes/extra_configures/ with anyname and add these code:

    define('ASC_SMALL_IMAGE_WIDTH', 75);
    define('ASC_SMALL_IMAGE_HEIGHT', 56);
    Not understanding what you mean by changing the sizes throughout the module. Do i go through the image swapper mod, looking through every file? I really don't know what i will be looking for. I'm new to this, i can understand how to follow directions when i know what i'm looking for. Can i get a little more help (LOL).

    Sorry for not knowing what you mean. Anyway here is a look see at the product listing page,

    http://dealz-r-us.com/index.php?main...dex&cPath=2_24

    and here is a look see at the product info page,

    http://dealz-r-us.com/index.php?main...products_id=55

    Once again the small images are the same size and if i change the small images on the product listing page, it also changes the ones on the product info page. Is there a simpler way of changing this. or is there a specific file that controls this. because i'm at a loss at what your telling me to do at the top.
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

  5. #5
    Join Date
    Apr 2005
    Posts
    298
    Plugin Contributions
    0

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by dscott1966 View Post
    Not understanding what you mean by changing the sizes throughout the module. Do i go through the image swapper mod, looking through every file? I really don't know what i will be looking for. I'm new to this, i can understand how to follow directions when i know what i'm looking for. Can i get a little more help (LOL).

    Sorry for not knowing what you mean. Anyway here is a look see at the product listing page,

    http://dealz-r-us.com/index.php?main...dex&cPath=2_24

    and here is a look see at the product info page,

    http://dealz-r-us.com/index.php?main...products_id=55

    Once again the small images are the same size and if i change the small images on the product listing page, it also changes the ones on the product info page. Is there a simpler way of changing this. or is there a specific file that controls this. because i'm at a loss at what your telling me to do at the top.
    Can someone give me help on this please!!!
    [FONT=Comic Sans MS]Don Scott
    http://dealz-r-us.com
    [/FONT]

  6. #6
    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!

  7. #7
    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)

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

    Default Re: AJAX IMAGE Swapper support thread

    Quote Originally Posted by city1227 View Post
    I am facing problem please help me out,

    I have installed it on my admin , when i click on the category dropdown box i can not see any product on the second box, please help me out for this
    Hi City,

    I'd double check all the files to make sure that they're in their proper locations. If a function like that isn't working it's almost guaranteed to be a missing file or a file in the wrong location. The first file I'd double check is Ajax_image_swapper.php which should be located directly in the admin folder, followed by the files under mootools_on_admin and move outward from there...

 

 

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

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