[Fixed bug with largeImage var allocation]