Search the Community
Showing results for tags 'Image descriptions'.
I want to allow extra markup in the image description field (for basic formatting and links etc.). I have added Markdown to the "Text formatters (for file descriptions)" on the Images field, but it does not seem to be rendering the markdown in my templates. Processwire version : 2.5.8 dev Modifications : I have ProcessCropImage and the Language support for Fields and Page Names installed When i try to render the image description in my template : echo $image->description; It shows the text and seems to recognise and strip out the markdown tags (e.g. **This** becomes This), but does not actually render any html. Any ideas what is going wrong? It kind of makes sense that the default behaviour does not output any html (in case you use it as image alt text for example), so maybe there is an extra way to render the markup? Thanks for any help.