A journey of sharing photo only got me into having a website of my own.
When digital camera came out with decent mega pixel was an early adapter of the same. But soon realized sharing Pictures on email was not an option and hosted pictures on Tripod. Oh! they used to give 10MB of free hosting :) now Flicker gives one 1TB free. So long story small after the managing own gallyery app writen initally with csv and php , later mysql and php and lastly Gallery for almost 10 years. found gallery development is kind of not that active it used to be. So thought of moving into Flickr which was big no in-between as they had restriction on free accounts. But now those restriction gone managing
7000+ picture and importing them with proper details remained a BIG challenage. At last came up with iptcembed where all the details where written into JPEG file itself andimported those image as set to Flickr.And all your details, tag, captions are set properly.
Here is how I did it
Copy Gallery’s items table to temp table so we do not mess with live data
Add a new column to the temp table
ALTER TABLE Yours_G3_items-new ADD album_name TEXT NOT NULL
Find out the parent album id of each items and add that data in the new column.
UPDATE Yours_G3_items-new,Yours_G3_items SET Yours_G3_items-new.album_name = Yours_G3_items.title WHERE Yours_G3_items-new.parent_id = Yours_G3_items.id
Export the new table with ”|” as separator and "" as enclosed.
Now the PHP script
Wish there was tools avilable on the web where I could import the image from my old hosting company to Flickr directly instead of uploading them via their PC up-loader.