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: folder sync  (Read 5177 times)

0 Members and 1 Guest are viewing this topic.

remkot

  • Coppermine newbie
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 12
folder sync
« on: June 19, 2014, 11:35:29 pm »

Is there some way coppermine can auto load new images posted to image directory?

Thanks
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: folder sync
« Reply #1 on: June 19, 2014, 11:39:19 pm »

The batch add interface is all there really is for images uploaded via ftp. I suppose a cronjobcould be written to run every x hours but as the batch add interface requires authentication and admin input it could be tricky and could make things insecure.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

remkot

  • Coppermine newbie
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 12
Re: folder sync
« Reply #2 on: June 20, 2014, 08:49:54 am »

Hello,

Thanks, but this is almost what i mean……
Is there also a way that he makes automatically the album to?

My problem is: I have here a map whit above 300 sub maps whit pictures on my computer.
The batch solution is great, but I must still create the 300 albums first?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: folder sync
« Reply #3 on: June 20, 2014, 12:14:04 pm »

Is there some way coppermine can auto load new images posted to image directory?
This has been asked and discussed some time ago (haven't searched the thread yet), but if I remember correctly no script has been created that adds new picture in a specific directory to a chosen album. A separate script is needed as a cron job cannot use the batch interface by default, respectively it's probably harder to modify the batch-add interface or create a script that interacts with it.


Is there also a way that he makes automatically the album to?
It's quite easy to create a new album automatically once you have the above script.
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.