coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: snowfore on January 26, 2004, 01:09:42 PM

Title: Insert html / javascript into photo description
Post by: snowfore on January 26, 2004, 01:09:42 PM
Please could someone tell me how I can include this piece of javascript into the description so it functions. It is a clickable link to add a product to a shopping cart:

<script>
                        buy('midnight-sun.jpg','Buy this photo', 'thumbnail_url=http://www.snow-forecast.com/nick/thumbs/midnight-sun.jpg',
                        'photo_url=http://www.snow-forecast.com/nick/photo/midnight-sun.jpg')
                        </script>

Anyone who is interested it is for www.photobox.co.uk integration
Title: done it - ecommerce in Coppermine
Post by: snowfore on January 29, 2004, 02:59:38 PM
thanks for nothing - I worked it out on my own:

http://www.printbox.co.uk/coppermine/thumbnails.php?album=4

Anyone interested in seeing how I did it drop me a line!
Title: Insert html / javascript into photo description
Post by: moorey on January 30, 2004, 03:47:49 AM
Go ahead.. post it in the MOD section - someone is bound to be interested. You'd just have to create an opportunity for it - sometimes.  :o
Title: Re: done it - ecommerce in Coppermine
Post by: blumley on February 20, 2004, 06:36:51 PM
Quote from: "snowfore"thanks for nothing - I worked it out on my own:

http://www.printbox.co.uk/coppermine/thumbnails.php?album=4

Anyone interested in seeing how I did it drop me a line!

ME ME ME ME ME!  Tell me how you did it.  I'm wanting to do it with a PayPal shopping cart but my guess is it can't be much different.