[SOLVED] Possible to take a whole directory structure in?

kalkrishnan

Joined: 2004-09-20
Posts: 12
Posted: Wed, 2005-05-11 01:36

Hi, if I upload a whole nested folder structure with photos in it, can I add it to the Gallery, or do I have to do it one folder at a time? It sure would be nifty not to have to do it!
----

Gallery URL (optional):
Gallery version: Holy Hand Granade
Webserver (with version):
Datatabase (with version):
PHP version (eg 4.2.1):
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system:
Web browser/version:
G1 version (for migration bugs):

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-05-11 03:05

I haven't tried a directory structure, but I do zip my photos into a zip file and upload that way. Beaware of memory restrictions on your server. On mine I any single file can't be larger than 4MBs and I can't upload more than 8MBs total at a time.

I have been planning on zipping a directory or two of photos to test out. I kind of doubt it'll work though.

Just tested it. No, it does not work.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-05-11 04:56

In Add from Local Server just click the checkbox next to a directory and it adds recursively the entire dir contents.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2005-05-11 05:15

Very nice! I like that a lot. Now does this have the same memory limitations as uploading from the web browser?

 
kalkrishnan

Joined: 2004-09-20
Posts: 12
Posted: Wed, 2005-05-11 05:22

Hey, mindless! Thanks! That's exactly what I was wondering about!

Got to try it now, thanks. :D

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-05-11 05:39

No, the data does not travel through your webserver so the POST max size does not apply.

 
kalkrishnan

Joined: 2004-09-20
Posts: 12
Posted: Fri, 2005-05-13 05:42

Just a follow-up... I tried it with a deeply nested directory structure with over a 1000 photos (approx), and it worked FLAWLESSLY! Hooray for the team! :D

 
drwhit73

Joined: 2004-02-01
Posts: 16
Posted: Sat, 2005-05-14 17:45

Will not work completely for me. When I check the box it will start to add the albums/pics but it gives a page cannot be displayed error and when I go back and check it only copied part of the pictures.