Preview selection on album + java-batch-importer tool Preview selection on album + java-batch-importer tool
 

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]

Main Menu

Preview selection on album + java-batch-importer tool

Started by csms, May 25, 2005, 10:07:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

csms

Hi...I modified the searchnew somewhat in order to support some form of easier handling of "getting started". Now if you have created the correct albums (that can be done once, and then a db-dump can be taken), you can basically just hit "go" since coppermine tries to find the correct album for each directory itself. It's a hack, I wouldn't mind a nicer way to get this feature... :-) Modified file below, use some diff tool to see changes, probably a tiny bit performance impact depending on how many subdirectories there are. Works with clicking on the root-dir aswell.

Questions? christopherRemoveThisiDontLikespam@r2mThisAsWell.se

See below for java-import tool

csms

Got tired of waiting around on that browser loading when mass-importing pictures so I sort of semi-ported the import functionality to a java program that you can run.... Note: You'll need at least jre1.4.2 and probably also mysql-connector-java-3.1.6-bin.jar.
The usage for this tool is of course if you have terminal access to the webserver....for example when just starting up an album and already having a large picture base!

Only works with imagemagick or you can use java-encoders. there's a boolean that can be set for that. Note thought that currently java can't read gif-files, but if someone finds a gif-spifeatured plugin then that will work if put in the librarypath....