Add some ERB and restructure the image presentation.