PDA

View Full Version : adding payment buttons to Image Thumbnail Viewer II script



djk
10-17-2006, 04:56 PM
I have been sucessful in controlling multiple images with one thumnail, I now would like to add a paypal payment button to correspond with with each thumbnail.

i.e. when the blue thumnail is clicked the blue images are shown with a payment button to purchase the blue item.

Is this possible?

If so, Please could someone explain how I can do this using the Image Thumbnail Viewer II script.

What code do I put in dynimages[0]=["", ""] , e.t.c.

The url for the thumnail viewer is:

http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

The paypal button code is:

<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="image" src="https://www.paypal.com/en_GB/i/btn/x-click-but22.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="add" value="1">
<input type="hidden" name="cmd" value="_cart">
<input type="hidden" name="business" value="email address">
<input type="hidden" name="item_name" value="product name">
<input type="hidden" name="amount" value="0.00">
<input type="hidden" name="no_shipping" value="2">
<input type="hidden" name="currency_code" value="GBP">
<input type="hidden" name="bn" value="PP-ShopCartBF">
</form>

any help much appreciated,
Thanks.