I am building an e-commerce site and would like to give my users the
ability to upload images. What is the best way to do this?
What other features should I offer in uploading images? image
manipulation…etc.?
I am building an e-commerce site and would like to give my users the
ability to upload images. What is the best way to do this?
What other features should I offer in uploading images? image
manipulation…etc.?
David M. wrote:
I am building an e-commerce site and would like to give my users the
ability to upload images. What is the best way to do this?What other features should I offer in uploading images? image
manipulation…etc.?
manipulating images = rmagick http://rmagick.rubyforge.org/
uploading images = RTFM, google or your favourite ror book
David M. wrote:
I am building an e-commerce site and would like to give my users the
ability to upload images. What is the best way to do this?What other features should I offer in uploading images? image
manipulation…etc.?
Hi, i would recommend you Rick Olsens attachment_fu in combination with
RMagick if you want to manipulate your pics.
Just take a look here:
http://svn.techno-weenie.net/projects/plugins/attachment_fu/
http://weblog.techno-weenie.net/2007/2/25/attachment_fu-tutorial
Best wishes,
Roman
If you want to upload a file with a progress meter you can use mongrel
upload http://mongrel.rubyforge.org/docs/upload_progress.html . If you
follow the instructions it not that hard to get it running. Though you
will be tied into mongrel if you want the progress bar to work.
Other features you may want are
Allow multiple file uploads. I dont know of any plugins that allow
this.
Image resizing,
thumbnailing,
max image size upload before the image is downloaded. Check the
CONTENT_LENGTH in the mongrel handler.
image type limitation.
rmagic works well for image manipultion.
On Oct 1, 6:33 am, David M. <rails-mailing-l…@andreas-
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs