fix image upload and size for display