Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Photo fulfillment help needed  (Read 4376 times)

0 Members and 1 Guest are viewing this topic.

mdevane

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • LadyHuskies.com
Photo fulfillment help needed
« on: July 11, 2004, 09:49:03 pm »

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

Logged
Regards, Mark

mdevane

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • LadyHuskies.com
Re: Photo fulfillment help needed
« Reply #1 on: July 16, 2004, 03:05:54 am »

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
Logged
Regards, Mark

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Photo fulfillment help needed
« Reply #2 on: July 16, 2004, 07:13:38 am »

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
Logged

mdevane

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • LadyHuskies.com
Re: Photo fulfillment help needed
« Reply #3 on: July 16, 2004, 01:22:09 pm »

v1.3

thx, Mark
Logged
Regards, Mark
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 19 queries.