You're using an asterix in your size
attribute. Did you try it with the x
character between the width and height numbers?
<%= image_tag @language.image_url, size:"100x100" %>
As some of the other posters have mentioned here, if you're using paperclip, it might be a better idea to resize and store your resized image via paperclip for performance reasons. But if you want to keep the image resizing in HTML, then try using x
instead of *
.