[Warning] Signature bug!

General discussion for off-topic subjects.
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

[Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 1:21 pm

Maybe you should put a limit on the size of the image in the signature?
It's a trap!
Image
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

Re: [Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 1:33 pm

Maybe it’s worth making a limit to 256x256?
It's a trap!
Image
User avatar
Ayuto
Project Leader
Posts: 2088
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [Warning] Signature bug!

Postby Ayuto » Mon Jun 22, 2020 1:36 pm

Changed it, thank you!
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

Re: [Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 1:37 pm

No problems
It's a trap!
Image
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

Re: [Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 1:40 pm

Problem still exists xDDD
It's a trap!
Image
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

Re: [Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 1:47 pm

Syntax: Select all

.postbody img.postimage {
max-width: 256px;
max-height: 256px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

Hot fix
It's a trap!
Image
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

Re: [Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 2:00 pm

You set a limit on the picture, but what if the resolution of the picture changes on the remote machine? You did not fix the final bug
It's a trap!
Image
User avatar
Sam
Senior Member
Posts: 160
Joined: Tue Jul 03, 2018 3:00 pm
Location: Russian Federation
Contact:

Re: [Warning] Signature bug!

Postby Sam » Mon Jun 22, 2020 2:09 pm

You do not need to modify the forum logic. It is necessary to put a restriction in the css file itself or class "postimage".
Or better:
1. Replace: <img src="..." class="postimage" alt="Image">
-> To: <img src="..." class="postimage" style="max-width: 256px;max-height: 256px;" alt="Image">
It's a trap!
Image
User avatar
Ayuto
Project Leader
Posts: 2088
Joined: Sat Jul 07, 2012 8:17 am
Location: Germany

Re: [Warning] Signature bug!

Postby Ayuto » Wed Jun 24, 2020 10:11 am

I was hoping the admin setting I changed would do the job, but apperently it didn't. I guess I will pass this on to Muerte.

Return to “Whatever”

Who is online

Users browsing this forum: No registered users and 1 guest