Support overriding marker image dimensions

fixes #1807