Options

URL Link format has changed?

DTMPhotosDTMPhotos Registered Users Posts: 47 Big grins
edited May 7, 2008 in SmugMug Pro Sales Support
Ok...First, I did try to search but my brain is a bit fried and I couldn't figure out the right combo to narrow down to a list worth digging through so I apologize in advance if this has been covered.

I use some customized code to offer some products that SM doesn't carry (acrylic cutouts) which I grabbed from someone (Andy?) a few years ago. It passes the URL of the image that a customer wants ordered to paypal. Now the URL format seems to have changed and when I get the link in the paypal form, I can't use it to link to the image (and order the correct one).

Here's what I'm using now:
function setPaypalForm(form) {
urlToImage = webServer + "/gallery/" + AlbumID + "/1/" + ImageID + "/Large";
form.item_name.value = urlToImage;
}

Can someone tell me what I need to do to pull the new format URL's?

Thanks!!!!

Derek
DTM Photos

Comments

Sign In or Register to comment.