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: Using IPTC-Data to assign images to cat/alb  (Read 4894 times)

0 Members and 1 Guest are viewing this topic.

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Using IPTC-Data to assign images to cat/alb
« on: June 05, 2010, 08:16:39 am »

Hi!

Is it possible to evaluate the IPTC-Data to assign images to a predefined category and album?
I am thinking of the following fields:
Category
Supp Cat 1
Supp Cat 2
Supp Cat 3

These fields are mostly used by professional fotographers to sort them in a Database to find relevant images more easy.

What I am thing of in detail:

Upload Images into a folder, do a batch-add of this folder and the process looks into these data.
Category => Category (Mandatory)
Supp Cat 1 => Subcategory / if Supp Cat 2 is empty then Album
Supp Cat 2 => Sub-Subalbum / if Supp Cat 3 is emty then Album
Supp Cat 3 => Album if nothing from the above comes first.

Attached is a screenshot of the fields with content (just as an example)
I this Case the image will be placed into the following structure:
Natur => Pflanzen => 20100528
(CAT)       (Subcat)       (Album)
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Using IPTC-Data to assign images to cat/alb
« Reply #1 on: June 07, 2010, 08:39:23 am »

That sounds to me like an error-prone thing:
  • What happens if there is no IPTC data?
  • What happens if the appropriate categories/albums doesn't exist?
  • What happens if you have the IPTC data, but also selected an album and want to add your pictures to that particular album instead of the automatic detection?
  • ...

Maybe it's better to add new plugin hooks (if needed) and test this as a plugin in the first place. I assume not so much people will need that feature.
Logged

taucher_0815

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 134
Re: Using IPTC-Data to assign images to cat/alb
« Reply #2 on: June 07, 2010, 08:49:55 am »

  • What happens if there is no IPTC data?
  • What happens if the appropriate categories/albums doesn't exist?
  • What happens if you have the IPTC data, but also selected an album and want to add your pictures to that particular album instead of the automatic detection?
  • ...

1.) continue as normal
2.) Create category and / or album
3.) showstopper :(

Close it pls and mark as invalid.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Using IPTC-Data to assign images to cat/alb
« Reply #3 on: June 07, 2010, 09:05:51 am »

3.) showstopper :(
Not necessarily. The default value of the album select box could be 'Determine by IPTC data'. I never worked with IPTC data, so I don't know which issues can occur. If the code is well designed, it should be possible. But the behavior should be thoroughly tested (ideally with a plugin for cpg1.5.x) before that feature will go to core (if at all).
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.