Skip to content

Conversation

@Kota-Jagadeesh
Copy link
Collaborator

@Kota-Jagadeesh Kota-Jagadeesh commented Dec 8, 2025

Description (required)

Fixes #5788

What changes did you make and why?

  • The image preview screen within the upload process using the external PhotoView library for zoom functionality. The default zoom limit of this library was too low (weak zoom), preventing contributors from inspecting fine details on their images.

So, i resolved this by explicitly adding a call to:
(binding.backgroundImage as PhotoView).setMaximumScale(10.0f)

This change is located in the initializeFragment() method of UploadMediaDetailFragment.kt. It overrides the restrictive default and enables up to 10.0x (1000% zoom), allowing for detailed quality checks before the image is finalized for upload.


Tests performed

Tested ProdDebug on Redmi Note 13 Pro 5g with API level 35.


Screenshots

Before (Weak Zoom) After (Deeper Zoom)
image image

@Kota-Jagadeesh Kota-Jagadeesh changed the title Fix #5788: Increase maximum zoom level on upload preview screen Feature: Increase maximum zoom level on upload preview screen Dec 18, 2025
@github-actions
Copy link

✅ Generated APK variants!

Copy link
Member

@nicolas-raoul nicolas-raoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to be working great!
I continue testing a bit more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

allow larger zoom when previewing picture(s) to upoad

2 participants