Forums / All Other Contributions/Addons / AJAX IMAGE Swapper support thread

AJAX IMAGE Swapper support thread

Views: 172,806

Results 761 to 780 of 786
19 Feb 2012, 9:27 PM
#761
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

AJAX IMAGE Swapper support thread

Okay, After pressing the setup images button over 50 times it seems to have worked its way through my products and I now seem to have got them all set up in the database: for anyone else wondering if anything is happening there does not seem to be any messages. I used phpMyAdmin and examined the table and could see that it was being populated.

My question now is about what AIS is doing with the images.

My product lising image is very pixellated. - they have been set up at 70px by 70 px but I have my product lising image as 200px by 200px. If I set the smallest image size in the config in admin to 200 by 200 then the additional images in the image viewer on the product page are not at 70 x 70 which is what I need them to be. The CSS does not seem to control the size of them either.

So I need a product listing image at 200px by 200px. the small image in the aditional image viewer to be 80opx by 80px, the main image on the product page to be 300 x 300 and the large image that is shown to expand to 600px by 600px.

any ideas what I need to do to get the products listing page image back and not pixelated to their original 200 by 200 size? and then to have the smaller additional images under the main image on the product info page show at the smaller size.

Css does not seem to control this as it seems to be generated by the code on the fly.

I hope my explanation is clear as sometimes you get too close to a problem to see the solution or to explain it properly.

thanks in advance.

21 Feb 2012, 5:29 PM
#762
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

does anyone know if there are issue with the ajax or jquery for on this image swapper mod when used with mobile devices or apple ipod/iphone/itouch?

15 Mar 2012, 12:21 PM
#763
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

Well I really seem to be battling with this mod. I now have the second of the admin drop downs not populating with the product when you select a category, but it does not happen on all of them and it seems to only be some and it seems to be a bit random when it does or does not.

Any clues

24 Apr 2012, 7:06 PM
#764
monashee avatar

monashee

New Zenner

Join Date:
Nov 2011
Posts:
1
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

So does anyone have Ajax Image Swapper working in Zen Cart 1.5? I'm migrating a site from 1.38 to 1.5 with over 4000 products.

Thanks
Derek

25 Apr 2012, 10:10 PM
#765
mikeyg avatar

mikeyg

Totally Zenned

Join Date:
May 2005
Posts:
515
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I hope my last few posts have not put people off. Or has the support for this mod moved? I still have these issues and on installing the Slider front page mod which uses a jquery 1.71 this mod has stopped working again on the product info page. Any clues as to how to avoid this conflict would be good as there are now a number of mods which are not possible as they clash with this one.

Look forward to some good old zen enlightenment.

2 May 2012, 4:41 PM
#766
bazza_87 avatar

bazza_87

New Zenner

Join Date:
Apr 2012
Posts:
5
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

Alex777:

John,
Thanks for the reply. It's the busy season, don't worry about it!

I installed the current incarnation of Zen 1.5.0 and installed ais. I was a little thrown by the lack of /includes/boxes but i worked it out. Looking in the 1.5.0 forum, I saw a comment explaining how the issue was resolved for another mod (I forget which) by installing a sql patch. It took a bit of hunting and pecking around files whose structures I don't fully understand, but I finally worked out what needed to go in which fields. I also had to move the ajax_image_swapper_catalog_dhtml.php file out of the boxes folder. I didn't know where to put it, and I ended up putting it in a few places. I later tried renaming them, one at a time, but I could never make the image swapper manager stop working!? So, i went a renamed them all back to what they were, and left them. Anyhow it works. But, if someone could explain that, I'm curious.

I put copies of ajax_image_swapper_catalog_dhtml.php in:
/admin/
/admin/includes/
/admin/includes/languages/english/extra_definitions

This was my patch:

INSERT INTO admin_pages (page_key, language_key, main_page, page_params, menu_key, display_on_menu, sort_order) VALUES ('aisCatalog', 'BOX_CATALOG_AJAX_IMAGE_SWAPPER', 'FILENAME_AJAX_IMAGE_SWAPPER', '', 'catalog', 'Y', 999);

I hope this saves someone a little time, but be warned, I don't really know what I'm doing. You might want to wait until someone who actually understands what I did weighs in and okays the work around.

Alex

Can anyone confirm what other SQL values need to be input for this addon to work properly with 1.5?
I ended up doing the same as this directly in MySQL from comparing the install SQL for 1.3.8 and what the values other 1.5 addons were using but I really have just been winging it...

If anyone happens to have a list or sql patch to get the other admin pages of this mod working that would be awesome!!! (better yet anyone got a 1.5 version of the mod yet?)

2 May 2012, 7:40 PM
#767
bazza_87 avatar

bazza_87

New Zenner

Join Date:
Apr 2012
Posts:
5
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

Scratch that request... I have managed to get AIS 3.2 working on ZC 1.5.. (Albeit not perfect...)

For those that are having trouble with it.. (Like I did for ages...) You need the 3.2 download (from here http://netzencommerce.com/zc2/index.php?main_page=product_info&cPath=3&products_id=3)

Install are per instructions... Then go to your admin page (for me I couldnt find the AIS admin pages on FF,Chrome or IE (but if I browsed straight to site\YourAdmin\AJAX_image_swapper.php then the page loads up fine and everything has worked for me so far...

or alternatively... you can use SQL to re-enable to admin menu www.nakedflameonline.com.au/Store/AIS_3.2_Menu_Enabler.sql

  • Use this SQL patch at your own risk.. It worked for me hopefully it works for others...

Good luck! :smile:

2 Jul 2012, 1:07 PM
#768
kenton avatar

kenton

New Zenner

Join Date:
Sep 2011
Posts:
38
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

Hi, I can't seem to find in this thread a resolution to my problem.

As you can see in the screenshot, I am getting multiple images overlapped one under the other
Attachment 10732

Really don't know what the problem is.

Please help

10 Jul 2012, 4:06 AM
#769
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,849
Plugin Contributions:
18

Re: AJAX IMAGE Swapper support thread

Can't say for sure if the custom template is messing with this.

You need to adjust the height and width for the id's image_viewer and image_medium_container until it looks like you want it. You can see the values if you use the firebug addon with Firefox.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Aug 2012, 4:58 PM
#770
jimbos avatar

jimbos

New Zenner

Join Date:
Aug 2012
Posts:
1
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

bazza_87:

Scratch that request... I have managed to get AIS 3.2 working on ZC 1.5.. (Albeit not perfect...)

For those that are having trouble with it.. (Like I did for ages...) You need the 3.2 download (from here http://netzencommerce.com/zc2/index.php?main_page=product_info&cPath=3&products_id=3)

Install are per instructions... Then go to your admin page (for me I couldnt find the AIS admin pages on FF,Chrome or IE (but if I browsed straight to site\YourAdmin\AJAX_image_swapper.php then the page loads up fine and everything has worked for me so far...

or alternatively... you can use SQL to re-enable to admin menu www.nakedflameonline.com.au/Store/AIS_3.2_Menu_Enabler.sql

  • Use this SQL patch at your own risk.. It worked for me hopefully it works for others...

Good luck! :smile:

Working with ZC 1.5

Thanks for the post, Your links are not working and was wondering if you (or anyone) had a copy of AIS 3.2 the download section has 3.1.4
Along with the SQL patch.

I appreciate it very much.

13 Nov 2012, 4:56 AM
#771
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I installed Ajax Image Swapper on my website (https://www.candygoround.com) ....but it's not showing up in the Admin area...I followed Jay's instructions exactly....What did I do wrong.........??
I installed it years ago on my other website (https://www.2muchfunclub.net) ........... and it works fine...

any ideas?
thanks.

13 Nov 2012, 5:53 AM
#772
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,849
Plugin Contributions:
18

Re: AJAX IMAGE Swapper support thread

Would have been helpful if you had at least given us an idea of your version and installed mods. It appears you used the files in the PlugIns download and have not made the changes listed in Section III, item 4 of the AIS_readme.txt. However, if you are using 1.5.#, it could be something different.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

13 Nov 2012, 3:41 PM
#773
lrfowler avatar

lrfowler

Zen Follower

Join Date:
May 2008
Location:
san francsico
Posts:
135
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I am using v.1.5.0 ...........
no other mods...
I updated per Section III, ITEM 4
Still not showing up in Admin...
Any other ideas?...I noticed Jay's website is down also....
What else is comparable to AIS?...............as far as displaying other product images...etcetera......I might buy Magic Zoom Plus...

8 Jan 2013, 4:10 AM
#775
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I am not seeing the two admin links for this plugin,
**Admin - Configurations - AJAX Image Swapper ** nor
Admin - Catalog - AJAX Image Swapper Manager.

I have copied the folders below to their corresponding locations in Zen 1.5.1.
Attachment 11736

Also have also performed the following in "tpl_product_info_display.php":
replace:

require($template->get_template_dir('/tpl_modules_main_product_image.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_main_product_image.php'); ?>

with

   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:

  require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>

with:

  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'); ?>

In addition, because the PHP code has been changed in "tpl_product_info_display.php", I am not seeing the main image.

I do not understand the following, maybe this is the problem!
To make sure you only use minimal number of library, if you have copied
[library_name]_on_template, DO NOT copy any other [library_name]on[page_name] folder,
where the two having same library_name.

I have just copied the provided files and folders to their corresponding locations.

I started with a copy of classic template and installed the following plugins:
column_layout_grid_2_3_1 (Functioning)
ezpages_footer_columns1_1 (Functioning)
creinold Pinterest Button (Functioning)
CSS Horizontal Dynamic Menu (Pauls edition) (Functioning)
Back_to_Top (Does not work)

Help.

Using Zen Cart 1.5.1

8 Jan 2013, 7:50 AM
#776
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

As I mentioned before the following can not be found under admin.
Admin - Configurations - AJAX Image Swapper nor
Admin - Catalog - AJAX Image Swapper Manager.

But as type in URL: http://www.MyDomain.com/store/admin*****/AJAX_image_swapper.php it goes to "AJAX_image_swapper.php", for a split second (pictures attached), and then it gets an immediate redirect to the following url.

http://ww1.webextremecustomiser.com/?epl=7ziPxFgOOo8XHsWI5ergJbCxxy2BhMIpkrv4T-nWwDKjfgc0yjgTB5S-XNqEbjz7YJNjbEU0MJc7s7zipATNc0VScxwIT9oIwHDAvOdNZWRyjA4Q-UtTnFA7RCtGQpaw55WB0z-uNakfM86tBqkKYwFNrQFWoS1FWaUprgriNNkx3FJVrwk4e1uv3VtpC0160EBNUz_pCYGnGtkUgaYe0GiAhrSBmHqaCpUAIND-579AABAg8P8FQABAgF8LAAA29rglWVMmWUExNmhaQrkAAADw

Attachment 11740

This is funny!!!

Using Zen Cart 1.5.1

8 Jan 2013, 6:36 PM
#777
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,849
Plugin Contributions:
18

Re: AJAX IMAGE Swapper support thread

You may have other problems going on with the site, but it appears that you have not run the sql file included with the mod.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

8 Jan 2013, 7:00 PM
#778
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

dbltoe:

You may have other problems going on with the site, but it appears that you have not run the sql file included with the mod.

I might have other site problems! What I don't know?

How can you tell I haven't ran the sql file? Anything you see in my post? Because I did run it.

Everything else was working perfectly, and further more after going back to the my prior to installation of "AJAX IMAGE Swapper" backup set, site is back to normal.

Thank you for your reply.

Using Zen Cart 1.5.1

12 Jan 2013, 2:22 PM
#779
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: AJAX IMAGE Swapper support thread

I have not followed this thread to know the current status of the mod, but if it installs admin setting functions via SQL, those would not function without being rewritten for v1.5.x. Additions to an existing Configuration page/menu (like Product Listing or Layout Settings) do not require updating, but any new Configuration page (like Admin - Configuration - AJAX Image Swapper) needs to be registered using the new protocol before it can be active. Running the old SQL would not be effective.

12 Jan 2013, 3:52 PM
#780
kevin205 avatar

kevin205

Totally Zenned

Join Date:
Dec 2012
Posts:
607
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

gjh42:

any new Configuration page (like Admin - Configuration - AJAX Image Swapper) needs to be registered using the new protocol before it can be active. Running the old SQL would not be effective.

How would you register "AJAX Image Swapper" or any older configuration pages, and what is the new protocol?

Please let me know. Thank you for the reply.

Using Zen Cart 1.5.1