adds rs width-height to last image