Tagcloud size
Brought to you by:
canajun2eh,
yalnifj
I have on my site only one individual whose surname starts by X.
The surname is printed in the biggest font size.
I think it should print in the smallest font size for 1 individual.
In the Top 10 Surnames, I think that the smallest printed font should be the one used for other block names. Now it is much bigger for names with a count of 80+ names.
Logged In: YES
user_id=1254634
Originator: NO
I see what you mean, but not sure if I agree or not. Certainly the smallest font size would be wrong, as this could be exremely small.
The font sizes are only partly related to the number of individuals with that surname. It also depends on the number of different surnames starting with that letter. Its currently a simple formula that looks for the surname with the most individuals within that letter abd calulates a diffrent font size for each of six groups below that (max-count divided by 6). The aim is to get a reasonably even distribution of all six font sizes for each page display.
Clearly in your case that doesn't work. I have a similar page. For the letter 'Y' I have three surnames, but only one individual in each - so they all use the same, large font.
A quick solution would be something like "if max-count = 1 then use standard (rather than smallest) font. But I will first look to see if there is a better formula we could use. I think there is one on the german WIKI for Tag Clouds. Can someone translate it for me - its at http://de.wikipedia.org/wiki/TagCloud ?
On the Top 10 block, I want to add a configuration option that allows this to use a simple list, even when Tag cloud is selected for the Indi lists. Would this solve your query? At present it uses the same formula as the Indi list, but is sorted to descending size, but it should still use six different font sizes.
Nigel