Hack to work with Symphony 2.3.2 (before the image src would be broken for non-index pages). For Moraes lab site. Culled the javascript; instead of determining the image dimension, now it uses JIT's crop mode and assumes 50px by 50px for index pages, 150px by 150px otherwise. (Does not work so well with very small images, or rectangular images.)