[PIMCORE-2218] Added extra functionality to image element

Issue:
http://www.pimcore.org/issues/browse/PIMCORE-2218

Commit:
https://github.com/timhonders/pimcore/commit/c7a396b8d8bd0cd08f32278371ab88c91989f898