<commit_before>module Tandem
  module ContentsHelper

    def image_content_url(image_content, format = :original)
      image_content.image.present? ? image_content.image.resource.url(format) : 'tandem/blank_image.jpg'
    end

<<<<<<< HEAD
    def image_content_tag(image_content, options = {}, format = :original)
      options = {style: "width:#{Tandem::Image::THUMB_WIDTH}px;border:5px solid #ccc;"}.merge(options) if format == :thumb
=======
    def image_content_tag(image_content, options = {}, format = nil)
      options = {style: ""}.merge(options) if format == :thumb
>>>>>>> [#24418185] changes to image gallery layout<commit_msg>Fix for improper rebase. Thought I saved before resolving. Oops.<commit_after>module Tandem
  module ContentsHelper

    def image_content_url(image_content, format = :original)
      image_content.image.present? ? image_content.image.resource.url(format) : 'tandem/blank_image.jpg'
    end

    def image_content_tag(image_content, options = {}, format = :original)
      options = {style: ""}.merge(options) if format == :thumb
{'fraction_non_alphanumeric': 0.13526119402985073, 'fraction_numerical': 0.008395522388059701, 'mean_word_length': 4.831521739130435, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '1441094', 'n_tokens_mistral': 339, 'n_tokens_neox': 317, 'n_words': 74}