switching from html to ruby img tags