how to display custom widget setting mediatype image in storefront using knockout
Summary:
I have created custom widget in that i have taken one title text and info text and one image of mediatype to display on storefront but text and title are displayed using their id but image is not displaying i dont know how to display it through mediatype id or not
Content (required):
Version (include the version you are using, if applicable):
22c
Code Snippet (add any code snippets that support your topic, if applicable):
<div>
<h1>test image section</h1>
<img data-bind="attr: { src: 'firstslideimage', alt: firstslideTitle }">
<img data-bind="attr: { src: 'Thirdslideimage', alt: firstslideTitle }">
</div>
output
Tagged:
0