modifying index pages to point to doff and lock and load images in the slider