If you want to resize images, you need something like mini_magick, you
can look at the "do_mini_magick" method I use in
http://github.com/smoofles/lepilo/tree/master/app/models/media_resource.rb
- it gets the uploaded image's path, and generates a JPG that fits
within a bound of 560x460 and a thumbnail JPG that's 150px tall.

On 7 Jan., 12:25, cool <[email protected]> wrote:
>  I have tried with paperclip and no use and there are lots of issues
> in that paperclip with merb 1.0
> I cant do anything with paperclip.
>
> With this tutorial
>
>  http://wiki.merbivore.com/upload
>   I can upload only files or pictures and i cant resize with that.
>
> I am Stucked with this issue?
>
> On Nov 27 2008, 3:42 pm, cool <[email protected]> wrote:
>
> > how can we do image upload and resizing image in merb ?
> > can anyone help me ?
> > iam sucked with that.
>
> > On Oct 14, 3:31 pm, rsi <[email protected]> wrote:
>
> > > Hi,
>
> > > I use Merb to handle image uploads and resizing images, before they
> > > are send to Amazon S3. In front of merb sits Apache as a proxy
> > > balancer server and Mongrel. The resizing of the images can take quite
> > > a while (up to 10-20 seconds for really large images).
>
> > > What is not clear to me if starting more Merb instances (we run 4
> > > now), say 10 or 20 would help us scaling our upload service. I read
> > > everywhere that Merb is multi threaded, but I'm not sure if Merb
> > > itself can start different processes with large file uploads, etc..
>
> > > So will our load balance be better if we start more Merb instances or
> > > does it not make any difference and could we also start one Merb
> > > instance?
>
> > > Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to