multiple pictures upload

Support for IntegraMOD 141

Moderator: Integra Moderator

multiple pictures upload

PostAuthor: sanji » Thu Jan 17, 2008 8:44 pm

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
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: multiple pictures upload

PostAuthor: obiku » Fri Jan 18, 2008 3:31 am

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.
Last edited by obiku on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

Re: multiple pictures upload

PostAuthor: sanji » Fri Jan 18, 2008 6:16 am

"obiku";p="30517" wrote:As admin you can start album_otf.php


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

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00

Re: multiple pictures upload

PostAuthor: obiku » Fri Jan 18, 2008 2:55 pm

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.
Last edited by obiku on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
http://www.familie-smit.nl
http://portfolio.familie-smit.nl

Do not tsunami my inbox... instead use the forums...
Hard work may not kill me, but why take a chance?

[hr]
User avatar
obiku
Dev Team
Dev Team
 
Posts: 218
Likes: 0 post
Liked in: 0 post
Joined: Tue May 02, 2006 11:22 am
Cash on hand: 0.00
Location: level 8

PostAuthor: sanji » Fri Jan 18, 2008 5:17 pm

Ah... Hope we can then update Full Album Pack on the next version of IM <img>

sanji
Last edited by sanji on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
[img]http://www.secret-japan.com/forum/images/banners/fuji%20secret-japan%2088x31.gif[/img] [url=http]Secret Japan[/url] : discover Japan off the beaten tracks

sanji
Sr Integra Member
Sr Integra Member
 
Posts: 291
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 12, 2006 9:18 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]