Auto Pickup with Gallery 3 sites

Hi,

I've installed your Gallery 3 module to see what I think of your service. Overall, I like it, but I'm disappointed that your module doesn't support auto pickup.

I've made some modifications to your module to try and resolve this, but I've run into two issues:
1) For security purposes, I would like to restrict the pickup page to just you. When I do the auto-pickup test, it looks like requests are coming from 107-20-7-162.compute-1.amazonaws.com . Is that the same for actual pickups as well? Also, how consistent is this? Do I need to allow all traffic from amazonaws.com or just that specific address?

2) Auto pickup only gives me a file name to work with, which is not enough to accurately identify which photo is being ordered (I've currently got 12,770 photos on my site, file names are not unique). If your auto-pickup system could pass some additional information to the php script as part of the HTTP url, like the URL to the resized image that's being ordered, I could use that to do a database lookup and figure out exactly which image file to return. Something like
www.example.com/var/resizes/Album1/P1... or just /var/resizes/Album1/P1000347.JPG would make it a lot easier to figure out which photo to retrieve.
13 people like
this idea
+1
Reply
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Further development of the mod:
    http://gallery.menalto.com/node/10432...

    To summarize, if the Fotomoto people could provide a keyword for the Filename Lookup Pattern field that would represent the url to the "public" resized image (without the http:// part) instead of just the file name, then this modification would be able to lookup the correct original image, even if multiple different images with the same file name exist.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Hi Derek,

    I read through the thread you linked to -- it seems to be mostly related to printing photos from private albums. My albums are public, so this is not an issue for me. My issue is with your current auto pickup system.

    I've created some additional code (as mentioned in the Gallery thread above) that allows me to point your auto pickup system to a semi-private http url like this one:
    http://eric2001.brinkster.net/gallery...
    Your system then provides a file name over HTTP, and the page retrieves the original image for you so it can be printed. So for example, if someone was looking at this page:
    http://eric2001.brinkster.net/gallery...
    Your auto pickup system would provide "IMG_2396.jpg" to the pickup url, and retrieve the full image here:
    http://eric2001.brinkster.net/gallery...

    I've tested it and everything works fine.

    The Problem I've run into is that your system only provides a file name. File names are not unique in my gallery. IMG_2396.jpg corresponds to the photo I linked to above, and also corresponds to a photo I took with a different camera back in 2006. There's no way for me to automatically distinguish between the two without more information. If your auto-pickup system could provide the URL of the photo that you're trying to print, instead of just the file name, then I could use that to figure out exactly which photo to print, instead of having the system guess when multiple matches are turned up.

    Continuing with the above example, the URL that your site would see for the IMG_2396,jpg file would be:
    http://eric2001.brinkster.net/gallery...
    If you could provide a parameter for the "Filename Lookup Pattern" field on http://my.fotomoto.com/cloud_storage_... that would correspond to that url, instead of just the file name, then I could run the full URL through a lookup script, and return the correct image. If you could provide a variable like "FILEURL" instead of "FILENAME.EXT" that would return a value like:
    http://eric2001.brinkster.net/gallery...
    or
    eric2001.brinkster.net/gallery3/var/resizes/Bailey/IMG_2396.JPG?m=1307578642
    or
    gallery3/var/resizes/Bailey/IMG_2396.JPG?m=1307578642
    Then your HTTP pickup system could append that to the end of the pickup URL, like this:
    http://eric2001.brinkster.net/gallery...
    or
    http://eric2001.brinkster.net/gallery...
    or
    http://eric2001.brinkster.net/gallery...
    Allowing for you to automatically pick up the correct full-sized photo, even if there's more then one photo with the same file name.
    (the "http://", the domain name [eric2001.brinkster.net], and the "?m=1307578642" added to the end of the URL are not important, and can either be supplied or left off, the system will find the correct photo regardless)

    Does that make sense?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Hi Eric,

    Your request totally makes sense and you've posted this as an 'Idea', which is the perfect place for such a feature request - our product team monitors these posts closely and others in our community who might need the same feature are encouraged to 'vote' for the idea - the more they do, the more likely it is that we'll implement the requested feature.

    For the moment I want to do my best to give you a solution that will work with our current system. Auto Pickup is currently designed to match web to print files based on filename alone, so in order for it to work you'll need your files to be named uniquely.

    I know renaming all of your files can be a hassle (I'm a photographer and seller as well), but I wanted to suggest that the effort is worth it if you've got a large volume of images. I just went through the exercise of assigning a unique photo ID to the filename of every image in my library, but it has paid off in spades as it's now much easier for me to locate specific images, manage multiple versions, fulfill orders, and handle publishing images to multiple web properties. Again, I know it's a pain, but I'd still suggest you do the same for several reasons, including the convenience of being able to use Auto Pickup.

    I hope that helps and kind regards,
    Derek
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • I migrated from G1 to G3 and one of the advantages of G3 is that I can have items with the same name. I have a son and daughter and they have the same camera. Thus the same file names. Educating them or other users in a multi user Gallery to add a unique ID to the file name is not a simple task.

    Cheers!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Hi dave42 - totally understand the situation. One option I'd suggest in this case is use software to assign the unique ID when you import the photos from your camera to your computer.

    As I mentioned above, the feature request still stands...I'm just trying to offer solutions that help people get going with our system as it is now.

    Kind regards,
    Derek
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Have you guys figured out how to make Fotomoto and Gallery3 work together smoothly with the Auto Pickup yet?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Derek (Official Rep) May 29, 2012 06:32
    Hi Scott,

    Auto Pickup will work nicely if you just post your large images for print in a separate directory outside of G3 - please see this article for more.

    At this time there is no documented other way to have Auto Pickup fetch the large images directly from G3.

    I hope that helps and kind regards,
    Derek
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • I would love to switch from digibug to FM, but digibug integrates with gallery2/3 to automatically retrieve the full res image. If you guys could get your act together it would be a no-brainer to user gallery and FM together. Your work-around solutions really only seem plausible for small photo listings.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Derek (Official Rep) May 29, 2012 18:25
    Hi all,

    OK, so you can set up an Auto Pickup profile to find your large (high-resolution) images at the location where Gallery3 stores them by default. I've attached a screenshot of how the Auto Pickup profile would look for default Gallery settings.

    Note that username and password here are blank - that's because the original files are publicly accessible in the default Gallery installation. You'd need to configure your own host, username, password & path depending on the specifics of your installation if you've made changes.

    If you are protecting private galleries, please see this article for more information about using Fotomoto with password-protected sites.

    I hope that helps and kind regards,
    Derek

    • @Derek -- This doesn't work. It generates an error "Gallery3: HTTP:
      File not available in path gallery/var/albums/." in fotomoto's dashboard.

      This is because Gallery doesn't necessarily store photos in /var/albums, but can store photos in sub albums within /var/albums that correspond to the album name that the photo is in.

      For example, if you look at this photo:
      http://eric2001.brinkster.net/gallery...
      IMG_2396.jpg is in an album called Bailey. It's high res file would thus be stored at /var/ablums/Bailey/IMG_2396.jpg, but when fotomoto tries to pick up the file with the settings you provided above, it looks for the file at /var/albums/IMG_2396.jpg, which is wrong and generates an error.

      As is mentioned above in earlier posts, if fotomoto could provide a "Filename lookup Pattern" that corresponds to the URL of the "low res" image the user is trying to purchase instead of just the file name, then this could easily be used to run a lookup on Gallery's side of things to find and serve up the correct photo.

      Until there's a way to use auto-pickup, I'm going to continue to use digibug.
    • Derek (Official Rep) May 30, 2012 19:38
      Hi Eric,

      The product team here monitors all of these Idea posts, so your comments are appreciated and being considered.

      I want to help you as best I can for now, but as for making changes to our backend to support Gallery3, I don't want to get your hopes up. Given that a) we're a small team, b) you *can* easily make Auto Pickup work and c) we haven't had a huge demand for this and d) we have a *big* list of high-priority things to do, it's not likely to happen any time soon.

      That said, I'm confident that you can get Auto Pickup to work for your site as you can with any other application.

      To address the particular situation you explained above, you'd just need to add paths to your Auto Pickup profile for each album that contains images that you want Auto Pickup to find. You could also configure Gallery3 to store all of your high-resolution images in one directory, which might involve the least hassle if you've got a lot of images. If you're handy with server configuration, you could probably come up with a few other solutions as well.

      I hope that helps and kind regards,
      Derek
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated