Greg - no need for apologies.... if you start, we will ALL have to do it because I doubt any of us have ever turned out something completely error free!
Thanks for making the changes. Latest observations:
1) Newly added class for the image div is kar
amVotingImage - ie, typo - the "a" and "m" are transposed. Also, this is the class used on the overview page, but the images are contained within a karmaVotingLinks on the detailed page.... perhaps they should be the same class.
2) IMHO, it might be a good idea to have a configuration option to allow voting from the overview pages... not all entries use extended body, and not everyone clicks through to the permalink to read an entry. What do you think?
3) Can images be created in any name format? In other words, could I create a series of images with the name circles_small, or blue_diamonds, as long as I created the entire series (ie, 0circles_small.png - 50circles_small.png and glow_circles_small.png)?
EDIT: I have been working on some images for the plugin. I think you might be better off in the long run with a slight change to the naming convention.
In the current version, you have 2 basic image formats:
- a) diamonds.png: five images at 28 x 28px, for a total width of 140px
b) diamonds_small.png: five images at 14 x 14, for a total width of 70 px.
Each of these files is has 10 variations prepended with "0" through "50" (increments of 5 indicating 0 1.5, 2.0, 2.5, upto 5.0). For example: 30_diamonds.png and 30_diamonds_small.png.
In addition to the graphical representation of 5 "diamonds", both "diamonds" and "diamonds_small" have 5 versions containing just a single image ("diamond") at 28 x 28 and 14 x 14 respectively, prepending text that describes the purpose of that image:
- a) "glow" - alternate color, used to place vote. (green)
b) "off" - dim color (grey)
c) "on" - normal color (yellow)
d) "onoff" - half normal, half dim (yellow/grey).
e) "transparent" - blank image.
From an image management perspective, I think it would be better to place all of the prepended text as appended (at the end)... so 30_diamonds.png would be diamonds_30.png, and glow_diamonds.png becomes diamonds_glow.png.
Also - I mentioned this a long time ago... The template Bulletproof uses a technique in its config.inc.php file to detect all stylesheets that follow a certain naming convention, then populates a drop down list allowing a user to choose from all available stylesheets that follow that naming convention. The naming convention is color_style.css, so the code is looking for all filenames ending in "_style.css". The list of available stylesheets does not display this ending "_style.css", and instead just shows the "color" portion of the file name. Perhaps the base image file (ie diamonds.png, or diamonds_small.png) could be something like diamonds_karma.png or diamonds_small_karma.png, and the plugin can detect all filenames that end in "_karma.png" and display a list of available images in a dropdown list. Even better - also show the image, or only the image and no name!!!
And finally - although my text above may contradict this next suggestion - I think it would be a good idea to be able to select the "glow" image separately from the others. That way, you could have yellow, red, or blue diamonds, but still always use the existing green diamond for "glow". Conversely, you could use green for regular, and maybe red for glow.