# Image "description" Field not working for alt text

**URL:** <https://community.bloomreach.com/t/image-description-field-not-working-for-alt-text/2099>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [September 10, 2020, 1:15pm UTC](https://community.bloomreach.com/t/image-description-field-not-working-for-alt-text/2099 "2020-09-10T13:15:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![samwest88](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/samwest88/32/814_2.png) [@samwest88](https://community.bloomreach.com/u/samwest88)\
**Post date:** [September 10, 2020, 1:15pm UTC](https://community.bloomreach.com/t/image-description-field-not-working-for-alt-text/2099/1 "2020-09-10T13:15:24Z")

</div>

Hello,

I am attempting to use the image “description” field for alt text in my freemarker.

Unfortunately I get the following error when I try using ${img.description}  
Failed at: ${img.description} [in template “webfile:/freemarker/nhbccontentmanagementsystem/blocks/services-card.ftl”

It’s as if it can’t see the field at all even though it is there in the CMS and has a value.

The other image properties work fine.

Any help would be greatly recieved 🙂

---

<div class="post-metadata">

**Author:** ![bcanvural](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/bcanvural/32/235_2.png) [@bcanvural](https://community.bloomreach.com/u/bcanvural)\
**Post date:** [September 10, 2020, 1:30pm UTC](https://community.bloomreach.com/t/image-description-field-not-working-for-alt-text/2099/2 "2020-09-10T13:30:23Z")

</div>

Hey Sam,

Make sure your imageset bean has a getter method called getDescription which reads that property in the repository.

---

<div class="post-metadata">

**Author:** ![Lef\_Karamoulas](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/lef_karamoulas/32/82_2.png) [@Lef\_Karamoulas](https://community.bloomreach.com/u/Lef_Karamoulas)\
**Post date:** [September 10, 2020, 1:34pm UTC](https://community.bloomreach.com/t/image-description-field-not-working-for-alt-text/2099/3 "2020-09-10T13:34:06Z")

</div>

Also, note that if you are referring to the ootb “hippogallery:description” property this one is available on the image set (look at org.hippoecm.hst.content.beans.standard.HippoGalleryImageSet) and not on a specific image variant.

Kind regards,  
Lef
