How does 3.1 handle image attachments?

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.3/Proteus.
Forum rules
Please do not post support questions regarding installing, updating, or upgrading phpBB 3.2.x. If you need support for phpBB 3.2.x please visit the 3.2.x Support Forum on phpbb.com.

If you have questions regarding writing extensions please post in Extension Writers Discussion to receive proper guidance from our staff and community.
mrgtb
Registered User
Posts: 221
Joined: Wed Nov 28, 2007 10:09 pm

Re: How does 3.1 handle image attachments?

Post by mrgtb »

You get that scrollbar at bottom of forum even when viewing a page without an image listed. Use this site and pick smallest mobile phone called Apple iPhone 5:

http://mobiletest.me/

http://mobiletest.me/iphone_5_emulator/ ... com/phpBB/

User avatar
Louis7777
Registered User
Posts: 385
Joined: Fri Apr 04, 2014 12:32 am

Re: How does 3.1 handle image attachments?

Post by Louis7777 »

A bit relevant to horizontal scrollbar issues:

https://area51.phpbb.com/phpBB/viewtopi ... 09#p264909
screenshot.png
(213.86 KiB) Downloaded 455 times
The post above doesn't have any images but also causes a horizontal scrollbar to appear on my Sony Xperia S.

However, I cannot reproduce it with my desktop's browser (by rezising the window). I could do that for the image attachments.

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: How does 3.1 handle image attachments?

Post by VSE »

I don't see that on my iPhone (viewing same topic as you).
Has an irascible disposition.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1831
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: How does 3.1 handle image attachments?

Post by DavidIQ »

How does it look like in Chrome mobile?
Image

User avatar
VSE
Extension Customisations
Extension Customisations
Posts: 670
Joined: Mon Mar 08, 2010 9:18 am

Re: How does 3.1 handle image attachments?

Post by VSE »

Chrome on my iPhone is also fine, does not reproduce the reported issue.
Has an irascible disposition.

User avatar
Pico88
Registered User
Posts: 73
Joined: Tue Apr 12, 2011 2:32 pm

Re: How does 3.1 handle image attachments?

Post by Pico88 »

I looks good on android default browser.

User avatar
Louis7777
Registered User
Posts: 385
Joined: Fri Apr 04, 2014 12:32 am

Re: How does 3.1 handle image attachments?

Post by Louis7777 »

I was using Chrome mobile. I haven't tested it with any other mobile device (only with the aforementioned Xperia S which has Android OS), but I thought it was weird that I couldn't reproduce it with Firefox on my desktop...

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 1831
Joined: Thu Mar 02, 2006 4:29 pm
Location: Earth
Contact:

Re: How does 3.1 handle image attachments?

Post by DavidIQ »

Hmmm...I see it too using the stock browser on my HTC One (M8)
Attachments
2014-06-19 12.10.16.png
(692.78 KiB) Downloaded 378 times
Image

User avatar
Sumanai
Registered User
Posts: 95
Joined: Sat Aug 31, 2013 11:12 am

Re: How does 3.1 handle image attachments?

Post by Sumanai »

Fix:

Code: Select all

.postbody img.postimage {
    box-sizing: border-box;
    max-width: 100%;
}
Sorry for my English.

User avatar
Louis7777
Registered User
Posts: 385
Joined: Fri Apr 04, 2014 12:32 am

Re: How does 3.1 handle image attachments?

Post by Louis7777 »

DavidIQ wrote:Hmmm...I see it too using the stock browser on my HTC One (M8)
That one is a different case, because it has an image attachment. VSE has already made a pull request for that: https://github.com/phpbb/phpbb/pull/2609

This one - that so far I am the only one who has a 'problem' with - doesn't have any images: https://area51.phpbb.com/phpBB/viewtopi ... 09#p264909

Post Reply