rails image tag width code example
Example: rails image_tag link size
<%= link_to image_tag('btn.png'), '/books/index' %>
--> <a href="/books/index"><img alt="Btn" src="/assets/btn.png" /></a>
<%= link_to image_tag('btn.png'), '/books/index' %>
--> <a href="/books/index"><img alt="Btn" src="/assets/btn.png" /></a>