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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Image Field Name Display

Avatar

Level 1

Please help!!

   Trying to see if it is possible to have the image name displayed and printed when using an image field. I want to have the image print then displayed under neither, the file name. Is this possible???

Thank you. Rob

2 Replies

Avatar

Level 10

When you use the image field and select an image, the file is streamed into the object and the filename is NOT exposed. The contents of the file are in the datadom but the filename is not available to you. You may want to contact support and ask for an enhancement.

Paul

Avatar

Level 2

If the image was added in Designer, the image name gets saved under the <desc> element.

The file name can then be displayed with the expression:

ImageField1.desc.embeddedHref.value

As Paul says, if the image field were updated in Acrobat, the desc element does not get updated.

Updating the image field desc element in Acrobat would be a nice enhancement request.

  John