<% size = assigns[:size] || :full %> <% embed_display = assigns[:embed_display] || false %> <%= content_tag :div, [data: image_container_data(@conn, @image, size), class: "image-show-container"] do %> <%= if size == :full and not embed_display do %> <% else %> <% end %> <% end %>