*DELETED*
[Warning] Signature bug!
Maybe you should put a limit on the size of the image in the signature?
Last edited by Sam on Mon Jun 22, 2020 1:21 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
Maybe it’s worth making a limit to 256x256?
Last edited by Sam on Mon Jun 22, 2020 1:33 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
Changed it, thank you!
Re: [Warning] Signature bug!
No problems
Last edited by Sam on Mon Jun 22, 2020 1:37 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
Problem still exists xDDD
Last edited by Sam on Mon Jun 22, 2020 1:40 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
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
Last edited by Sam on Mon Jun 22, 2020 1:47 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
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
Last edited by Sam on Mon Jun 22, 2020 2:00 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
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">
Or better:
1. Replace: <img src="..." class="postimage" alt="Image">
-> To: <img src="..." class="postimage" style="max-width: 256px;max-height: 256px;" alt="Image">
Last edited by Sam on Mon Jun 22, 2020 2:09 pm, edited 1 time in total.
Reason: Original post version
Reason: Original post version
Re: [Warning] Signature bug!
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.
Re: [Warning] Signature bug!
does the 256x256 limit not work when people try to set new signatures, or does it only not work for existing signatures?
because in case of the latter, the css suggestion should "resolve" that for the already existing signatures.
because in case of the latter, the css suggestion should "resolve" that for the already existing signatures.
- L'In20Cible
- Project Leader
- Posts: 1535
- Joined: Sat Jul 14, 2012 9:29 pm
- Location: Québec
Re: [Warning] Signature bug!
La Muerte wrote:does the 256x256 limit not work when people try to set new signatures, or does it only not work for existing signatures?
because in case of the latter, the css suggestion should "resolve" that for the already existing signatures.
phpBB only check the size of the images when you attempt to set it into a signature, but he is using a dynamic link so he bypass that check by setting the image size to be lower than the restriction configured and then change the size of the image returned by that same link which is what clients are requesting and displaying. So yeah, a CSS fix would works.
Who is online
Users browsing this forum: No registered users and 65 guests