Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Multiple Albums by Keyword Function  (Read 2466 times)

0 Members and 1 Guest are viewing this topic.

parti02

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Multiple Albums by Keyword Function
« on: January 18, 2007, 05:25:31 pm »

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
« Last Edit: January 20, 2007, 11:42:34 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple Albums by Keyword Function
« Reply #1 on: January 19, 2007, 07:55:54 am »

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.
Logged

parti02

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: Multiple Albums by Keyword Function
« Reply #2 on: January 19, 2007, 06:48:40 pm »

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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Multiple Albums by Keyword Function
« Reply #3 on: January 20, 2007, 11:42:21 am »

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 like
Code: [Select]
UPDATE `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.
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 20 queries.