buy same photo in smugmug that's posted on another website?
Madam_Dracthor
Registered Users Posts: 5 Beginner grinner
I'm not sure if this is a completely crazy question. I looked around DGrin and did a Search, but didn't find an answer.
Here it is:
We have a new web site specifically for spots photos. Now, we would like to sell these photos through our Smugmug account.
Therotically, we'd like a "Buy Photo" on that other web site: http://www.freedomgalleries.com/advarsity/main.php
and when people click on "Buy Photo," they are brought to our Smugmug account.
Also, we have limited HTML access to advarsity. Is this doable?
Here it is:
We have a new web site specifically for spots photos. Now, we would like to sell these photos through our Smugmug account.
Therotically, we'd like a "Buy Photo" on that other web site: http://www.freedomgalleries.com/advarsity/main.php
and when people click on "Buy Photo," they are brought to our Smugmug account.
Also, we have limited HTML access to advarsity. Is this doable?
0
Comments
Portfolio • Workshops • Facebook • Twitter
them into the cart.
My Website index | My Blog
I am doing just what you describe, linking from my main website to my smugmug gallery. I have an established website with photos, and I wanted to be able to offer prints of some of them. So I recently signed up for a pro Smugmug account and uploaded all the same images, only in full original resolution. Then I carefully hyperlinked each photo from my main site to the corresponding Smugmug photo. It took a lot of copying and pasting to do it, but it works great! Check it out:
http://www.joelfletcher.com/outdoor-photography.html
Cheers,
http://www.joelfletcher.com
Hmmm, as I think of this, it would be possible for the buy photo link in your main site to take you directly to the cart in Smugmug with that photo already added to the cart rather than just taking you to the Smugmug site. It would involve a little JavaScript in your smugmug site and adding a parameter to the link you fire from your other site. If you're interested in how to make this work, I could outline the steps for you. Let me know.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question
That is an interesting idea! I am not sure if I want to go to the cart directly however. Since the buyer would be transported to a completely different site, it might be better to let him check out the gallery information and get accomodated to being on Smugmug first. Then they can hit the "buy this photo" button when they feel comfortable that it's all OK. I would be interested in how you would do this though, in case I decide to do it. The original poster of this thread, Madam Dracthor, as well as other smuggers would probably want to know as well.
http://www.joelfletcher.com
Here's the basic idea:
In your Smugmug gallery, the "Buy This Photo" button executes a JavaScript statement "addCartSingle(imageID)". So, in your external web-site, you could have the Buy Photo button under a given image take you to your gallery, but add a parameter to the URL that indicates the user wants to buy the current photo. For example, if the photo that the user wants to buy is this URL "http://joelfletcher.smugmug.com/gallery/3356342#187182436", then your buy button could take you to this: "http://joelfletcher.smugmug.com/gallery/3356342#187182436?buysingle"
The "?buysingle" will be left alone by Smugmug so it will stay on the URL.
Then, you implement some JavaScript in your Smugmug page that, after the page loads, it checks the URL and looks for the parameter "?buysingle at the end of the URL". If it sees that parameter on the URL, it gets the imageID for the current image and executes the Javascript function addCartSingle(imageID);. This would then do exactly the same thing as if the user pressed the buy this photo button in the Smugmug page.
Homepage • Popular
JFriend's javascript customizations • Secrets for getting fast answers on Dgrin
Always include a link to your site when posting a question