|
#11
|
||||
|
||||
|
Algorithm is simple (in "metacode"):
max_tag = base for all calculations is the most common tag; weight = round(count_of_tested_tag/max_tag, with_precision_to_one_digit_after_comma); tags10 = if(weight == 1.0) tags09 = if(weight == 0.9) tags08 = if(weight == 0.8) .... tags01 = if(weight == 0.1) tags00 = if(weight == 0.0) Now I found we (or I should say I) forgot about tags00 in CSS definition :/ |
|
#12
|
||||
|
||||
|
Sorry to be so dense. I found it in the paged_archive addon. I didn't have access to my server at the time, and for some reason didn't have this addon stored locally.
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#13
|
||||
|
||||
|
Uhm... if you only need to change the fontsize why not do this in the CSS file?
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
|
|
#14
|
||||
|
||||
|
Quote:
guiz the reason you can't find where to change the settings, is that everything is dynamic. What GeoS is telling us with the metacode he posted is that the classes for each tag are calculated dynamically. What it's doing, generally speaking, is finding the tag that you use the most and assigning class10 to it. Then it finds the tag you use the least and assigns class00 to it. For all other tags they are assigned a class based on how close they are to either of these extremes. For example, if your most used tag was used 10 times, and your least used tag was only used once, then a tag that's been used 5 times is going to be assigned tag05. If you're extremes are 1 and 100 though, you would need to use a tag 50 times in order for it to get tag05. Does that make sense?
__________________
My Photoblog If you find my help useful please consider feeding the PixelPost Kitty If you're short on cash just feed my ego |
|
#15
|
|||
|
|||
|
yes, now I have understand it: it is dinamic proportional to the sum of the photos I have.
as you say dakwegmo, I thought there would be a fixed table with number of images and the tagsxx class and that the user could change the variables |
| Post Reply |
| Thread Tools | |
|
|