Author Topic: Shutterfly Integration  (Read 5882 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Shutterfly Integration
« on: June 14, 2005, 10:06:58 »
With prompting from Sunlizzard, I've done a quick and dirty Shutterfly integration. To use it, simply save the attached shutterfly.tml in your templates directory, and add the following line to your album_photo.tml:

Code: [Select]
####FILE=shutterfly.tml####
This line can be added anywhere, but a good spot is probably right under the image itself:

Code: [Select]
        <!-- The actual photo. -->
        <div class="objects">
                ####OBJECT####
        </div>
####FILE=shutterfly.tml####

        <!-- Insert the photo's "long description," if present. -->

That's it! You'll now have an "Order Online Prints" button, which will load the current photo into your shutterfly shopping cart when clicked.

Note that you must be using a version of album.pl downloaded after 13 June 2005 in order for the new fields in the shutterfly.tml template to work.


Cheers
Mike

Offline Sunlizzard

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 37
  • Karma: +1/-0
    • King Lizzard: Las Vegas' Godfather of Metal
Re: Shutterfly Integration
« Reply #1 on: June 14, 2005, 21:07:38 »
Sweet...this is great. Thanks, Mike!

Offline kl

  • album.pl User
  • *
  • Posts: 7
  • Karma: +0/-0
  • I forgot to change the default text
Re: Shutterfly Integration
« Reply #2 on: July 13, 2005, 09:47:41 »
Hi Mike,
I intergrated this into my album but when I click to upload the pic for printing in Shutterfly the thumbnail of the pic not showing.
Do you know why,

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Shutterfly Integration
« Reply #3 on: July 13, 2005, 13:31:49 »
Do you use thumbnails? I.E. Do you have ImageMagick creating them, or have you manually created them? If there's no thumbnail it won't work properly.

Offline Sunlizzard

  • album.pl Donor
  • album.pl Tester
  • **
  • Posts: 37
  • Karma: +1/-0
    • King Lizzard: Las Vegas' Godfather of Metal
Re: Shutterfly Integration
« Reply #4 on: July 13, 2005, 17:00:35 »
Quote
Note that you must be using a version of album.pl downloaded after 13 June 2005 in order for the new fields in the shutterfly.tml template to work.


Did you download this version? The mod will get you red x's if you don't upgrade to this version.

Offline kl

  • album.pl User
  • *
  • Posts: 7
  • Karma: +0/-0
  • I forgot to change the default text
Re: Shutterfly Integration
« Reply #5 on: July 14, 2005, 13:38:47 »
Mike,
I used ImageMagick to create the thumbnail and I have the up to date version of album.pl (download just recently)
In your instruction do I have to put the ####FILE=shutterfly.tml#### twice
thanks

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Shutterfly Integration
« Reply #6 on: July 14, 2005, 14:01:06 »
Nope, just once where you want the "Order Online Prints" button to apepar. If you want to send me a link I can take a look at the HTML to see what's going on.

Offline kl

  • album.pl User
  • *
  • Posts: 7
  • Karma: +0/-0
  • I forgot to change the default text
Re: Shutterfly Integration
« Reply #7 on: July 26, 2005, 13:01:34 »
Hi everyone,
I have successfully intergrated this into my album but there's a little problem that I've seen that by uploading this way, Shutterfly charge $0.29 cents for each picuter while in fact if you have an account with it, it's only $0.19 cents. Is there anyway to fix this and give me some guide how to intergrate the others like costco or snapfish.
thanks,

Offline Mike Bobbitt

  • album.pl Author
  • Administrator
  • I Spend Too Much Time Here
  • *****
  • Posts: 3381
  • Karma: +35/-2
    • Mike's Development Archive
Re: Shutterfly Integration
« Reply #8 on: July 27, 2005, 09:44:12 »
You're right, it doesn't seem to acknowlede that you're logged in at all, which is unfortunate. You may be able to pass shutterfly login info with the form, but I don't have any "integration" details on shutterfly so I don't know how to do this.

As for other online developing services, it should be possible, but again, I'd need a bit of info from each service on how they accept integrations.