Give access to custome image dimensions

Allow access in templates to the custom dimensions for images.