Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
how to display custom widget setting mediatype image in storefront using knockout — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

how to display custom widget setting mediatype image in storefront using knockout

Received Response
1
Views
1
Comments

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


Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!