Substitue {width}{height} in thumbnail_url dynamically

Never mind, I figured it out. In case any other dev noobies run into this problem you have to use the .replace() method on the url.