To do part of what you want (use an image or a Button) to select what goes in your sql statement, you need to learn how to code using App Inventor.
Here are some resources to help you learn to use the AI2 tools. A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
... and what you do depends on using Lists to manipulate and synchronize the files of your images with data the sql can understand.
if you are able to provide the information for the Order Details as a csv file, you could use Taifun's tutorial about using javascript called Dynamic Table to provide the OrderDetails in a WebViewer.