I have "mass files" to uploade to Gallery, can I use my ftp program to upload the files? How do I use Add Items from local server option--does that mean I can add items from another folder on my shared hosting server. If so how do I set this up?
I have "mass files" to uploade to Gallery, can I use my ftp program to upload the files? How do I use Add Items from local server option--does that mean I can add items from another folder on my shared hosting server. If so how do I set this up?
Well, my first post here but I'll give this a go as my gallery is flying . You could just go check out the documentation link above cause all the answers are there , but you first need to create a directory (folder) in the gallery directory and chmod it to 755, go to your site admin in gallery and scroll down till you find the place to add the paths to the directory you created in your gallery directory. Dont know the path ? heres an easier way than checking out the config.php file
- make a empty php file call it root.php and add this code
<?php
echo ($_SERVER['DOCUMENT_ROOT']."/");
?>
load that file into the root of your site and point your browser at it . That will show you your absolute root path. back to site admin general page and add that path to the local server upload paths and add the /yournewdirectory. hit save , and that is that. ( best now delete that root.php from the server , and i'd keep a copy in your local tools folder if you have one 'cause sure as sure you'll need to find an absolute path again). Now you can add any files to that folder via ftp and use the upload from local server tab. Keep an eye on this folder though because any ftp users have access to it. I use this method to load large raw files , and then delete them from the directory once loaded.
If you have sub folders/directories in this folder with mutiple pics in them then I believe gallery will upoad these also and create albums from them , so make sure the folders are named as you want them to appear.
Hope that helps and doesn't confuse and that I got it all right. Only been playing with this for a week so have lots of reading to do .... best get back to it.
ciao
danzman
Joined: 2004-04-24
Posts: 6
Posted: Thu, 2006-05-18 19:32
Sorry for butting in. I created the "/yournewdirectory" and looked for that place where I can inform gallery the local server upload path. I could not find it. Nothing in the config wizard, nor on gallery's admin pages. where do I entered the info?
FLUXrider
Joined: 2006-05-18
Posts: 49
Posted: Fri, 2006-05-19 09:22
Hi Danzman
Fire up your gallery and login as admin.
Click 'Site Admin' link
The page opens by default on general which is where you want to be . Little bit down that page is ' Local Server Upload Paths'.
Enter your path there.
FLUXrider
From the love of the ride good things come
mikedolio
Joined: 2006-05-14
Posts: 3
Posted: Fri, 2006-05-19 10:57
FLUXrider,
Thank You, very very very much, it is working now and I had no problems, when uploading 100s of files did you ever find out that at the end of the upload process the pages goes to page cannot be found for main.php?
pilgrim
Joined: 2006-03-17
Posts: 41
Posted: Wed, 2006-05-24 14:25
One clarification:
AFAIK, the local server directory has nothing to do with your web server's document root.
As long as the user or group your server runs as has write access to the directory (i.e. permissions are ok and the server isn't chrooted somewhere else, assuming we're talking about Apache here), it can be anywhere in the filesystem. You could even go so far as to say that you should actually keep it outside of your doc root (you wouldn't really want anyone accessing this directory through your webserver).
But hey, if it works, it works ;).
FLUXrider
Joined: 2006-05-18
Posts: 49
Posted: Wed, 2006-05-24 16:28
Well yes , it can be placed in any directory, even a temp one you call test , for instance, and this would be safer practise but I haven't bothered because I delete that file from the server as soon as I have the path. However it is probably best to create the empty directory and put it in there.
Good clarification
FLUXrider
From the love of the ride good things come
pilgrim
Joined: 2006-03-17
Posts: 41
Posted: Wed, 2006-05-24 19:16
I actually meant that the local file upload directory should not be inside the doc root. I wasn't talking about the directory that you create to find out what your document root is. I don't really see the need to use the value of $_SERVER['DOCUMENT_ROOT'] at all, and I would advise against creating the local file upload directory anywhere under it.
On my system I have /tmp/gallery set up and I have a a symlink in /home/g2_uploads which points to that directory. I could have just set gallery to use /tmp/gallery directly, but this seemed a bit more elegant to me at the time ;).
So now I've clarified my clarification ;).
FLUXrider
Joined: 2006-05-18
Posts: 49
Posted: Thu, 2006-05-25 10:37
Now there you go. We share we learn. I've learnt lots in this small exchange . Thanks Pilgrim ( eeeww , bit john waynish ). Been a pleasure doing clarifications with you. I may be new to all this but I learn fast. You have to when your addiction is lane splitting traffic.
Thanks.
FLUXrider
From the love of the ride good things come
pesto126
Joined: 2006-05-05
Posts: 8
Posted: Mon, 2006-06-12 12:05
Thx for this info.. really helped me get this thing rolling!
Quick question... do you know if anyone has made a modification to allow files to be deleted from the local server path after they are uploaded to the gallery? I would like to be able to do this via Gallery rather than using a FTP client since I upload my pictures via IdImager.
Thx!
docdj
Joined: 2006-08-07
Posts: 15
Posted: Tue, 2006-08-08 12:51
I have several thousand photos I work with using Photoshop and would like to keep them in the photoshop folders. I would also like to add them to my gallery, but do not want to have dupplicates of the photos (1 in G2 + 1 in PS). Can G2 provide a "link" back to the original photos, to prevent this duplication? I realize that, if I modify a photo and save the mod as a new file, I would have to get it into G2 again (unless G2 can provide a link to FOLDERs instead of each photo, then build the thumbnails from the contents of the folders).
Posts: 49
Well, my first post here but I'll give this a go as my gallery is flying . You could just go check out the documentation link above cause all the answers are there , but you first need to create a directory (folder) in the gallery directory and chmod it to 755, go to your site admin in gallery and scroll down till you find the place to add the paths to the directory you created in your gallery directory. Dont know the path ? heres an easier way than checking out the config.php file
- make a empty php file call it root.php and add this code
<?php
echo ($_SERVER['DOCUMENT_ROOT']."/");
?>
load that file into the root of your site and point your browser at it . That will show you your absolute root path. back to site admin general page and add that path to the local server upload paths and add the /yournewdirectory. hit save , and that is that. ( best now delete that root.php from the server , and i'd keep a copy in your local tools folder if you have one 'cause sure as sure you'll need to find an absolute path again). Now you can add any files to that folder via ftp and use the upload from local server tab. Keep an eye on this folder though because any ftp users have access to it. I use this method to load large raw files , and then delete them from the directory once loaded.
If you have sub folders/directories in this folder with mutiple pics in them then I believe gallery will upoad these also and create albums from them , so make sure the folders are named as you want them to appear.
Hope that helps and doesn't confuse and that I got it all right. Only been playing with this for a week so have lots of reading to do .... best get back to it.
ciao
Posts: 6
Sorry for butting in. I created the "/yournewdirectory" and looked for that place where I can inform gallery the local server upload path. I could not find it. Nothing in the config wizard, nor on gallery's admin pages. where do I entered the info?
Posts: 49
Hi Danzman
Fire up your gallery and login as admin.
Click 'Site Admin' link
The page opens by default on general which is where you want to be . Little bit down that page is ' Local Server Upload Paths'.
Enter your path there.
FLUXrider
From the love of the ride good things come
Posts: 3
FLUXrider,
Thank You, very very very much, it is working now and I had no problems, when uploading 100s of files did you ever find out that at the end of the upload process the pages goes to page cannot be found for main.php?
Posts: 41
One clarification:
AFAIK, the local server directory has nothing to do with your web server's document root.
As long as the user or group your server runs as has write access to the directory (i.e. permissions are ok and the server isn't chrooted somewhere else, assuming we're talking about Apache here), it can be anywhere in the filesystem. You could even go so far as to say that you should actually keep it outside of your doc root (you wouldn't really want anyone accessing this directory through your webserver).
But hey, if it works, it works ;).
Posts: 49
Well yes , it can be placed in any directory, even a temp one you call test , for instance, and this would be safer practise but I haven't bothered because I delete that file from the server as soon as I have the path. However it is probably best to create the empty directory and put it in there.
Good clarification
FLUXrider
From the love of the ride good things come
Posts: 41
I actually meant that the local file upload directory should not be inside the doc root. I wasn't talking about the directory that you create to find out what your document root is. I don't really see the need to use the value of $_SERVER['DOCUMENT_ROOT'] at all, and I would advise against creating the local file upload directory anywhere under it.
On my system I have /tmp/gallery set up and I have a a symlink in /home/g2_uploads which points to that directory. I could have just set gallery to use /tmp/gallery directly, but this seemed a bit more elegant to me at the time ;).
So now I've clarified my clarification ;).
Posts: 49
Now there you go. We share we learn. I've learnt lots in this small exchange
. Thanks Pilgrim ( eeeww , bit john waynish ). Been a pleasure doing clarifications with you. I may be new to all this but I learn fast. You have to when your addiction is lane splitting traffic.
Thanks.
FLUXrider
From the love of the ride good things come
Posts: 8
Thx for this info.. really helped me get this thing rolling!
Quick question... do you know if anyone has made a modification to allow files to be deleted from the local server path after they are uploaded to the gallery? I would like to be able to do this via Gallery rather than using a FTP client since I upload my pictures via IdImager.
Thx!
Posts: 15
I have several thousand photos I work with using Photoshop and would like to keep them in the photoshop folders. I would also like to add them to my gallery, but do not want to have dupplicates of the photos (1 in G2 + 1 in PS). Can G2 provide a "link" back to the original photos, to prevent this duplication? I realize that, if I modify a photo and save the mod as a new file, I would have to get it into G2 again (unless G2 can provide a link to FOLDERs instead of each photo, then build the thumbnails from the contents of the folders).
regards,
DJ