Setup app.pubDir, copy image into pub dir