Changes made to initial image post thumbnails functions

Added comment and code for post thumbnails registration