fix image for page size per resolution