<%= link_to(
render_icon('zoom-out'),
alchemy.admin_pictures_path({
:size => "small",
:content_id => @content,
:element_id => @element,
:swap => @swap,
:query => params[:query],
:options => @options
}),
:remote => true,
:title => t("small_thumbnails"),
:class => "icon_button"
) %>
<%= link_to(
render_icon('zoom-equal'),
alchemy.admin_pictures_path({
:size => "medium",
:content_id => @content,
:element_id => @element,
:swap => @swap,
:query => params[:query],
:options => @options
}),
:remote => true,
:title => t("medium_thumbnails"),
:class => "icon_button"
) %>
<%= link_to(
render_icon('zoom-in'),
alchemy.admin_pictures_path({
:size => "large",
:content_id => @content,
:element_id => @element,
:swap => @swap,
:query => params[:query],
:options => @options
}),
:remote => true,
:title => t("big_thumbnails"),
:class => "icon_button"
) %>
<%= hidden_field_tag('size', @size, :id => 'overlay_thumbnails_size') %>
<%= link_to_overlay_window(
render_icon('upload'),
alchemy.new_admin_picture_path(
:element_id => @element.blank? ? nil : @element.id,
:content_id => @content.blank? ? nil : @content.id,
:swap => @swap,
:page => params[:page],
:size => @size,
:options => @options
),
{
:size => "540x550",
:title => t('upload_image')
},
{
:class => 'icon_button',
:title => t('upload_image')
}
) %>
<%= render :partial => 'alchemy/admin/partials/remote_search_form' %>