Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
SiteBuilder - Get Alt Image Tag
I am wondering if anyone knows how to get a image file's Alt Image Tag value.
In Site Builder Item/Category Template, I have a item template coded this way:
<a href="<%=getCurrentAttribute('item', 'storeurl')%>"><img src="<%=getCurrentAttribute('item', 'storedisplaythumbnail', '/SC/images/noImageList.jpg')%>" alt=""/></a>
As you can see, the code use getCurrentAtribute of the item's storedisplaythumnail to get the product image file url. I need to populate the Alt field from this image file (the field value is Alttagcaption). If I have the Alt Image Tag field set for this product image file (see screenshot below), my question is, how to code so that I can get this product image file's Alt Image tag in above piece of code?