Php and jquery ui combination?

Dear All,
I have an application which I would show the tyre configuration of a particular selected vehicle dynamicaly. For example a vehicle with 2 tyres at the front and 8 tyres at the back. So each of the tyre will have an Id generated from the table which have been assigned to the vehicles. Based on the vehicle selected and its configuration I would like to show up the tyres images accorddingly. What could be the best method to show it will table do a good job? I was planning for e.g. first row shows 2 images of the tyres then space between the rows say 5 rows and show the next 8 tyres? Any idea to show in a better manner.