improve readable of code and fix image size and title in frontend