<commit_before><% if object.present? && object.file.present? %>

  <% if object.url.present? %>
    <%= link_to object.url, class: 'th radius' do %>
      <%= image_tag object.file.url, alt: '' %>
    <% end %>

  <% else %>
    <%= image_tag object.file.url, alt: '' %>
  <% end %>

  <% if object.caption.present? %>
    <%= object.caption.html_safe %>
  <% end %>
<% end %>

<br>
<%= link_to icon(:pencil), edit_backend_content_image_path(object) %><commit_msg>Use a smaller preview size.<commit_after><% if object.present? && object.file.present? %>

  <% if object.url.present? %>
    <%= link_to object.url, class: 'th radius' do %>
      <%= image_tag object.file.size_1024x640.url, alt: '' %>
    <% end %>

  <% else %>
    <%= image_tag object.file.size_1024x640.url, alt: '' %>
  <% end %>

  <% if object.caption.present? %>
    <%= object.caption.html_safe %>
  <% end %>
<% end %>

<br>
<%= link_to icon(:pencil), edit_backend_content_image_path(object) %>
{'fraction_non_alphanumeric': 0.20927835051546392, 'fraction_numerical': 0.01443298969072165, 'mean_word_length': 3.373873873873874, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6332633', 'n_tokens_mistral': 406, 'n_tokens_neox': 340, 'n_words': 64}