/trunk/reviewboard/utils/templatetags/htmlutils.py (Diff revision 1)
Hmm. I wonder if it wouldn't be better to serve these images dynamically through python and cache the result. This is potentially a lot of additional image storage on top of the base images. On the other hand, maybe it's not worth it.
Aside from that question, this looks fine.
Show cropped portions of screenshots for screenshot comments
Review Request #152 — Created Sept. 8, 2007 and submitted
|Review Board SVN (deprecated)|
Added support for showing the part of a screenshot the user had commented on. This gives reviewers and developers the ability to see what part of the screenshot the reviewer was commenting on without having to go to the screenshot.
Created some test comments on a screenshot and saw that those selected areas appeared in the review body.