<%= if Enum.any?(@images) do %>
<%= @title %> <%= if assigns[:view_all_path] do %> <%= link("View all", to: assigns[:view_all_path]) %> <% end %>
<%= for image <- @images do %> <%= render(PhilomenaWeb.ImageView, "_image_box.html", image: image, size: :thumb, conn: @conn) %> <% end %>
<% end %>