This topic is locked

Retrieving images from a directory via checkboxes

6/9/2012 1:27:27 PM
PHPRunner General questions
H
haganv author

Hello All;
Not being a PHP coder - I'm been pulling my hair out. I've tried many different things; concat, SELECT statement WHERE, etc

all just giving me syntax errors. I have 2 tables: service members and ribbons. I have a ribbon_id field in the service members table

which joins to the ribbons table, ribbon_id field. So far so good. The other fields in the ribbon table are ribbon_name and ribbon_image.

I have 182 images in a directory named images-ribbons.

After making list, add, edit and view pages from the service members table I end up with a ribbon_id editable field on my pages.

Upon double clicking I am shown a list of possibilities. I've chosen Lookup wizard and selected the ribbons table along with the link field - ribbon_image.

I've also selected the Checkbox list and horizontal layout. When I build the app at this point I'm shown a horizontal list of check boxes with

the names from the ribbon_image field (1.png 2.png 3.png, etc)


Is there a way to show the images instead of the names of the images (and since there are 182 of them I would like 5 across per row)

Then I'm assuming that those selected will be carried over to the view page with the same format (5 across)?
PHPRunner developers version 6.1 (Build 11708)
Thanks in advance for any advice, pointers, or direction. (The coding would be nice too!)

Sergey Kornilov admin 6/10/2012

Unfortunately PHPRunner is not able to display images in check box list selection control. We'll consider adding this as a new feature.

T
trinikal 6/11/2012



Unfortunately PHPRunner is not able to display images in check box list selection control. We'll consider adding this as a new feature.


Thanks Sergey. That would be a nice addition to the next upgrade. I would also like to do something similar but does not sound possible at this point. I would like to display an image based on a value chosen in a drop down and the image is in another table. Thanks for your hard work and always looking to improve.