added nonfunctioning code to insert post thumbnails from the front-end