Image Preview compatibility for Symphony 2.3.3

This probably breaks 2.3.2 compatibility?
Merge pull request #232 from animaux/master

Image Preview compatibility for Symphony 2.3.3