Also when using taxonomy to classify image galleries it seems to count sub-items as pictures which seems incorrect to me. For example my test gallery here:
http://dev.spack.org/drupal/module.php?mod=image&tid=1
Shows the Alaska item with 4 pictures when really it just has two galleries (one empty one and one with two pictures in it).
Ideally I think it should show both the number of sub-galleries and the total number of pictures in the below galleries (so for the above example it would say "2 galleries with a total of 2 pictures" or something similar).
One possible confusion is do you count a picture twice if it belongs to multiple sub-galleries?
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedI see the problem clearly on your Spack site, but I'm unable to reproduce this locally. Anyone else?
perhaps you have some strange data from too much testing/playing :)
Comment #3
mjwall CreditAttribution: mjwall commentedI have the same problem. On the gallery page, the number of pictures is each gallery are all the same, that is the total number of pictures in all galleries. Additionally, the thumbnail is incorrect. You can see the problem at my site. There are 3 galleries, gallery_1 has 1 picture, gallery_2 has 5 pictures, gallery_3 has five pictures. The total number for each gallery is 11.
Here is my set up. Drupal 4.1.0, php 4.2.2, running on Linux. I am using
// $Id: image.module,v 1.22 2002/12/08 23:22:01 porciletto Exp $
User galleries are not enabled.
I think I found the problem. Sorry if I did the patch wrong, but here is a fix that works for me.
It fixes it on my development site, and I'll deploy it in a day or so after people have a chance to see the error.
Comment #4
mjwall CreditAttribution: mjwall commentedI think this could also fix http://drupal.org/node/view/1159
Comment #5
bruno CreditAttribution: bruno commentedI think this is working now correctly in DRUPAL-4-2-0 branch and in current CVS.