On Mon, Jul 19, 2010 at 9:35 PM, David Grandinetti <[email protected]>wrote:
> You can pass in args to :convert_options that will get passed right on
> to ImageMagick.
>
> has_attached_file :photo, :styles => { :thumb => { :geometry =>
> "150x150#", :convert_options => "-auto-orient" } }
>
>
> http://www.imagemagick.org/script/command-line-options.php?ImageMagick=4c2826d0f83c3jvkoc8fbs56t2#auto-orient
>
> -Dave
>
> On Mon, Jul 19, 2010 at 9:22 PM, Francis Fish <[email protected]>
> wrote:
> > Hi Guys
> > Well, I thought I'd lost the few marbles I have left.
> > The jolly old iPhone (and indeed cameras) says what the orientation of an
> > image is using exif data. If you upload an image taken from the phone,
> the
> > jolly old browser (Chrome/Safari/FF/IE 8) ignores the exif data and makes
> > your image landscape.
> > Has anyone else found a way of rotating images on the way into their app
> > (I'm using paperclip)? Or a tag that respects exif?
> > There's lots of command line utilities like jhead, but heroku doesn't let
> > you at the file system so I'm storing stuff up in S3 and therefore
> command
> > line a non-starter. Can't expect punters to understand this.
> > It's not a big deal, just irritating.
> > Thanks and regards,
> >
> > Francis
> >
> > Follow me on twitter https://twitter.com/fjfish
> > Blog at http://www.francisfish.com
> > (you can also buy my books from there!)
> > CV http://www.pharmarketeer.com/francis.html
> >
> > Comfort the frightened, coach the clueless and teach the uninformed. Seth
> > Godin
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "NWRUG" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<nwrug-members%[email protected]>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/nwrug-members?hl=en.
> >
>
>
>
> --
> David Grandinetti
> us: +1 315 569 2594
> uk: +44 079 9929 3558
>
> --
> You received this message because you are subscribed to the Google Groups
> "NWRUG" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nwrug-members%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nwrug-members?hl=en.
>
>
Cheers - will try it later. The commands in the image magik documentation
didn't do much.
Thanks and regards,
Francis
Follow me on twitter https://twitter.com/fjfish
Blog at http://www.francisfish.com
(you can also buy my books from there!)
CV http://www.pharmarketeer.com/francis.html
Comfort the frightened, coach the clueless and teach the uninformed. Seth
Godin
--
You received this message because you are subscribed to the Google Groups
"NWRUG" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nwrug-members?hl=en.