Refactor, 1 task for each img.