Page 1 of 1

Forum suggestion

Posted: Sat Oct 21, 2017 4:30 pm
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.

Re: Forum suggestion

Posted: Sun Oct 22, 2017 5:54 am
by perrinoia
I think Crow is the only one with access to that.

Re: Forum suggestion

Posted: Sun Oct 22, 2017 6:30 pm
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?

Re: Forum suggestion

Posted: Sun Oct 22, 2017 10:16 pm
by perrinoia
Maximum width should be 800 pixels. Maximum height should be 600 pixels.

Re: Forum suggestion

Posted: Mon Oct 23, 2017 5:37 pm
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.

Re: Forum suggestion

Posted: Wed Oct 25, 2017 11:38 am
by perrinoia
Oh, that's annoying.