為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Images: minimum zoom is forced to "fit" screen size making scaling inflexible

more options

Sometimes, when viewing an image (e.g. a raw .png file, not a web page), and especially in landscape mode, the automatic "fit to screen" scaling that Firefox iOS forces is frustrating. If I am viewing an image that I want to stay on screen (in my case a chord progression for a musical piece), I can zoom out so that it fits on screen, but if the horizontal width is not maxed out, firefox will force the zoom to fill the screen width, thus clipping the top and bottom of the image. Very annoying.

Any way around that?

Sometimes, when viewing an image (e.g. a raw .png file, not a web page), and especially in landscape mode, the automatic "fit to screen" scaling that Firefox iOS forces is frustrating. If I am viewing an image that I want to stay on screen (in my case a chord progression for a musical piece), I can zoom out so that it fits on screen, but if the horizontal width is not maxed out, firefox will force the zoom to fill the screen width, thus clipping the top and bottom of the image. Very annoying. Any way around that?

所有回覆 (5)

more options

Could you share a screenshot?

I guess previewing images in iOS Photos app offers more control.

more options

Sure. First you see the vertical orientation of an 800x1600 image. No issues.

Then I turn the phone horizontal. That's the next image. You can see that top of the is clipped, which seems like a minor bug itself, since it necessitates scrolling the image down to see the top (apparently the sizing algorithm doesn't take in to account the address bar?)

The third image is after the image has been scrolled down.

The final image is during a two-finger "squeeze" of the image: this is the kind of scaling I want to be maintained the same way that a zoom is maintained, but because the image doesn't fill the horizontal width, upon release of the two-finger squeeze it is immediately scaled back up to look like the third image. Doesn't make sense to me that this would be the behavior.

more options

The image can be trialed at http://caseyconnor.org/pub/image/800x1600.png

more options

Thanks. I am able to reproduce it. You're right. Your test image shows up just fine in Safari, but not in Firefox. It's a Firefox bug on Firefox for iOS scales images in Portrait and landscape mode.

I do recommend to open a a bug report. Simply send send your comment via email to ios-feedback@mozilla.com or go to Firefox > Settings > Send feedback. Even better open a bug report on https://bugzilla.mozilla.org

more options

由 firefoxsync18 於 修改