kaz Posted June 25 Share Posted June 25 The image field has the option of entering a description in the editor. The text is available as $image->description. What do I do if I don't want to have a caption under some images, but I still need to have an alternative text? Is there an alternative image field with maybe two text fields, I couldn't find anything? If I create an own text field, how do I add it to the image field of the CKEditor? Clients like to use this pretty little image icon in CKEditor to upload images, so I need it there too. The image field can certainly not be extended to comply with the new web accessibility rules, as description is already included. Those who are affected by European accessibility act - how do you deal with it? Link to comment Share on other sites More sharing options...
markus-th Posted June 25 Share Posted June 25 Everything you need is already in ProcessWire 😉 Look in the details-tab from your image-field -> https://processwire.com/blog/posts/pw-3.0.142/ For CK-Editor: In the image-dialog you can set alt an "title" (figcaption) 1 Link to comment Share on other sites More sharing options...
kaz Posted June 25 Author Share Posted June 25 @markus-th great, I just need another text field and I'm done! I'll test it right away, thanks! 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