Announcement

#1 2022-12-15 12:41:48

tkrr
Member
2022-12-15
37

Import Flickr photo descriptions to Piwigo.com via .json file?

Hello everyone,

I intend to move from Flickr to Piwigo.com.
I organised my photos in Albums on Flickr. I will have the same setup here.
For some albums, the photos had descriptions. I have them on my PC in .json format (one file per photo).
Is there a way to (batch) import these local files instead of using flickr2piwigo?

Kind regards, tkrr

Last edited by tkrr (2022-12-17 10:08:39)

Offline

 

#2 2022-12-17 11:01:40

tkrr
Member
2022-12-15
37

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

I don't think this option is available, but does anyone know for sure?

Offline

 

#3 2023-01-01 00:40:08

BigIsland270972
Member
Norway
2022-03-15
374

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

Happy new Year!
Convert to comma separate .txt and import using the Properties Mass Update plugin.
https://piwigo.org/ext/extension_view.php?eid=630
:-)


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#4 2023-01-03 11:35:13

tkrr
Member
2022-12-15
37

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

@BigIsland270972
A Happy New Year to you to, and thanks for your plugin suggestion!

I just checked and the Properties Mass Update plugin is available on Piwigo.com too.
I've transferred all of my photos to Piwigo.com and closed my Flickr account.
Currently, all of my Flickr photo descriptions are in separate .json files (one per photo).
I noticed that Flickr assigned a number to each photo and those numbers are also in the .json files.
With those numbers, it should be possible to automatically match photos with descriptions.
Is there a way to use the plugin you suggested to update Piwigo photo descriptions using these multiple .json files?
Or does this plugin only allow to update all Piwigo photo descriptions from one single (.txt) file?
And if so, is there a way to easily merge my .json files into that one file that will be accepted by the plugin?
Do you perhaps know of a manual/ how-to for this?
I am not someone with programming skills, I am looking for a reasonably simple way.

Offline

 

#5 2023-01-09 01:26:25

BigIsland270972
Member
Norway
2022-03-15
374

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

Try merging the json files to one:https://www.withdata.com/blog/datafileconverter/combine-multiple-json-files-into-1-json-file-without-programming.html

THEN make a txt file
filename1,description1    (one image per line)
filename2,description2

Import via plugin choose comma separated and category from dropdown.

Best Regards


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

#6 2023-01-09 12:01:31

tkrr
Member
2022-12-15
37

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

@BigIsland270972 : Thanks for the suggestions, I will look into it!

Offline

 

#7 2023-01-11 16:55:51

tkrr
Member
2022-12-15
37

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

@BigIsland270972 : In the end, I used (jg), a command-line JSON processor, to get the same result. Someone helped me and made a suitable command.
Now I have uploaded the first album descriptions. Thanks again for your idea!

Offline

 

#8 2023-01-12 17:24:53

BigIsland270972
Member
Norway
2022-03-15
374

Re: Import Flickr photo descriptions to Piwigo.com via .json file?

Hello. Glad you got it sorted!
Best regards


Piwigo 14.0 | https://fotoarkiv.no | https://foto.arki.vet | http://Bergen.gallery  | http://Ålesund.gallery | http://geiranger.gallery | http://fjord.photos | http://foto.oslo.no
Apache | PHP 8.1 | MariaDB

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact