fix image size for different usage