switched to rendering straight html img tag instead of ruby