Migrating Gallery to SmugMug

madeingermanymadeingermany Registered Users Posts: 22 Big grins
Hi,

I'm currently running Gallery on my own server.
Now I'm thinking about moving to SmugMug, but I can only go through with this, if I find a good way of getting my pictures with description over to SM without a lot of manual intervention.

An idea I had was to create script to use Gallery's RSS feed to upload my albums from there to SM.

But before I go ahead with this, let me ask:
Any other ideas?
Does something like this already exist?
Would it be helpful for you?

Thanks,
Marco

Comments

  • AndyAndy Registered Users Posts: 50,016 Major grins
    edited May 23, 2006
    I'll make sure that some of the guys see this!
  • luke_churchluke_church Registered Users Posts: 507 Major grins
    edited May 23, 2006
    Hi Marco,

    I have an upload core that can handle essentially arbitrary images and meta-data. Its translation architecture is intended to mangle quasi-incompatible architecture. All of the nasty uploading stuff, all we would need is an import filter from Gallery.

    I don't know much about Gallery, so I can't estimate how much work this will take, not much I would expect. Can you give me any impression? What I need is a way of extracting meta-data and associated images.

    Unfortunately I can't schedule any time to this before the 15th of June.

    If you need to go ahead before this, at least all you need to do is spit out some XML I can parse.

    All of the core I have written is in .NET, so I'm afraid you'll need a Windows machine.

    Does this help? Are you interested?

    Cheers,

    Luke
  • madeingermanymadeingermany Registered Users Posts: 22 Big grins
    edited January 9, 2008
    Hi Luke,
    darn, I never saw your reply.

    I ended up dumping the titles/description directly from the Gallery mysql db into the intermediate XML format that Migratr uses.
    Migratr does have Gallery2 import, but it wasn't working reliably for me, so I had to go this rather manual way.

    But it souns like that's what I would have had to do for you as well ;)

    Thanks,
    Marco
  • devbobodevbobo Registered Users, Retired Mod Posts: 4,339 SmugMug Employee
    edited January 9, 2008
    Marco,

    You might want to have to look at this.

    Cheers,

    David
    David Parry
    SmugMug API Developer
    My Photos
  • madeingermanymadeingermany Registered Users Posts: 22 Big grins
    edited January 9, 2008
    Thanks, David! It did look at gallery2smugmug, but it won't let me login.
    Somebody already filed a bug in September 07, but nobody replied so far. I guess Gallery has changed since May...

    Is anybody aware of any other tool that lets me upload pictures to SM and takes XML for Meta-Data?
  • madeingermanymadeingermany Registered Users Posts: 22 Big grins
    edited January 14, 2008
    Resolved
    OK, I wrote something myself - this thread can be closed in favor of
    http://www.dgrin.com/showthread.php?p=725212
  • cheesy mikecheesy mike Registered Users Posts: 6 Beginner grinner
    edited February 8, 2008
    Files have .null extension
    I migrated a lot of files into my gallery - http://freewheelers.smugmug.com - from Gallery 1.x to SmugMug using the gallery2smugmug migration software listed on the SmugMug hacks page - http://code.google.com/p/gallery2smugmug/

    All the files that have been migrated have a .null extension so the files, if I download them back to my system look something like myphoto.jpg.null All files that I have uploaded via other methods are absolutely fine.

    Does anyone know what I can do to fix this? Ideally I'd like to do it automagically rather than upload each photo again as I have quite a few external links to some pictures that I'd rather not break.

    Mike
  • battsbatts Registered Users Posts: 94 Big grins
    edited March 12, 2008
    I've had the same problems with the migration too. Maybe it is the g2 version, maybe my database, I have no idea. Next method is to try and update g2, always turns into g2 issues for me, so I'm almost at the point to cut my losses and start the description process over, once my trial is up. headscratch.gif

    Maybe this will help for others..

    gallery2smugmug: google code, some luck, but only imported my the most recently created g2 album, not sure it is being maintained anymore?

    migratr: failed to even work at all, seemed to be working for about 20 hours, then failed. wanted to send error report..

    fileupload for smugmug, marco's perl script, no luck yet. he hoped to take a look at it when he has time, his g2 was a different version, 2.2.4 and mysql.


    gallery 2 info
    Gallery version = 2.1 core 1.1.0
    PHP version = 4.4.4-8+etch4 apache
    Webserver = Apache/1.3.34 (Debian) PHP/4.4.4-8+etch4 mod_ssl/2.8.25
    OpenSSL/0.9.8c mod_perl/1.29
    Database = postgres7

    It's not a complete loss, better products make life easier.

    follow-up

    upgraded gallery2
    Gallery version = 2.2.4 core 1.2.0.6
    PHP version = 4.4.4-8+etch4 apache
    Webserver = Apache/1.3.34 (Debian) PHP/4.4.4-8+etch4 mod_ssl/2.8.25 OpenSSL/0.9.8c mod_perl/1.29
    Database = postgres7

    same issues have yet to find anything that will migrate anything from my gallery2 other then the photos alone, no descriptions, my opinion is because mysql is the most common database used in g2, and i'm using postgres7,
Sign In or Register to comment.