search for: cropper

Displaying 4 results from an estimated 4 matches for "cropper".

Did you mean: cropped
2006 Mar 08
3
file_column Cropping -> image offset information
Hello, I had a problem cropping images with file_column. These are my settings: file_column :image, :magick => { :versions => { :thumb => "80x80>", :medium => "150x150>", :square => { :crop => "1:1", :size => "50x50!" } },
2006 Aug 31
2
Event.observe problem
Hi everyone! I came across and interesting problem with prototype Event.observe. Take this code for example: <script type="text/javascript" src="cropper/lib/prototype.js"></script> <script language="JavaScript"><!-- function handler(e) { if (document.all) { e = window.event; } var key; if (document.layers) key = e.which; if (document.all) key = e.keyCode alert(''Unicode value of key press...
2010 Mar 09
1
Obtaining the true aspect ratio for a lattice plot
I almost always supply my own aspect ratio when plotting using lattice. When I plot these to pdf, I would like to specify pdf dimensions that will result in minimal margins around the plot. In my application, resorting to a pdf cropper after plotting is not an option - I must do it in R. The problem is that I cannot determine the correct aspect ratio for the overall plot (accounting for strip labels, keys, titles, labels, etc.) that would help me determine the correct pdf dimensions. I can roughly estimate what the over...
2009 Jan 30
2
rescue ActiveRecord::RecordInvalid
Hi all, I am using is_attachment plugin, but I will always end up with this error: RuntimeError in PostsController#create BLAH which was caused by: version.filename = file_name_for_version(version_name) begin version.save! rescue ActiveRecord::RecordInvalid raise "BLAH" end end RecordInvalid was raised by save! because is invalid. Does anyone know why? I am uploading