Announcement

  •  » Extensions
  •  » Tool: Import Data from Gallery2

#1 2018-01-16 20:01:57

Cuthbert
Member
2018-01-16
1

Tool: Import Data from Gallery2

Hi,

while I know that there's a plugin to do a G2 import, in some cases you just don't want to copy your whole gallery - and afaik the import plugin does not copy the ratings, e.g.

I wrote a little script for my own requirements - maybe someone else finds it useful as well.

If you re-upload your picture(s) to Piwigo, you simply feed the new Piwigo link of the picture and its old G2-link to the script.

You may select if you want to copy the rating only, "Rating, comments and views" or "Rating, comments, views, date of upload and description".

The script can handle 10 pictures at once.

Here's a litte screenshot:


http://img107.imagevenue.com/loc181/th_121147984_g2import_122_181lo.jpg

Usage is simple:

- download the script
- edit the first lines and insert your SQL data
- upload it to your web server
- point your browser to it.

(both G2 and Piwigo must use the same DB, of course)


Here's the link:

http://repositum.de/hosting/g2import/g2import.zip

Offline

 
  •  » Extensions
  •  » Tool: Import Data from Gallery2

Board footer

Powered by FluxBB

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