Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
1.8 Fit on page in MyBB 1.8
#1
Hi,
in 1.6 If a use a large picture like:
[Image: bb8fc.png]
the page will not be beautiful.

I think We should use scroll bar for big pictures.
AliReza Tofighi
MyBB Persian Support
Reply
#2
(2014-06-05, 02:38 PM)My-BB.Ir Wrote: /.../
I think We should use scroll bar for big pictures.
Or just add to .css file:

.post_body img {
width:100%;
height:auto;
}
Reply
#3
for me better use some jscripts to fit image...
in xenforo fit image is in core...

http://www.dailymotion.com/video/x1ypmtz_sug-1_tech
Reply
#4
phpbb3: http://demo.forum-software.org/phpbb3/vi...hp?f=3&t=4
xenforo: http://demo.forum-software.org/xenforo/i...on-page.3/
AliReza Tofighi
MyBB Persian Support
Reply
#5
You all make good points. Perhaps this should be considered by the team.
Reply
#6
(2014-06-05, 03:54 PM)martec Wrote: for me better use some jscripts to fit image...
in xenforo fit image is in core...

You're right. It will be easier to show full images instead of using right click and choosing "open in new window".
Reply
#7
If simply adding that css fixes it I'm all for it. Personally I don't like the ugly "this image has been resized click here to enlarge" messages.
Reply
#8
(2014-06-06, 07:28 AM)JordanMussi Wrote: If simply adding that css fixes it I'm all for it. Personally I don't like the ugly "this image has been resized click here to enlarge" messages.
So,
MyBB Should use
.post_body img {
	max-width: 100%;
	height: auto;
}
in global.css
AliReza Tofighi
MyBB Persian Support
Reply
#9
It should be consider - large images break layout of forum. So it would be nice to have it in mybb by default with enable/disable.

Maybe just incorporate fit on page mod to 1.8
[MyBB 1.8 Czech translation] [MyBB 1.8 plugins]: Prune old PMs + optimize DB plugin --- Thank you/like system
Reply
#10
(2014-06-06, 07:28 AM)JordanMussi Wrote: If simply adding that css fixes it I'm all for it. Personally I don't like the ugly "this image has been resized click here to enlarge" messages.

in xenforo only appear message when hover in image...
http://www.dailymotion.com/video/x1ypmtz_sug-1_tech
and without jscript i can´t see real size of image...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)