Commiting from linux. added code to display index and to use images as submit button. image submission does not work properly