I, and probably all of you guys, have the pictures in a folder with subfolders. The gallery supports "nested albums" but I cant find how to upload a directory so that the subfolders will become nested.
Gallery can not do that directly. You can do it with Gallery Remote, or galleryadd.pl (google it!).
jetfuel
Joined: 2005-04-19
Posts: 5
Posted: Tue, 2005-04-19 15:24
I have tryed with Gallery Remote but that wont convert directorys to nested albums
It just puts em all in the same album.
h0bbel
Joined: 2002-07-28
Posts: 13451
Posted: Tue, 2005-04-19 16:16
Right, you need to create the albums manually, then add the pictures. Galleryadd.pl will create an album structure based on a directory structure though.
Can't locate HTTP/Request/Common.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/i686-linux /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .) at galleryadd.pl line 120.
BEGIN failed--compilation aborted at galleryadd.pl line 120.
jetfuel
Joined: 2005-04-19
Posts: 5
Posted: Wed, 2005-04-20 17:45
what am i doing wrong
What do i need to run galleryadd?
Is there a howto?
THNX
h0bbel
Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2005-04-20 18:06
You seem to be missing some perl modules that it relies on. There should be some information on how to install them in the script itself. Open it in a text editor.
jetfuel
Joined: 2005-04-19
Posts: 5
Posted: Wed, 2005-04-20 18:10
i have but i am kind of new to linux, perl gallary and so on
I tryed to do the commands that are in the top of the script but that didnt help
h0bbel
Joined: 2002-07-28
Posts: 13451
Posted: Wed, 2005-04-20 18:33
In that case, you need to contact the developer and perhaps google a bit for information on how to install perl modules.
Posts: 13451
Gallery can not do that directly. You can do it with Gallery Remote, or galleryadd.pl (google it!).
Posts: 5
I have tryed with Gallery Remote but that wont convert directorys to nested albums
It just puts em all in the same album.
Posts: 13451
Right, you need to create the albums manually, then add the pictures. Galleryadd.pl will create an album structure based on a directory structure though.
Posts: 5
root@myserver:/home/myhome/2005-04-17# ./galleryadd.pl -g http://mydomain -u admin -p mypass -a mycars *.jpg
bash: ./galleryadd.pl: Permission denied
root@myserver:/home/myhome/2005-04-17# perl galleryadd.pl -g http://mydomain -u admin -p mypass -a mycars *.jpg
Can't locate HTTP/Request/Common.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.6/i686-linux /usr/local/lib/perl5/5.8.6 /usr/local/lib/perl5/site_perl/5.8.6/i686-linux /usr/local/lib/perl5/site_perl/5.8.6 /usr/local/lib/perl5/site_perl .) at galleryadd.pl line 120.
BEGIN failed--compilation aborted at galleryadd.pl line 120.
Posts: 5
what am i doing wrong
What do i need to run galleryadd?
Is there a howto?
THNX
Posts: 13451
You seem to be missing some perl modules that it relies on. There should be some information on how to install them in the script itself. Open it in a text editor.
Posts: 5
i have but i am kind of new to linux, perl gallary and so on
I tryed to do the commands that are in the top of the script but that didnt help
Posts: 13451
In that case, you need to contact the developer and perhaps google a bit for information on how to install perl modules.