Thank you all for your responses. What I'm trying to achieve is
allowing users to post their photos
on the website and give them ability to search for photos of others.
Therefore, I'm dealing with large
number of files, not so much with large size of files.

Arzumy, you mentioned the Paperclip library. I've been looking into
integrating it with my Rails code
to do most of the image management. I installed the latest ImageMagick
version on Windows Vista, however I keep
getting problems. The ImageMagick installed correctly, the problem is
after I tried to submit my Rails form with
a .jpg or .gif photo it gives me the error:

"Photo C:/Users/.../AppData/Local/Temp/stream.1556.0 is not recognized
by the 'identify' command."


I read that I get this error message, because I need to install
dependency such as delegates for each file type
allowed to be processed, i.e. jpeg, by ImageMagick but all of the
articles that I came across they are not clear and
straight to the point how to install and configure those delegates on
Win Vista. I believe that you have
ImageMagick running on your machine and I was hoping that you can
direct me to a good resource
on how to get it working with Rails.

I would greatly appreciate any recommendations!

SS


On Jul 8, 12:46 pm, Arzumy <[email protected]> wrote:
> May I add that by storing your images in on filesystem within public
> will allow any request to bypass your app server and serve directly by
> web server. And lessdatabasehit, means faster response time :)
>
> Strongly suggest don't store indatabase, if later on you want to
> manipulate the images using external application, you can do it easily
> if everything on filesystem. And using paperclip for example, allows
> you to store multiple copies of the images in different sizes, created
> immediately after upload.
>
> But yeah, if you could provide more info on what you want to achieve,
> the implementation could differ :)
>
> Cheers!
> Arzumy
>
> On Jul 8, 10:47 pm, Roderick van Domburg <rails-mailing-l...@andreas-
>
> s.net> wrote:
> > Exactly what does "large image content" mean? Are they large images, or
> > will you have a large amount of images? Is the typical workload
> > characterized by read operations or write operations? Do some of the
> > images require access authorization?
>
> > Reading from the filesystem is faster than from thedatabase. What's
> > best for you depends on your specific situation.
>
> > --
> > Roderick van Domburghttp://www.nedforce.com
> > --
> > Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to