Forum suggestion

Post Reply
User avatar
Fixious
Posts: 475
Joined: Sat Nov 09, 2013 12:42 am

Forum suggestion

Post by Fixious »

Not sure if you have direct access to the CSS rules with phpBB, but creating a rule such as .postbody img {max-width: 100%;} will automatically resize images to fit the user's browser, so there won't be any horizontal scroll bars or huge images.
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: Forum suggestion

Post by perrinoia »

I think Crow is the only one with access to that.
Image
AnniDv6
Posts: 1039
Joined: Mon Dec 12, 2011 3:25 pm

Re: Forum suggestion

Post by AnniDv6 »

Yeah I am not sure how to access the content.css. I did find these attachment settings for posts.

Maximum image dimensions:
Maximum size of image attachments. Set both values to 0px by 0px to disable dimension checking.

Image link dimensions:
Display image attachment as an inline text link if image is larger than this. To disable this behaviour, set the values to 0px by 0px.

Maybe just setting a max pixel heigh and width would be easier, but how big?
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: Forum suggestion

Post by perrinoia »

Maximum width should be 800 pixels. Maximum height should be 600 pixels.
Image
AnniDv6
Posts: 1039
Joined: Mon Dec 12, 2011 3:25 pm

Re: Forum suggestion

Post by AnniDv6 »

test. It seems to resize them for attachments and you can click on them to see the full size, but for the post settings it is a hard limit and won't let you post anything bigger than 800x600 now. I'll have to mess around with it further to find out how to force it to resize images inside posts.
Attachments
eso1439a.jpg
perrinoia
Site Admin
Posts: 3732
Joined: Sun Jul 01, 2012 7:18 pm

Re: Forum suggestion

Post by perrinoia »

Oh, that's annoying.
Image
Post Reply