adding style for images boxes. Closes #1291