Uploading Images, Autopopulation...

Zerox20

Joined: 2006-01-07
Posts: 2
Posted: Sat, 2006-01-07 21:13

I hope I am posting this in the right place...

I have about 1200 images, that I have all split up on which albums I want to go in..

Is there a way I can upload all the images through my FTP server, into the album folders so it auto makes the albums?

If I wanted to go through and add every file I could be doing this for years. Since I would be uploading like three at once, and hitting UPLOAD, then three more, it would take forever.

I want to just take them all, upload them to each album, and generate the thumbnails, and refresh the page, then they are there.

How is this possible???

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-01-08 06:31
Quote:
I have about 1200 images, that I have all split up on which albums I want to go in..

no.
i suggest you upload via ftp then use "add items -> from server"
http://codex.gallery2.org/index.php/Gallery2:How_to_Add_Items#How_to_Add_Items_from_the_Local_Server

 
Zerox20

Joined: 2006-01-07
Posts: 2
Posted: Sun, 2006-01-08 08:47

OKay I did that, and when I checked the boxes and hit upload...

Error Detail -
Error (ERROR_BAD_PATH)

* in modules/core/classes/GalleryDataItem.class at line 129 (gallerystatus::error)
* in modules/core/classes/GalleryUnknownItem.class at line 77 (gallerydataitem::create)
* in modules/core/classes/helpers/GalleryItemHelper_medium.class at line 203 (galleryunknownitem::create)
* in modules/core/classes/GalleryCoreApi.class at line 1499 (galleryitemhelper_medium::additemtoalbum)
* in modules/core/ItemAddFromServer.inc at line 168 (gallerycoreapi::additemtoalbum)
* in modules/core/ItemAddFromServer.inc at line 96 (itemaddfromserver::additem)
* in modules/core/ItemAdd.inc at line 94 (itemaddfromserver::handlerequest)
* in main.php at line 174 (itemaddcontroller::handlerequest)
* in main.php at line 87
* in main.php at line 80

System Information
Gallery version 2.0
PHP version 4.3.10 cgi
Webserver Apache/1.3.33 (Unix) DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e
Database mysql 4.1.14-Debian_3-log
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux bam 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189 #1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5

Note, I TRIPLE checked paths, its fine.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-01-08 17:52

that's a bug in g2. it happens when you try to add a file that has no known filetype.

https://sourceforge.net/tracker/index.php?func=detail&aid=1370567&group_id=7130&atid=107130

i wonder why you get the problem when adding items from the server. that's not quite the same as the bug report describes. in the bug, we assume it only applies to uploaded files.