If you can format the images into functioning HTML, it's simple enough to slot in the PHP code to turn it into WordPress. You just need to make the right files for page.php, single.php, index.php etc, as in the default WordPress theme's files, and copy in the basic code, such as the if and else...