module Admin module ImagesHelper def display_image_links(image) html = "" html << "#{t('images.styles.original')} : #{image.image.url(:original, false)}
" image.image.styles.each do |style, file| html << "#{t("images.styles.#{style}")} : #{image.image.url(style, false)}
" end html end end end