Page 1 of 1

multiple pictures upload

PostPosted: Thu Jan 17, 2008 8:44 pm
Author: sanji
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: Yes
Your knowledge: Advanced Knowledge
Board URL: http://www.secret-japan.com/forum

PHP Version:
MySQL Version:


What was done before the problem appeared?



What was done to try to solve the problem?




De.scription and Message

Is there a way to upload to the photo album a large number of pictures. Like 100-400 ??

I would hope that you can create a dedicated php file, but I wonder how to handle the name of the image files, which seems quite complicated like : d7940f5091ac2eacbe0a312e5b73a2e1.jpg... It there a meaning behind the name, or I could just resize all pictures, upload them and then upload the data my mysql?

Thanks,

sanji

Re: multiple pictures upload

PostPosted: Fri Jan 18, 2008 3:31 am
Author: obiku
the names of the pictures are hashed by there name and size. That way, if someone else posted a picture with the same name as a picture which already was uploaded, the old picture will not be overwritten. Only when a picture with the same name, and the same size of an old picture is uploaded, than that picture will be overwritten. But that chance is minimal.

Multiple uploads can be done by uploading the pics to the album_mod/upload/otf dir.
As admin you can start album_otf.php, that does not have any link in the album mod so you have to type it in the url. If i'm right you can than import those pictures.

Re: multiple pictures upload

PostPosted: Fri Jan 18, 2008 6:16 am
Author: sanji
"obiku";p="30517" wrote:As admin you can start album_otf.php


Where is that file located, or how do you run it?

sanji

Re: multiple pictures upload

PostPosted: Fri Jan 18, 2008 2:55 pm
Author: obiku
Sorry, i did make a mistake :oops: . The album_otf.php is in the next update of the Full_album_pack. And not in the one which is used in integraMOD 1.4.1.

PostPosted: Fri Jan 18, 2008 5:17 pm
Author: sanji
Ah... Hope we can then update Full Album Pack on the next version of IM <img>

sanji