Displaying 7 results from an estimated 7 matches for "400x400".
Did you mean:
400x300
2010 Apr 01
2
paper clip plugin error
..._path] = "C:/Program Files/
ImageMagick-6.4.5-Q16/www"
model code
----------------------------
has_attached_file :photo ,
:styles => {
:thumb=> "100x100#",
:small => "150x150>",
:medium => "300x300>",
:large => "400x400>" }
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+...
2008 Sep 17
1
rgl: How to position a window during open3d call
...0,100,500,500))
[1] 1
Obviously you can't see where the window appears, so I'll ask for the
"windowRect" parameter:
> par3d()["windowRect"]
$windowRect
[1] 2300 764 2556 1020
As you can see, the window is not positioned at (100,100) nor is the size
400x400. The size is the default 256x256 and the position is where the window
manager would put a new window if its position is unspecified.
[note: I have a dual screen setup so the coordinates are not bogus]
If, however, I use par3d to set the "windowRect", the window goes where it is
supposed...
2007 Aug 22
8
How to spec an attachment_fu model
First off, I''m not trying to spec attachment_fu, I know it''s been tested.
But, I added some code to that model that I do need to test. Basically,
I need to somehow fulfill the "uploaded_data" property so I can actually
run my tests(otherwise they fail because of validations). The
"uploaded_data" field is what would grab the multipart data from form.
Here
2007 Mar 08
0
Scriptaculous: Move not as smooth as other effects?
...mes even great. Cool stuff!
One thing has me puzzled, though. Why is it that certain effects do
not perform the same all the time? Many of the other Effects are
pretty smooth all the time, like Grow/Shrink or Disappear/Appear. Move
seems to be different.
As soon as I move an image around of, say, 400x400 pixels, the edges
seem to flicker. I''ve seen the same thing happening with smaller pics,
too. Could this be due to the way moves are implemented in the
browser? Or is there something going on that I''ve yet to discover?
I see the same thing happening on Google Maps occasionally, a...
2007 May 28
1
upload_column problems on post after validation error
...plugin, it works very well but it throws an
exception when I try to repost the form after a validation error.
Here some details:
Model: (hostel.rb)
HOSTEL_PHOTO_DIR = Proc.new {|inst, attr| "hostel/#{inst.id}"}
HOSTEL_PHOTO_THUMB = "100x100"
HOSTEL_PHOTO_NORMAL = "400x400"
image_column :photo_1, :store_dir => HOSTEL_PHOTO_DIR,
:versions => { :thumb => HOSTEL_PHOTO_THUMB,
:normal => HOSTEL_PHOTO_NORMAL},
:filename => Proc.new {|inst, orig, ext|
"photo_1.#{ext}"}
View (signup_custome...
2006 Jun 07
7
file_column image versions
does anyone know much about resizing different versions of images with
file_column? i tried it and everything works fine, but my question is
can you do more than just make sizes with a version of image? i''m
working on a photo album and i would like to resize the image to a
medium size, but create a thumbnail as well and crop anything left to
make the thumbnail a perfect square.
--
2011 Nov 28
5
window manager interface commands for linux
How can i replicate this in Linux:
source(file.choose())
I've tried source(tkgetOpenFile()) but with no luck