set image size

This commit is contained in:
byte[] 2019-11-17 19:30:50 -05:00
parent 7b181559ab
commit aa50acc5ca

View file

@ -45,7 +45,7 @@ elixir:
br
= for item <- Enum.take_random(c.items, 5) do
= render PhilomenaWeb.ImageView, "_image_container.html", image: item.example_image, conn: @conn
= render PhilomenaWeb.ImageView, "_image_container.html", image: item.example_image, size: :thumb_small, conn: @conn
p
strong