Stopped trigging magnification (from gallery view) if users clicks the record type image. See also svn 16906.
Merge pull request #7 from jensopetersen/master

Stopped trigging magnification (from gallery view) if users clicks the record type image.