Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: iso on February 16, 2019, 09:52:36 PM

Title: Recent posts max display width external images
Post by: iso on February 16, 2019, 09:52:36 PM
Hi,

the forum settins for max display width of posted or attached images don't work in view recent posts.
Within the post it's correct (500x500px): https://foobar-users.de/index.php?topic=5129.msg26375#msg26375

But it isn't in recent posts: https://foobar-users.de/index.php?action=recent
Title: Re: Recent posts max display width external images
Post by: iso on February 22, 2019, 04:27:27 PM
Hey, can at least someone confirm this issue? Should I open a github request? Or is this not a bug?

Thanks in advance.
Title: Re: Recent posts max display width external images
Post by: @Bogo on February 22, 2019, 04:34:55 PM
Hi,
the second link I did not see anything

Code: [Select]
.bbc_img.resized {
    height: auto;
    width: 500px;
}
Title: Re: Recent posts max display width external images
Post by: iso on February 22, 2019, 04:40:46 PM
Move to the third recent page, you will see that the images located in the post on page 3 are not resized. In the meantime the post is not at the first page anymore but the issue is the same. Forum setting for max width of external images do not resize the images within the recent posts view.

Just try it by yourself with the default theme. Is it a feature ?  ???

https://foobar-users.de/index.php?action=recent;start=20
Title: Re: Recent posts max display width external images
Post by: Gwenwyfar on February 22, 2019, 06:05:17 PM
The setting should work only inside posts, because that's what it says it does, but looks like that page was missed, it should have been included as well. I'll need to look at the files to see what needs to be changed, I don't have them at hand now.