corrected flash message for gallery pages. Completed styels and changes a few images file extensions