improved low memory image downloading