How do I change the size of an image that's fetched via API?

How do I change the size of an image that's fetched via API?

I'm using a Notes field in a form to build a table of API data, including images. Since the size of the image is embeded in the URL that's being fetched, is there a way to resize them?

So, I basically have this:

tableData = collection();
for each  id in searchUrl.getJson("results")
{
versions = invokeurl
[
            url :"https://api.discogs.com/releases/" + id.getJSON("id") + "?key=abc123&secret=blablabla"
    type :GET
];
        images = versions.getJSON("images");
        picList = Collection();
        for each url in images
        {
     picList.insert("<img src=\"" + url.getJson("resource_url") + "\"></img>");                  
        }
        tableData.insert("<table><tr><td>"+picList+"</td></tr></table");

This does fetch all the images I want but they are huge!