trying to fix image dimensions in chat