Sign in to Community
Sign in to view all badges
I have a requirement where I have to add altext to all images in my website.
1)Wherever there is a fileupload in dialog, i need to add a textfield and name it as altext.
2)I need to add altext as metadata for all images.
3)altext name should be name of image without the extension of image file name.
Whenever I query for image using foundation/components/image I am able to get results.But how to get image which has a fileupload? and fulfill above conditions
Please help me in adding a fiddle script to do this.
You can search uploaded file inside /content/ by executing a query against nt:file with the name of name property of image component(file)