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: Category images and albums counter  (Read 1771 times)

0 Members and 1 Guest are viewing this topic.

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Category images and albums counter
« on: September 26, 2008, 10:28:23 am »

Hallo everybody!

I was wondering if there is a way to use as category picture a picture contained in one of its subcategories. And if it's possible to count in the albums contained in a category also the albums contained in its subcategories.

For example: I have a category with photos from Italy with 0 albums and then many subcategories with all the regions of Italy (let's say 10 subcategories with 3 albums each and 5 photos in each album).
I'd like that when I see the main presentation of category Italy'd be displayed:
Image: a image from subcategory Lazio and album Rome
Album: 30
Files: 150

I hope I managed to explain my problem properly :)

Is it possibly? And how?
Thank you for your attention!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Category images and albums counter
« Reply #1 on: September 26, 2008, 08:05:48 pm »

Missing feature. In other words: no, this is currently not possible.
Logged

FM86

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 23
Re: Category images and albums counter
« Reply #2 on: September 26, 2008, 10:33:02 pm »

I see. Do you think it will be hard to add a php code somewhere? It shouldn't be hard to write the number of albums and similar but I don't know where to put my code modification.

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Category images and albums counter
« Reply #3 on: September 27, 2008, 08:30:41 am »

Yes, it's hard. If it were easy, we would have implemented this long time ago, as you're not the first user to request category thumbs for nested categories.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.