• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Resize Signatures

Thanks a lot for your help :)

But the width seems so small right?

BTW, do you know how to add smilies? I downloaded smilies from here but I don't know where to upload them and how to add them in the admin panel.

Chris D

XenForo developer
Staff member
It maintains the aspect ratio and the sizes are relative.

You may want to only include:

.message .signature img
max-width: 500px;​
So if you have an image which is 1000 x 500px it will be resized to 500px x 250px. Whereas in my original example it would be scaled down to 200 x 100px.

EDIT: Smileys... no not sure. Never installed any myself. Was there no instructions with the smiley pack itself?


Active member
What about when a person has multiple images in the sig area? This only works for just one image but I have a 5-piece image that requires 5 independent files which make up just one sig and with this code in, it does not resize any of the files but only if there's just one file in the sig box. Any ideas on how to make all 5 files small within the same area which makes up one full sig? Here are examples (using 'this code') of how the files are ignored because of there being more than one file in the sig box area...

This is with more than one file:


And this is with just one file: