Quick note on working with Gallery2
Posted April 8th, 2008 by adminMoving the gallery2 from another host, if you want to do it, move the files first before installing the gallery2 software.
Since gallery2 had already been installed, and there were so few pictures to move, it was easier just to re-upload from local copies.
After uploading about 30+ pics into what was thought to be the modelthomes album, view of the site discovered that all the pics were in the root of the gallery, nothing in the album.
Rather than re-upload of all, figured out that ChildEntity table holds the relationships between the album and the pictures. Put a couple of pictures in the modelthomes album so could establish a parentid value in the table for that album.
Then changed all the existing entries, in increments of two, to that parentid.
That created duplicates of the first few pictures in the album. Used the gallery2 admin features to delete out the duplicates and all is working well.
Tags: database modifications, gallery2