changing layout page for imgs.