more dynamic using Javascript.
Needs a little more to be completely dynamic:
work for n images, m strips, calculate strip dimensions, maybe use first image size as default.