Use home_url() instead of site_url() in resize()