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

Increasing maxlength of media_description field

Discussion in 'Media Gallery Support' started by thomas1, Nov 29, 2014.

  1. thomas1

    thomas1 Active Member

    We would like to increase the number of characters in the media_description field which appears to be limited to 300 chars. We use a lot of Japanese characters (double-byte chars), further restricting the number of characters allowed. Obviously, it's not as easy as to simply switch to mediumtext or longtext.

    What would be the best way to increase the maxlength of the media_description field?
  2. Mike

    Mike XenForo Developer Staff Member

    Set the "Maximum Media/Album Description Length" option to suit (you can use the ACP search to find it).

    As a side node, the 300 is actually characters so Japanese characters should still only count as one.
  3. thomas1

    thomas1 Active Member

    Thanks Mike, how embarrassing. I completely missed those "Gallery Options".

Share This Page