Made image dimensions optional so the ValueTransformer is symmetric. Added tests