does passing size as params do anything here? Shouldn't this be: name, url, {}, options instead ?