<%= link_to(configuration['prevent_fullscreen'].blank? ? fullscreen_image_url(configuration['text_image_id']) : '#',
target: ("_blank" if configuration['prevent_fullscreen'].blank?),
class: 'inline_image' \
"#{' no_image_assigned' if configuration['text_image_id'].blank?}" \
"#{' allow_fullscreen' if configuration['prevent_fullscreen'].blank?}") do %>
<%= content_image(configuration['text_image_id'], configuration['image_description']) %>
<% if configuration['image_description'].present? %>
<%= configuration['image_description'] %>
<% end %>
<%= t('pageflow.public.fullscreen') %>
<% end %>
<%= raw configuration['text'] %>