media links in resources re-factor