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

Resizing Signature Images / Having a Limit

Discussion in 'XenForo Questions and Support' started by faeronsayn, Aug 18, 2011.

  1. faeronsayn

    faeronsayn Well-Known Member

    After looking for some time in the Admin CP, I was unable to find any options for signatures and putting limits on them.

    I was wondering if there was a way to use the resizing on images that is done in posts, to be able to be done on signatures but with a limit on the Height or the Width of the image. I think it already resizes the image if it does not fit into the template or if you have a fluid style or what not.

    My main problem with signature images is the height, for example an image that is 700pixels in height and 200 pixels in width, there would be no resizing done automatically, and so it would really make it a bad experience for any user reading a thread.

    Also I was wondering if it was possible to limit signatures to lets say x amount of lines? or x amount of pixels?

    To sum up the first question, I just need a signature image resizer that would work on its own, mainly need a resizer that can resize the image in its actual ratio to a height specified.

    If there are any addons or any template edits that can be used for this to work please let me know.
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Edit this template:

    Admin CP -> Appearance -> Templates -> EXTRA.css

    Add this code:

    .signature img
    	max-height: 200px;
    Walter and faeronsayn like this.
  3. faeronsayn

    faeronsayn Well-Known Member

    First of all thank you so much, sadly I can only like your post once :( ...

    Just wondering if its possible to display some type of thing to indicate that the picture has been resized?

    If not thats okay as well.
  4. faeronsayn

    faeronsayn Well-Known Member

    Sorry to bother you again, but for some reason, after this change, on my normal posts, whenever a picture is resized, and I click on it to enlarge it, it enlarges but it leaves behind the resized image, so it looks kind of weird, and makes it look like the computer is lagging or something. Any reason why this is ?
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I don't know of any way to do that.

    I don't have any problems with this. Can you post a URL to a thread that has this problem?
  6. faeronsayn

    faeronsayn Well-Known Member

  7. Brogan

    Brogan XenForo Moderator Staff Member

    That's how the function works.

    You're using an image with a transparent background which is why you can see the original underneath.
    faeronsayn likes this.
  8. faeronsayn

    faeronsayn Well-Known Member

    Uhh I see, so uhm is there any possible work arounds for this? Maybe removing the resized image when you click to enlarge it?
  9. shadoom

    shadoom Member

    does this still work? i tried it but it seems that images over 200px are still there
  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Yes it does. I just tested it in 1.1.

    Make sure you are editing the same style you are viewing.
  11. msolano

    msolano Active Member

    This saved my life. Some guys are abusing about the size of the signature images.

    If someone has another solution I'll appreciate the advice.
  12. xomp

    xomp Member

    Why tolerate abusive members? Ding dong bannu! Or at the very least put them in timeout for awhile.

    Also, this doesn't appear to work for me. Perhaps something is overriding, but nothing is jumping out at me at this moment.

Share This Page