qq
New Member
Posts: 34
inherit
244821
0
Feb 11, 2019 0:07:18 GMT -8
qq
34
May 2017
qq
|
Post by qq on Oct 12, 2018 15:34:58 GMT -8
Forum URL: streitstadt.boards.net/I want all non-tabled images to automatically resize to 100% forum width, or at least a comfortable minimum size. On a previous host we used 700px, which had a good feel. Instead what we get is a small image that is further downsized: I tried searching the support forum/google without luck. I found forum settings -> forum -> Display Large Images as, but seem to only be able to reduce things, not make our small images larger. I don't want to require all users to individually format images to get the default full-size behavior. Thank you for your time!
|
|
#e61919
Support Manager
154778
0
1
Nov 25, 2024 15:31:44 GMT -8
Michael
19,618
May 2010
wiseowl
|
Post by Michael on Oct 12, 2018 15:54:45 GMT -8
Hi,
The setting you mentioned (Admin>Settings>Forum Settings, Display Large Images) would be the setting you'd want to change to make images appear at their complete size. However, this wouldn't enlarge smaller images to bigger than full-size. Is that what you're looking to do?
|
|
qq
New Member
Posts: 34
inherit
244821
0
Feb 11, 2019 0:07:18 GMT -8
qq
34
May 2017
qq
|
Post by qq on Oct 12, 2018 16:23:02 GMT -8
Yes, I want to make sure if images are posted that are 400px, they will still stretch (in h+w ratio) to 700px+ (or 100%) depending on how wide the forum is being viewed at. Also, even with that setting at full size, my forum is still resizing these images to -75 /-25% (visible on this thread)
|
|
#e61919
Support Manager
154778
0
1
Nov 25, 2024 15:31:44 GMT -8
Michael
19,618
May 2010
wiseowl
|
Post by Michael on Oct 12, 2018 16:49:17 GMT -8
Yes, I want to make sure if images are posted that are 400px, they will still stretch (in h+w ratio) to 700px+ (or 100%) depending on how wide the forum is being viewed at. Also, even with that setting at full size, my forum is still resizing these images to -75 /-25% (visible on this thread)Well, after doing some digging it appears that changing that setting only applies to images posted after the setting has been changed! I don't particularly love that behavior as it doesn't really make sense to me so I'm making a note of that for the future. This code should do what you're looking for: .message img:not(.smile) {
min-width: 700px;
}
|
|
qq
New Member
Posts: 34
inherit
244821
0
Feb 11, 2019 0:07:18 GMT -8
qq
34
May 2017
qq
|
Post by qq on Oct 12, 2018 17:37:35 GMT -8
Thank you again! This works great, except that it also changes icons in the forum- For example, the quick reply buttons go up to 700px as well
|
|
#e61919
Product Manager
12218
0
1
Mar 11, 2017 17:47:30 GMT -8
Matej
This is my status!
17,630
August 2003
wooper
|
Post by Matej on Oct 12, 2018 18:01:29 GMT -8
.post .message > img:not(.smile) { min-width: 700px; }
That could be a possible solution. This should target all posts messages, where the first child is the image. Meaning, it should not affect anything but images directly posted (not avatars and other images in quotes and similar), but it will also not resize anything deeper (if someone wraps the image in some other element, like a link).
|
|
qq
New Member
Posts: 34
inherit
244821
0
Feb 11, 2019 0:07:18 GMT -8
qq
34
May 2017
qq
|
Post by qq on Oct 14, 2018 14:04:05 GMT -8
Tried it out with different px sizes & 100%... it works on reload, but immediately gets resized as you watch, back to the width it was before adding the code, like something is overriding it? You can see the unwanted behavior here.
|
|
#eb7100
1480
0
1
Nov 26, 2024 3:20:21 GMT -8
Craig
209,198
September 2001
cmdynasty
|
Post by Craig on Oct 14, 2018 14:13:23 GMT -8
You have a plugin which resizes images to a smaller size, looks like it is set to resize large images to be 750px in width, maximum. That is the effect you are probably seeing. Try disabling that plugin and see if the images then display how you like.
|
|
qq
New Member
Posts: 34
inherit
244821
0
Feb 11, 2019 0:07:18 GMT -8
qq
34
May 2017
qq
|
Post by qq on Oct 14, 2018 15:16:01 GMT -8
That was all it was!! Thank you very very much!
|
|
#eb7100
1480
0
1
Nov 26, 2024 3:20:21 GMT -8
Craig
209,198
September 2001
cmdynasty
|
Post by Craig on Oct 15, 2018 1:07:34 GMT -8
No worries. Glad you got it resolved
|
|