Multiple Albums by Keyword Function Multiple Albums by Keyword Function
 

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

Multiple Albums by Keyword Function

Started by parti02, January 18, 2007, 05:25:31 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

parti02

Hi all,
if I understand it right, i can show the same pics in twice albums, only by using a keyword?
I have a album test1 with pics and a empty album test2.
Now the twice albums get the same keyword in the album proberties, why album test2 is still empty?

Parti

Joachim Müller

Edit the pics in album 1, assign the keyword "ThisIsAUniqueKeywordForAlbum1" to every file that resides in album 1. Then edit the properties of album 2, enter "ThisIsAUniqueKeywordForAlbum1" into the field "Album Keyword". Save your changes and you should be done.

parti02

Ok, it works. Thx.
Exist a way to using this funktion for 400 pics in album1 automatically?

Joachim Müller

In the Coppermine user interface: no. There might be plugins to accomplish this (not sure though, browse the plugins contributions board to find out). Another method is to use a third-party app like phpMyAdmin and run a query directly in your database, something likeUPDATE `yourCoppermineTablePrefix_pictures` SET `keywords` = 'ThisIsAUniqueKeywordForAlbum1'
WHERE `aid` ='1234' ;
You'll have to replace the table prefix and the album id (in default example I used 1234) with the proper values.