8
Views
3
Comments
Can I find an image by its source image?
Question
Application Type
Reactive

Yes, I know the title is not that well written.

Let me try to explain it better.

I have many image widgets in a screen. You know how their properties look--something like this:

Where you can define what image will be shown. In my case, they won't be local images, they'll be of type "Binary Data" (I'll get the binary data from the database).

After I throw a bunch of images I pulled from the database into my screen, now I want to find a particular image (at runtime) so I can manipulate it using JavaScript. However, I don't know the id of the particular image I want. In fact, the only thing I know is the Binary Data that the image I'm looking for has. Now the question is, how do I get that image's id so I can manipulate it in a JavaScript injection?

I hope I made sense...any help is appreciated.

Thanks in advance.

Rank: #292

Hi Yizuhi,

  1. You can use List and List Item inside it, pass your database as the source from where you want to fetch image.
  2. Add Image widget inside Content placeholder and change its Type property to Binary Data.
  3. In the Image Content, fetch the binary data from your source database.

Attached is the screenshot for your reference.

Hope this helps, Thanks :)