Upload pics

prof_moriarti

Joined: 2012-05-16
Posts: 6
Posted: Wed, 2012-05-16 14:09

Hello i´ve just installed gallery 3 in my QNAS NAS
I have already many photos stored at /share/HDA_DATA/Qmultimedia/Fotos folder

Gallery3 has decided to store the photos in another folder that i cannot remember where. How can i point gallery3 to my photo folder?

Thxs in advance

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26097
Posted: Thu, 2012-05-17 01:12
Quote:
in another folder that i cannot remember where.

gallery3/var/albums/
I've never tried:
FAQ: I want to move my /var directory

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
prof_moriarti

Joined: 2012-05-16
Posts: 6
Posted: Sun, 2012-05-20 19:15

Hello:
i have read the link that you gave me but on index.php file there are at least 3 entries
[/share/Qweb/gallery3] # grep VARPATH ./index.php
define("VARPATH", realpath("var") . "/");
define("VARPATH", realpath("test/var") . "/");
define("VARPATH", realpath("var") . "/");

but i have tried but it doesn´t work.
a) could be a problem if the photo folder are in a different folder than the web is
i mean
website is on /share/Qweb/gallery3/......
and the photos are on /share/Qmultiedia/fotos/....

b) i also have tried to use a softlink on /var/albums folder but the gallery said that is not a writable folder and i also don´t see any photo stored in that folder.

i have though that i can move all my photos to the gallery album folder, but if i move my photo folders to /var/albums folder it doesn´t show the photos
i mean
i have a folder with many photos from a bithday, called Joseph Birthday, if i copy this folder to /var/albums it is not shown
Is there any way to import photos in the gallery database not doing it manually using the browser?

Thxs
Nacho

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 26097
Posted: Mon, 2012-05-21 00:16
Quote:
i also have tried to use a softlink on /var/albums folder

I've never tried but other said that they have been successful using symlinks.

Quote:
Is there any way to import photos in the gallery database not doing it manually using the browser?

Command line?
http://codex.gallery2.org/Category:Gallery_3:Other_Clients#gal3upload

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team