trying to change layout to make it like image_galley.html. needs more work.