ZenphotoCMS Forum
way to import from gallery2? - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: way to import from gallery2? (/thread-3118.html)

Pages: 1 2


way to import from gallery2? - JustinHoMi - 2008-06-18

I currently have a gallery2 installation that has a little over 10,000 photos. Is there any automated way of migrating to zenphoto?

Justin




way to import from gallery2? - acrylian - 2008-06-18

Sorry, I fear there isn't, except for this http://www.zenphoto.org/support/topic.php?id=2470&replies=2.




way to import from gallery2? - JustinHoMi - 2008-06-18

From what I can tell, that imports the descriptions, and assumes you already have the images uploaded? What if you have multiple images with the same name?




way to import from gallery2? - acrylian - 2008-06-19

Sorry, I can't help with that, this is a third party skript I never tried.

If you find a way to attach the descriptions etc. to your images as exif data (maybe Gallery is able to do, I don't know) you could simply put the folders with your images into zenphoto's album folder and Zenphoto would use them.




way to import from gallery2? - efurban - 2008-07-30

Hi, finally I decided to write this Gallery2 to zenphoto migrator. Check it out here: http://apps.ouwu.com/confluence/display/pb/Gallery2+to+ZenPhoto+Migrator

I just finish the code and tested a bit. Will upload the package in a day or two .




way to import from gallery2? - JustinHoMi - 2008-07-31

That's great! I may test it soon... but I'll wait until you finish your todo list to go live with it.




way to import from gallery2? - efurban - 2008-08-06

I've done most of the features except the comments migration. Demo is available now at the site. http://apps.ouwu.com/confluence/display/pb/Gallery2+to+ZenPhoto+Migrator




way to import from gallery2? - trisweb - 2008-08-06

That looks very, very cool. Let us know when you have a download available and have tested it a few times, we'd love to announce this in the news section and I'm sure many people would be very interested in using it.




way to import from gallery2? - efurban - 2008-08-08

alright.
I've just finished this tool and uploaded to my site. Tested against two instances (1000+ and 6000+ photos each) works for me but I'd love to have more people to test it before the announcement.

Thank you.




way to import from gallery2? - JustinHoMi - 2008-08-09

This in no way modifies the Gallery albums or database, right? Just want to confirm before I try it




way to import from gallery2? - JustinHoMi - 2008-08-09

Is there any way to do this without precaching the images? It doesn't work so well doing it on 10,000 images. Can you just refresh the metadata?

Sorry, I've never used zenphoto before, so I don't entirely know how it works.




way to import from gallery2? - acrylian - 2008-08-09

You don't need to precache images! They are cached (= the sized images / thumbs are generated) when someone visits the image the first time.




way to import from gallery2? - efurban - 2008-08-09

JustinHoMi, correct. The tool does NOT modify the Gallery albums or database. I have the same question about pre-caching images as well. see my post here http://www.zenphoto.org/support/topic.php?id=3559&replies=3

All images metadata has to be there before using the migration tool. but obviously clicking each one of them is not the solution. I couldn't pre-cache albums that are bigger than say 2000 pics. Does anyone know if we can invoke pre-cache feature via command line?




way to import from gallery2? - Megan - 2008-08-09

I tried this and it copies the album titles and descriptions but not the image descriptions. Any ideas? My gallery is here:

http://www.meganmcdermott.com/zenphoto/




way to import from gallery2? - acrylian - 2008-08-09

Here is a link to a forum thread where a user posted a Perl script to import image descriptions (it's also listed on our extensions page): http://www.zenphoto.org/support/topic.php?id=2470&replies=2




way to import from gallery2? - efurban - 2008-08-10

Megan, this tool should migrate everything. what does the output say? and did you put a filename for the log? if so you can send me the log file, which contains all the SQL queries.




way to import from gallery2? - efurban - 2008-08-10

also, did you try to precache the images? metadata for all photos has to be there otherwise the tool can't find records to update.




way to import from gallery2? - aquila - 2008-09-03

How can you precache an entire, large site? Is there some sort of way to force this? Or should I script it in some way?




way to import from gallery2? - sbillard - 2008-09-03

The best way is not to bother. Why do you think you need to precache it anyway?




way to import from gallery2? - krainbolt - 2008-09-04

The only reason I can think of to precache an entire gallery is if someone is trying to convert from Gallery2 to zenphoto using efurban's migration tool. (based on efurbans statement of "All images metadata has to be there before using the migration tool.")

Also, for efurban - on your site under "Features" you state:

"migrate photos: titles only (since I don't have descriptions for photos in Gallery2)"

Wouldn't this likely be the reason image descriptions aren't converting over?