Improve mobile photo quality for uploads and media rendering
This commit is contained in:
@@ -51,7 +51,7 @@ let NewPostView = (props) => {
|
||||
// Launch image picker to select images from gallery
|
||||
const result = await ImagePicker.launchImageLibraryAsync({
|
||||
mediaTypes: ImagePicker.MediaTypeOptions.Images,
|
||||
quality: 0.2, // Set image quality
|
||||
quality: 0.85, // Avoid aggressive client-side compression before upload
|
||||
allowsMultipleSelection: true, // Allow multiple images to be selected
|
||||
});
|
||||
if (!result.canceled) {
|
||||
|
||||
Reference in New Issue
Block a user