vanderbreye Posted November 14, 2016 Share Posted November 14, 2016 hey! i ran into a problem with image-description fields - its limiting to 256 chars, am i right? is it somehow possible to use another value here - or use more than 256 chars? i am using it via the Plugin MediaManager - but this uses the internal imagefield, i guess... thank you! Link to comment Share on other sites More sharing options...
kixe Posted November 14, 2016 Share Posted November 14, 2016 ProcessWire Image description field has no limits by default. 1 Link to comment Share on other sites More sharing options...
kongondo Posted November 15, 2016 Share Posted November 15, 2016 Oops, that's $sanitizer->text() in action. Will think about what to change it to. 1 Link to comment Share on other sites More sharing options...
adrian Posted November 15, 2016 Share Posted November 15, 2016 4 minutes ago, kongondo said: Oops, that's $sanitizer->text() in action. Will think about what to change it to. $sanitizer->purify() ? or "textarea" with the stripTags option along with "entities" - https://processwire.com/api/ref/sanitizer/textarea/ 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now