RSS Feed/News Automatic limitation of the height of the images in threads

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
23,382
Points
823

Reputation:

Hello, :)

I have a forum about photography and, if the images in threads are automaticaly resized when you reduce the width of the browser, this is not the same for the height (make sens). So we needed to limit the height of the images displayed.

Before Xenforo 2.3, I used this code in my extra_less :

Code:

Code:
/* limit the size of images in threads */

.message-body img
{
max-height: 1100px !important;
}

It doesn't work anymore and the aspect ratio of the images displayed in a thread is...

Read more

Continue reading...
 
Status
Not open for further replies.
Top