coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: joker on October 05, 2005, 06:17:26 AM

Title: Sending Unwatermarked Picture After Purchase...?
Post by: joker on October 05, 2005, 06:17:26 AM
Is there a way to get the gallery to automatically send the picture someone has purchased after they pay for it?

Maybe when you upload the photo it goes to 2 seperate folders (i.e. userpics/<userid> and retailpics/<userid>).  The userpics folder will be the watermarked photos and the retail will be the full versions. When the confirmation of payment is made it will automatically email the paypal email of the purchaser with the unwatermarked photo.

V/R,
joker
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: Joachim Müller on October 05, 2005, 06:30:58 AM
there are paypal mods in the mods/hacks board.
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: Stramm on October 05, 2005, 12:20:42 PM
my watermark mod backups the orig file. Just search for it on the mods board... you'll just have to modify your paypal script to not send the fullsized but the orig pic. Should only be a adding CONFIG['orig_pfx'] before the image name then

When you email the images... then you can throw up a htaccess blocks users from calling it within the browser. Would make it more secure
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: joker on October 06, 2005, 12:00:02 PM
May I ask which paypal mod does send the file?  I am currently using the ecart.php mod from madeinhawaii.
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: Joachim Müller on October 06, 2005, 01:25:25 PM
none of them do send files out of the box, but they could be modified to accomplish this. Sending files is not a good option though imo.
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: Stramm on October 06, 2005, 01:29:42 PM
My favourite solution is a htpasswd protected folder that gets created when a user's doing a purchease. Images get copied there and will be available for download for let's say a week. Then the folder gets deleted. Little bit more complex to do. Therefore I suggested sending it. As GauGau mentioned this may be problematic when users limit their inbox etc..

However nothing like this is available so far. You'll have to ask on the freelancers board
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: Joachim Müller on October 06, 2005, 01:33:15 PM
Quote from: Stramm on October 06, 2005, 01:29:42 PM
However nothing like this is available so far. You'll have to ask on the freelancers board
@joker: do you want this thread moved to the "paid support" section? If yes, post your budget.
Title: Re: Sending Unwatermarked Picture After Purchase...?
Post by: joker on October 06, 2005, 05:22:43 PM
No thank you, was just asking if there was a script because a previous answer seemed to imply to me that there was a script that did this, so I was just checking.

Thanks to all who have helped.