Setting current grid item.
Saving detail images.