revert image helper to older version. fat free web curl based version creates memory exhausted error