resize index images and add header img