add photo dynamically using erb and in-line style