ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Ajax popup image
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ajax popup image

 Post Reply Post Reply Page  12>
Author
Message
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Topic: Ajax popup image
    Posted: 16-December-2008 at 4:23pm
Hi Folks,
 
Anyone know where to change the ajax popup product image size?
 
Many thanks
 
Nigel
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 4:32pm
Search for pSmimageURL in pc/xml_getPrdInfo.asp.  that's where it is displayed.  Work back from there to the query that grabs the product record.
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 4:44pm
Many thanks Greg,
 
Thats a great help.
 
Nigel
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:05pm
Argghhh - the customer has made all the thumbnail images and general images 360 pixels wide so they won't fit in the box.
 
I've modified the png image sizes of the popup box to accomodate them but it's still showing the old size.
 
I'm guessing the box size is specified somewhere else - any ideas?
 
Thanks again
 
Nigel
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:11pm
ya, but now you are getting into a slightly larger effort.
 
Have a look at ei-tooltip.js and ei-tooltip.css.
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:16pm
Also - here is a WIKI article on the AJAX feature that might help:
 
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:23pm
That article is fairly brief.  Nigel, if you alter the physical dimensions of the graphics that form the preview pane, you have to alter the "document.write('<IMG class="dpointer"" references at the top of ei-tooltip.js, as well as the CSS classes in order to get everything to play nice.
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:29pm
Hmmm - I'm missing something.
 
I altered the widths in the ei-tooltip.css file - seemed straightforward
 
The ei-tooltip.js was a bit more difficult but I found all the images and size code and changed them all to the new ones.
 
I uploaded the files but the Ajax popup still comes out the same as it was.
 
It's nearly 10.30pm here in the Uk so i think I'll go get some sleep. These things always seem to be more obvious in the morning - I'm sure I've overlooked somehting in the code.
 
Many thanks for your help Greg - I'll let you know how I get on later tomorrow.
 
Nigel 
Back to Top
netprofits View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers


Joined: 05-January-2006
Location: United States
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote netprofits Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:37pm
Hi Nigel, make sure that you clear your browsers cache and close and re-open your browser. AJAX routines are notorius for being cached so you may have done everything correctly but still see the original size because of that. Believe me, I know that from experience.
NetProfits Internet Consulting

Certified ProductCart Developer

Our Site
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 16-December-2008 at 5:56pm
Hi again,
 
I couldn't resist having another go after reading your replies - thanks everyone. I'm sure you've all been going to bed at some stage and ended spending a few more hours !
 
Netprofits - I did clear the cache thanks - been caught with that one too many times before.
 
I think Greg may have it in his reply about the "document.write('<IMG class="dpointer"" references.
 
What I don't quite follow is the relationship between these sizes and the popup image sizes.
 
My popup images (topcap.png etc) have all gone from 285px wide to 402px wide.
I've made the changes to the files but the "document.write('<IMG class="dpointer"" references all show a Width of 55px and a height of 101px - what should these be changed to? They refer to mages such as upleftcombo.png and pngfix.png
 
Thanks again
 
Nigel
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.