Photo fulfillment help needed Photo fulfillment help needed
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Photo fulfillment help needed

Started by mdevane, July 11, 2004, 09:49:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mdevane

I am trying to mod CMG to allow print fulfillment thru a 3rd party called PrintRoom. (www.printroom.com).  They provide an open api for photographers with a Professional PrintRoom account to allow hosting thru the photographer's own gallery (e.g. - Coppermine), but fulfillment thru their printing system including cart, fulfillment, shipping, etc.  To add photos to the printroom.com fulfillment system, a form button is created on the photographer's web pages, which pass the information about the photograph (image and thumbnail url), the photographer's account name, pricing info, etc.  

The following is an example of the form code necessary to accomplish the linkage (very similar to Casper's Paypal hack for v1.3):

<form METHOD="POST" NAME="PrintPicture" ACTION="http://www.printroom.com/AddImageToCart.asp">
<input type="HIDDEN" name="partner" value="test_partner_account_name">
<input type="HIDDEN" name="add_images_url" value="http://www.aa.com/page1.htm">
<input type="HIDDEN" name="image_thumb" value="http://www.aa.com/image/image1_t.jpg">
<input type="HIDDEN" name="image_preview" value="http://www.aa.com/image/image1_p.jpg">
<input type="HIDDEN" name="image_url" value="http://www.aa.com/image/image1.jpg">
<input type="HIDDEN" name="image_thumb" value="http://www.aa.com/image/image2_t.jpg">
<input type="HIDDEN" name="image_preview" value="http://www.aa.com/image/image2_p.jpg">
<input type="HIDDEN" name="image_url" value="http://www.aa.com/image/image2.jpg">
<input type="HIDDEN" name="ship_to_name" value="John Smith">
</form>

I am not a programmer, but I have been able to hack into the code, submit buttons based on Casper's work with Paypal.  I don't know the variable name(s) for the "image_thumb" or "image" urls to pass them correctly.  Can anyone help me with this?  Once completed, I believe that this will be very valuable to any photographer looking for online fulfillment thru CMG

thx, Mark

Regards, Mark

mdevane

Folks -

Surely someone knows the answers to the questions I posed!  Just need some guidance on the variable names for the image & thumbnail url locations.  Is the best forum to ask about this, or should l move it to another?

Any/all help will be greatly appreciated.

Mark
Regards, Mark

Joachim Müller

the board "feature requests" deals with features users would like to see in future versions of coppermine, there's no actual support here. Just post what version of coppermine you're using and I'll move this thread into the proper support board.

GauGau

mdevane

Regards, Mark