Displaying 20 results from an estimated 4000 matches similar to: "upload multiple images with paperclip in rails 4?"
2012 Jul 11
0
Paperclip duplicates uploaded images
Hi,
I''m using rails3 with paperclip to upload multiple images as in
http://www.emersonlackey.com/article/paperclip-with-rails-3
The problem is, every image is duplicated upon create/update, that is,
saved twice to the db (and afterwards displayed twice in the view as a
result)
In other pages, and even in the same page as well, I also have a single
upload file, which works fine.
As
2009 Apr 01
1
Paperclip - how to display images that were not uploaded?
I''m using Paperclip plugin to store images in my application.
In the database I have columns like: image_file_name,
image_content_type, image_file_size.
When I upload an image via form, everything works well. But when I put
filename directly into the database and place properly named image in
the place expected, the image doesn''t appear on the webpage. Even if I
just rename
2011 Jun 03
0
valums ajax file upload + paperclip in Rails 2.x Options
Hello all,
I am trying to setup ajax file upload + ajax display in Rails 2.0.2
for project specific purposes. I am using valums ajax file upload
plugin(https://github.com/valums/file-uploader). Using this plugin, I
have been able to upload these files working in my javascript and I
am
able to pass them as params.
I have found a blog in which they have shown how to combine this
plugin with
2009 Aug 16
0
Can't upload pictures using Paperclip due to weird error
I''m developing in Ubuntu, already have installed ImageScience and I''m
getting this error everytime I try to upload a picture:
[paperclip] An error was received while processing:
#<Paperclip::NotIdentifiedByImageMagickError: /tmp/
stream20090816-10096-ddupoc-0 is not recognized by the ''identify''
command.>
Can someone guide me on a solution?
Thanks
2010 Mar 01
0
Upload progress bar with Paperclip, Mongrel, Apache
Hello all,
I''ve been looking now for several days for an easy to use progress bar
plugin or tutorial. I have Paperclip installed and it works great.
My production server runs on Apache and Mongrel.
It''s amazing that there''s no easy set up progress bar plugin or gem out
there. I have seen "SWFUpload", but that seems very complicated to
implement.
Thank you
2008 Dec 25
0
How to upload multiple files using paperclip
Has any one used paperclip to upload multiple files?. How do we do
that?. I am totally clueless. any help is highly appreciated.
thanks in advance.
--
Posted via http://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
2011 Mar 08
1
Bulk file upload in rails through paperclip
Hi all,
I have a rails application running and in my application am
uploading some very large file (SAY 2GB) ,as of now am doing one file at
time ,but i would like to do bulk file upload in my appliaction ,I came
to know about Paperclip as one of plug-in for bulk file upload....
But is it possible to have bulk upload of very
large file (SAY 2GB) through
2010 Feb 27
2
Paperclip upload fails sometimes
Hello,
My application is a rails-postgresql application which uses paperclip
("ImageMagick-6.5.4-10-Q16-windows-dll.exe" installed on WinXP).
The application''s image uploading feature works consistently right on
my development PC, however it is inconsistent on a different server PC
(used for deployment).
There are certain observations below.
a) For the first time the file
2009 Oct 01
0
Paperclip + asset_host uploading to external URL
I would need to be able to upload images to an external URL
I know S3 is an option but there are better image hosts out there for my
requirements and one in particular I would like to make use of.
I''m thinking that I could use asset_host to determine the url and path
but I can''t seem to make Paperclip play nicely.
The image host I want to use is www.unlimitedwebhosting.co.uk
I
2012 Mar 20
4
Multiple Paperclip Images on Index
Hi,
I am working on a project that is using Paperclip to upload multiple
images to an Asset model. my Post model has_many Assets. As per this
tutorial/screencast...
https://github.com/Emerson/Multiple-File-Uploads-with-Paperclip-and-Rails-3/blob/master/app/views/posts/show.html.erb">
http://www.emersonlackey.com/article/paperclip-with-rails-3>
This all works fine and I can
2011 Aug 13
1
Paperclip - could not find generator.
Hello there,
I installed plugin "paperclip" for working with images, but after
running a command
--
rails generate paperclip user avatar
I am getting error
--
Could not find generator paperclip.
If I will try run a command
--
bundle show paperclip
So I will get
--
/Library/Ruby/Gems/1.8/gems/paperclip-2.3.0
In Gemfile I have
--
gem "paperclip", "~> 2.3"
I
2009 Aug 17
0
Paperclip: processor proc not firing
Hi
It''s extremely rare that I have to post something on the Rails list,
but this is one of those times that I''ve been completely stuck for
countless hours.
Environment: Rails 2.3.3
I''ve implemented a custom processor proc for video thumbnailing with
Paperclip (latest trunk version as git submodule, and yes, it''s
updated) using the instructions posted
2010 Aug 22
0
Paperclip - possible to modify file and load file content as string?
Wanted to see if anyone knows of a way - or the preferred way - to do these
three tasks with Paperclip:
1) Access the content of an uploaded file before save. I did find that the
following works before save, but is there a clearer way to do this:
self.uploaded_file.queued_for_write[:original].open.read
2) Access the content of a file after save while my AR model instance is
still alive and/or
2012 Jan 25
0
Paperclip preserve files ?
Hi,
I am using paperclip to upload files. The problem I am facing is,
based on my object property I need to preserve my file. Means my object
should be deleted from db but the file need to be restored.
I am using the option :preserve_files => true.
If I keep the above option in model it will be access to all the
objects of the model. I need to restore only for limited objects.
2011 Mar 08
0
keep getting an error, "rescue in load_missing_constant': uninitialized constant Paperclip::Glue (NameError)"
hi, there
rails: 2.3.8
machine os: Ubuntu 10.04 Lucid
I''m having some problems with my rails installation in one of my new
development machines.
I have installed all the gems in my config/environment.rb file.
When I now run either script/console or script/server, I have the
error of " `rescue in load_missing_constant'': uninitialized constant
Paperclip::Glue
2011 Feb 15
0
Question on Paperclip paths/urls
Note that if I use the default Paperclip :path (i.e. not setting this
attribute and files going to public/system), everything is fine. This
question is to do with setting an alternative path.
I have a model using paperclip for a file with a custom path:
has_attached_file :tu_raw_bill_csv,
:path =>
2010 May 13
0
Rails 3, Paperclip and checking out particular revisions
Hey, got a weird one. I''ve been playing with a couple of Rails 3 apps
and today I have broken both. Seemingly by updating my paperclip gem.
Gemfile
.....
gem ''paperclip'', :git => ''git://github.com/thoughtbot/paperclip.git'',
:branch => ''rails3''
It appears the latest version of paperclip or at least in the branch
has broken in
2008 Sep 17
1
Stubbing Paperclip calls to Amazon S3 (for Rspec)
Would anyone happen to know how to stub a call to S3 from Paperclip?
I''ve searched every where and no one seems to have posted anything about
this. I''ve done very little in the way of spec''ing dependencies on
external services, so any ideas on how to do this with Paperclip & S3
would be most appreciated. I''m happy with stubbing out Thinking Sphinx -
would
2013 Sep 04
2
Speed up image processing of Paperclip in Acceptance Tests
Hi All,
I have a question here: How to Speed up image processing of Paperclip in
Acceptance Tests
When running capybara feature specs I can see lots of Slow factory notices
which are populated byfactory_girl. These Slow factory things heavy slow
down the feature specs, I think, even feature specs are intrinsic slow
specs. Then I had some inspect and found out most of the Slow factory was
2010 Sep 01
0
PaperClip StorageMethodNotFound (Cannot found filesystem)
Hello ,
i have an issue with paperclip . when i a working on
windows its works fine when i Go on Fedora Or heroku It gives Error
PaperClip StorageMethodNotFound (Cannot found filesystem) :
.....................
.....................
.....................
.....................
is this works for me