According to a recent announcement from Flickr, the users with the free account may lose some of their photos if they don't update to a paid plan. Luckily Flickr is providing a way to export all of your photos and videos together with some meta data including useful things such as tags and albums. So we decided to write a small script, with the purpose of sorting the files in folders and extracting that meta data in a format, which can be later recognized by TagSpaces. The script iterates through all the media files in the export folder and copies the found files in sub folders. If file is part of album, a folder with the album's name is create and the file is copied there. If this is not the case the script create a folder, which name corresponds to the date when the image was taken, and copies it there. In addition to that it parses the provided JSON file and extract the tags, the description and the comments if available. This information is saved in readable for TagSpaces JSON files, in the
.ts sub folder of the folder where the image was copied previously.
- Your Flickr Data - You have to request and download your Flickr data, as shown in following screenshot.
- Login to Flickr via the web
- Click on the profile avatar and then select Settings
- Go to "Your Flickr Data" area and request your files by clicking the "Request my Flickr data".
- After a while the data is prepared and you have to download all the zip-files locally.
- You will need a running Node.js environment, which can be easily achieved on Windows, macOS or Linux by just installing it from here.
- Create a folder where the script will run.
- Download the last version of the script directly from here or from the release section of this project and place the script
export-organizer.jsin the previously create folder.
- Extract all files from all the zip exports in a sub folder called
- Under Windows you can right click on
export-organizer.jsand choose Open With... (path_to_nodejs\node.exe)
- Alternatively you can run the script in the Windows, Linux or macOS terminal in the working folder like this:
After a successful run of the script a new folder
flickrExport will be created containing your photos distributed in sub-folders.
The folder structure before running the script should look like this:
~ your working folder├── flickrData│ ├── img_4376_2723423425_o.jpg - image part of Album1│ ├── photo_2723423425_o.json│ ├── img_20180823_2723427625_o.jpg - image taken on 2018-08-23│ ├── photo_2723427625_o.json│ ├── ... - other media files│ ├── albums.json│ └── ... - other profile json files└── export-organizer.js
After running the script, you will have the following folder structure:
~ your working folder├── flickrData│ ├── img_4376_2723423425_o.jpg - image part of Album1│ ├── photo_2723423425_o.json│ ├── img_20180823_2723427625_o.jpg - image taken on 2018-08-23│ ├── photo_2723427625_o.json│ ├── ... - other media file│ ├── albums.json - file containing your albums│ └── ... - other profile json files├── flickrExport| │ ├── Album1| │ | ├── .ts| │ | | ├── img_4376.jpg.json| │ | | └── ... other TagSpaces meta data files| │ | ├── img_4376.jpg| │ | └── ... other media files| │ └── 20180823| │ ├── .ts| │ | ├── img_20180823.jpg.json| │ | └── ... other TagSpaces meta data files| │ ├── img_4376.jpg| │ └── ... other media files│ └── ... - other profile json files└── export-organizer.js
After the files are organized, you can create a new location in TagSpaces pointing to the
flickrExport folder and open it. Now you will be able to navigate your photos in TagSpaces by albums and see the tags, description and comment you have added to your media files.
Your don't need of course TagSpaces for just browsing your photos by folders. This can be achieved perfectly with the Windows Explorer or macOS Finder, but if you have spend some time organizing your photos with tags, descriptions and comments and want to use this data somehow TagSpaces might be helpful.
P.S.: If you are a TagSpaces PRO user you can even put your photos back to the Internet on a S3 compatible object storage such as Amazon's AWS S3 and connect this storage with your local installation of the product, making your photos available from everywhere.