Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Adding alttext to image in AEM 6.4

Avatar

Avatar
Give Back 5
Level 3
minisanu
Level 3

Likes

9 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile

Avatar
Give Back 5
Level 3
minisanu
Level 3

Likes

9 likes

Total Posts

43 posts

Correct Reply

2 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 5
Ignite 3
View profile
minisanu
Level 3

10-01-2020

Hi Everyone,

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.

 

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,156 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,156 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

14-01-2020

Hi,

You can search uploaded file inside /content/ by executing a query against nt:file with the name of name property of image component(file)

Answers (0)