Changed url to baseurl to avoid returning the date folder in uploads