I have a good solution from Rainer Jeschor at http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_28651880.html
(see zipped file).
The default.html in this folder has two <a> tags. Thy open EEDynamicImage.html and depending which <a> tag is clicked on, inserts the respective image to EEDynamicImage.html.
Question: How can I apply jQuery or bootstarp to jazz it up a bit.
Right now, it opens off center with not much tech used in the process. What are good way of doing this. I may also need to pass the image box size, margin, etc. dynamically but handling all these attributes dynamically could be handled in a new question later on.