media reference and size change