Add optional preprocessing block for image transform after download