Upadtes to condition post thumbnail and style post image background