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

XF 1.2 Limit Image Size on Signature

Discussion in 'XenForo Questions and Support' started by SEOmers, Mar 23, 2014.

  1. SEOmers

    SEOmers Active Member

    How can I limit image size in 1.2?

    I want a limit of 2 links and 1 image thats no bigger than 768x90?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    The FAQ in my signature explains how to limit image sizes.
  3. SEOmers

    SEOmers Active Member


    .signature.messageText img {
    max-width: 200px !important;.
  4. SEOmers

    SEOmers Active Member

    Anyway to stop people centring it though?
  5. Mike

    Mike XenForo Developer Staff Member

    You would need to remove the "Allow alignment changes" signature permission.
  6. CaptainMorgan

    CaptainMorgan Active Member

    Is it possible to limit the dimensions based on usergroups (upgrades) ? So,

    upgrade 1 allows 500 x 100,
    upgrade 2 allows 600 x 150,
    upgrade 3 allows 650 x 200,

    Is this possible?
  7. Mike

    Mike XenForo Developer Staff Member

    It would need custom modification to the output to expose a class based on which groups they were in and then to apply CSS based on those.

Share This Page