I have to program a big picture mosaic on webpage, and I'm wondering what is best approach to code it, so the solution would be not very complicated to program and to maintain/change it later.
Here is a design for mosaic, each picture may change, both black and white and colour.

I was thinking about 3 different approaches:
<table>solution,<div>and each div has itsposition:absoluteset in CSS,<div>and placing with JS ( array with positions/ sizes ).
Any other ideas ?