coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: pctech on January 12, 2005, 03:33:41 PM

Title: Batch Uploading - FTP Directory
Post by: pctech on January 12, 2005, 03:33:41 PM
I am trying to batch upload pics. It is telling me that there are no file in the ftp directory. What directory is it looking in. (ie - where do I need to ftp the files to in order to batch add them)?

Thanks!
Title: Re: Batch Uploading - FTP Directory
Post by: Nibbler on January 12, 2005, 03:42:54 PM
wow, I can't believe we left that out of the documentation ! - no, wait, we didn't , it's here (http://coppermine.sourceforge.net/manual.php#batch_add_pics). phew! :)
Title: Re: Batch Uploading - FTP Directory
Post by: pctech on January 12, 2005, 03:48:25 PM
Hehe - well, after I posted this, I read down in the forum and found *that* answer. After creating the folder in /albums as instructed, I was able to get a step further. At first I got an error when uploading a .gif image, saying only jpeg was allowed, so I tried a jpeg and I get this error:

Warning: rename(./albums/ifree/top-header.jpg,./albums/ifree/top-header.jpg): Permission denied in /usr/home/greglee/public_html/pctech/gallery/addpic.php on line 39

Warning: imagejpeg(): Unable to open 'albums/ifree/thumb_top-header.jpg' for writing in /usr/home/greglee/public_html/pctech/gallery/include/picmgmt.inc.php on line 218

Warning: chmod(): No such file or directory in /usr/home/greglee/public_html/pctech/gallery/include/picmgmt.inc.php on line 224

Warning: getimagesize(albums/ifree/thumb_top-header.jpg): failed to open stream: No such file or directory in /usr/home/greglee/public_html/pctech/gallery/include/picmgmt.inc.php on line 226
Unable to create thumbnail or reduced size image.

Thanks!
Title: Re: Batch Uploading - FTP Directory
Post by: pctech on January 12, 2005, 03:56:22 PM
NEVERMIND! I feel like a dunce! After reading even further in the forum, I found I needed to change the permissions in my newly created folder and it works fine now. I would like to know this. Once I have used the batch upload, can I delete the images in my created folder or does it look in that folder for displaying my images?

Thanks
Title: Re: Batch Uploading - FTP Directory
Post by: Nibbler on January 12, 2005, 04:22:32 PM
You have to leave them there, the files stay where you uploaded them to, and the links will point to them.