fix a display error when image in recentpost does not exist.