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
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
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
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.![]()
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)
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...