Sep 18, 2002, 6:07 PM
Veteran / Moderator (6956 posts)
Sep 18, 2002, 6:07 PM
Post #3 of 3
Views: 1962
You will need to have a few pieces of information in your upload file.
If you upload the pictures to a directory .../images
and thubnails for those pictures to .../images/thumbnails
you will save yourself a lot of coding issues.
With 6000 images, you will really want to use multiple image directories, for file system performance.
Your upload file would need to have the following fields:
1. Race number
2. thumbnail picture
3. Main big picture
4. Order number
5. directory_storage_path or the URL to the image.
I have a basic import routine that takes a text file that is formatted by the | character as delimeter, and can import the fields it finds, filling in the rest of the necessary defaults before insertion.
It does not put things into categories, and you need to execute a bit of SQL code to insert them into the "default" category.
I use it to maintain my domain names site, and a few other record-keeping sites.
I'm working on a program that will deal with this issue, of bulk uploading images and reading in a files.bbs type script. It will also walk directories, and import images, pending further data, and write out files.bbs type files to allow backup/restore if the system gets dissociated or needs to be moved.
PUGDOG� Enterprises, Inc.
The best way to contact me is to NOT use Email.
Please leave a PM here.