[MD]:fixing resolution/ImageLayout getters