used a better front-page identifier
implemented better way to display front page images
changed front-page-image to grid-image and displayed it properly
corrected the front-page logic