Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Multiupload (CPG 1.3.3)  (Read 4206 times)

0 Members and 1 Guest are viewing this topic.

BT-loader

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 102
Multiupload (CPG 1.3.3)
« on: August 30, 2005, 07:18:15 pm »

Hi all!

I really need some help with a new hack/mod for v1.3.3.
I have lots of pictures that i need to upload all at ones, but i havenīt found the right function for it.

Since i still need to add "title" and keywords manually to all pictures, there is no other way then upload one picture at the time.  :-\\

So i was hoping that someone could create a new hack/mod with multiupload function and the possibility to extract the "title" and "keywords" directly from the filename.
(Hope someone can understand what iīm trying to explain!!?)

Thanks in advance!
Logged
:: BT-loader ::
"The one and only..."

BT-loader

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 102
Re: Multiupload (CPG 1.3.3)
« Reply #1 on: September 05, 2005, 04:53:01 am »

Hi all!

I really need some help with a new hack/mod for v1.3.3.
I have lots of pictures that i need to upload all at ones, but i havenīt found the right function for it.

Since i still need to add "title" and keywords manually to all pictures, there is no other way then upload one picture at the time. :-\\

So i was hoping that someone could create a new hack/mod with multiupload function and the possibility to extract the "title" and "keywords" directly from the filename.
(Hope someone can understand what iīm trying to explain!!?)

Thanks in advance!
Anyone..!? :(
Logged
:: BT-loader ::
"The one and only..."

Azrayen

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • azrayen.net
Re: Multiupload (CPG 1.3.3)
« Reply #2 on: September 09, 2005, 02:37:14 pm »

First, you can of course use FTP=> function to upload your pics all at ones and place them into the desired album. RTFM... ;)
[edit] the "FTP=>" button reads "Batch add files" in english version of Coppermine...

Then, if your filenames have all (no exception) the same structure (for example title_keywords.jpg) you could code some MySQL request to copy parts "title" and "keywords" of the filename to the desired fields in the database.

But you have to code the request, and before attempting to do it, please be sure that your filenames are compatible with that (the request cannot "guess" what part is title, and what else is keywords, you must have something in the filenames which allow a program/request to separate those fields (like the underscore in my example)

If you don't understand what I'm saying, then the answer will just be : you can upload multiple pics but have to enter titles/keywords manually. That's far more comfortable than uploading pic by pic...

Azy
« Last Edit: September 12, 2005, 12:30:04 am by Azy »
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.