<%= link_to_remote "<-Left", {:update => "photo", :url => { :action => "rotate_left"}}, {:title => "Rotate 90 degrees left"} %>  ROTATE  <%= link_to_remote "Right->", {:update => "photo", :url => { :action => "rotate_right"}}, {:title => "Rotate 90 degrees right"} %>
<%= form_remote_tag :update => "photo", :url => { :action => "crop"}%>
CROP
Top:
%
Left:
%
Right:
%
Bottom:
%
<%= hidden_field_tag 'crop_button', 'Preview' %> <%= submit_tag 'Preview', {:name => '_crop_button', :onclick => "Form.getInputs(this.form, null, 'crop_button')[0].value = 'Preview'", :title => "Preview cropped image"} %> <%= submit_tag 'Crop', {:name => '_crop_button', :onclick => "Form.getInputs(this.form, null, 'crop_button')[0].value = 'Crop'", :title => "Crop image"} %>
<%= end_form_tag %>
<%= link_to_remote "<-Dark", {:update => "photo", :url => { :action => "darker"}}, {:title => "Too light?"} %> BRIGHT  <%= link_to_remote "Light->", {:update => "photo", :url => { :action => "brighter"}}, {:title => "Too dark?"} %>
<%= link_to_remote "<-Less", {:update => "photo", :url => { :action => "reduce_contrast"}}, {:title => "Too contrasty?"} %> CONTRAST <%= link_to_remote "More->", {:update => "photo", :url => { :action => "increase_contrast"}}, {:title => "Too flat?"} %>
COLOR CORRECTION
<%= link_to_remote "<-Cyan", {:update => "photo", :url => { :action => "more_cyan"}}, {:title => "Too red?"} %>  R  <%= link_to_remote "Red->", {:update => "photo", :url => { :action => "more_red"}}, {:title => "Not red enough?"} %>
<%= link_to_remote "<-Magenta", {:update => "photo", :url => { :action => "more_magenta"}}, {:title => "Too green?"} %>  G  <%= link_to_remote "Green->", {:update => "photo", :url => { :action => "more_green"}}, {:title => "Not green enough?"} %>
<%= link_to_remote "<-Yellow", {:update => "photo", :url => { :action => "more_yellow"}}, {:title => "Too blue?"} %>  B  <%= link_to_remote "Blue->", {:update => "photo", :url => { :action => "more_blue"}}, {:title => "Too yellow?"} %>
<%= link_to_remote "Enhance Color Contrast", {:update => "photo", :url => { :action => "enhance_color_contrast"}}, {:title => "Maximize color contrast"} %>
<%= link_to_remote "Reduce Grain", {:update => "photo", :url => { :action => "reduce_noise"}}, {:title => "Reduce graininess"} %>
<%= link_to_remote "Sharpen", {:update => "photo", :url => { :action => "sharpen"}}, {:title => "Make image appear sharper"} %>
<%= link_to_remote "Undo Last Operation", {:update => "photo", :url => { :action => "undo"}}, {:title => "Undo last operation of this group"} %>
<%= form_remote_tag :update => "photo", :url => { :action => "set_max_size"}%> <%= submit_tag 'Final Size', {:title => "Set maximum size and make final copy"}%> H: V: <%= end_form_tag%>
<%= form_remote_tag :update => "photo", :url => { :action => "start_over"}%> <%= submit_tag 'Start Over', {:title => "Start again from original uploaded image"}%> <%= end_form_tag%>