A problem with populating images on the portal widget.

User299200
Tera Contributor

I have a question about portal widgets. 

Please see attachments ... I have two widgets communicating with each other(widget 1 and 2).   

 

(1st widget)

(widget called  my pet)

find_real_file.png

 

(2nd widget)

(widget called pet selection)

find_real_file.png

find_real_file.pngfind_real_file.png

 

I have created a field variable for image which is a type image(Photo Image).

I'm just having a problem with understand why my images are not populating in the portal widget.

 

//Note this is extra info . 

I tested my  widget HTML  image code  image tag(<img src=>  by going to the db_image table  and pulling  <img src =  > find_real_file.png It populated an image, so I'm confused. Please help me to understand what's really going on. 

find_real_file.png

This was to test to see if an image would show or not  (note: this is ng-repeat, so the image will show up on all records first record to the End of list of records. 

 

Note:

 I have a table called pets with all the records, but I'm still having issues viewing images in the portal widget. 

find_real_file.png

 

 

 

1 ACCEPTED SOLUTION

Sebastian L
Mega Sage

In one of your widgets, you are writing: u_photo_image.toString(). Instead you need to write petsGr.getDisplayValue('u_photo_image'); 


Best regards,
Sebastian Laursen

View solution in original post

5 REPLIES 5

Awesome it worked! No worries 😄 


Best regards,
Sebastian Laursen