fix image resolution size