images disappear after click "next", the navigation button

I created a form app and then I added an additional field. That field is image(database) field. The idea is to show the product images where product information is in table and images are in other table.

When I click run the app shows the images if the first product just fine. When I click next button to go to the other product, the images disappear. Then, if I click “Back” button to return the first record the images also disappear. So, the images show up only on the first run of the app.

BTW, I linked that additional field to the image table and I selected the foreign key to be the product id (product_id isn’t primary key of the app).

Please let me know if this is a bug, or I did something wrong.

I think you need to deploy with the proper paths using advanced deployment.

But I’m not storing the images in files. I do store them in the database. do you think that I still need the path as you mentioned

No. Instead I would install the album demo and look what it does different to your application. It’s hard to say what’s going wrong, but the applications I have managing engine issues (where pictures needs to be uploaded) works allright, straight from the database.