From what I can tell, you would have to query the "album" table to get the number of albums, and then query the "attachment" table to get the number of images uploaded to the albums. An attachment whose "contenttypeid" is 8 is an album picture. (edit: I now see after creating an album that the "album" table has a column that indicates how many pictures are in that album.)
Do you simply want a division in the WGO block that says something like "There are x user albums containing a total of y pictures"?
|