Displaying 20 results from an estimated 50000 matches similar to: "how do u deal with tinymce and uploaded images"
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
2011 Feb 24
1
Rails 3 testing help with TinyMCE gem and plugin
Hiya,
I''ve taken over maintenance of the tiny_mce gem
(https://github.com/kete/tiny_mce/) and am preparing a release that
will have the latest TinyMCE and take advantage of some TinyMCE jQuery
integration. I''m in the process of getting things working again with
Rails 2.3.x (jQuery integration stuff broke things) and I could use
hand with testing with Rails 3.x.
I don''t
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
2012 Apr 02
0
tinymce-rails-imageupload
Hi. I have a beginner level. And I can not get the image url (i do not
know how).
https://github.com/Atlantia/tinymce-rails-imageupload
Create
name = params[:file].original_filename
directory = "public/data"
#create the file path
path = File.join(directory, name)
#write the file
File.open(path, "wb") { |f| f.write(params[:file].read) }
Render
2013 Nov 28
1
Cocaine::CommandNotFoundError while using ffmpeg
Hi,
I am using paperclip-ffmpeg gem to create thumbnail for video rails
3.2.12
while uploading following error occurs
[paperclip] [ffmpeg] ffprobe "/tmp/Wildlife_512kb20131128-2794-191vy86.mp4"
2>&1
Completed 500 Internal Server Error in 918ms
Cocaine::CommandNotFoundError (Cocaine::CommandNotFoundError):
please provide me solution
--
You received this message
2013 Apr 10
1
Regarding Uploading & Editing & Saving Docments In a Rails Application !
Hi,
i am working on Application !
I am uploading Word Document with *Paperclip* to the application.File is
saved in *Public/.
I want edit that document in a Rails Application.*I want save it back to
application.
Is there chance to do this ?
What are gems are helpful for this *integration*.
Thanks,
Sai
--
You received this message because you are subscribed to the Google Groups "Ruby
2013 Apr 15
0
update image name paperclip s3
Hello,
How can I rename image name while updating/adding the image in s3 through
paperclip?
Thanks,
Avi
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to
2013 Mar 28
1
Error Empty file upload result - problem with jQuery bulk file upload
I have problems with multiple file upload. I tried Paperclip with jQuery
file uplad plugin and get the error mentioned in the title. Files get
uploaded without problems, but I keep getting this embarrassing error.
Can somebody offer a solution to my problem or suggest alternative solution
that can be implemented in 2 hours? My client is getting a bit uneasy now.
I have tried everything I
2012 Aug 18
2
Paperclip images are not stored in my directory
It is my User.rb model,
My images are not stored in my assets directory..
has_attached_file :photo, :styles => { :small => "100x100#", :large =>
"500x500>", :thumb => "60x60>" },
:url => "/assets/users/:id/:style/:basename.:extension",
:path =>
2014 Apr 28
0
upload multiple images with paperclip in rails 4?
Hello, I'm learning rails and creating a small project,
Someone could tell me how can I upload multiple images with paperclip in
rails 4?
Thank you very much, I hope someone can help me.
Greetings.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an
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
2014 Feb 18
0
How to Test Multimodel Paperclip attachments?
I'm using Rspec and FactoryGirl to create specs for multimodel paperclip
attachments. From searching other questions, it seems like a single
image attachment is more common.
Car.rb
class Car < ActiveRecord::Base
has_many :uploads, dependent: :destroy
validates :uploads, presence: { message: 'You must upload at least
one image' }
2013 Apr 30
0
Delete original input file after delayed_paperclip processing
Hello all,
I am downloading a file from S3 for processing with paperclip and
delayed_paperclip. The original downloaded temp file is remaining after
processing completes. I''m pretty sure I could add the code to remove
this file in the after_post_processing method.
However, since the process gets handed over to delayed_paperclip, I do
not know how to access the pathname of the original
2013 Sep 30
0
TypeError: no implicit conversion of Symbol into Hash when submitting form to upload files
I''m currently new to Rails and Ruby and I''m trying to learn from my
mistakes, this time I''m trying to upload 2 files from a form for later
processing, however, after I hit the "Submit" button. I keep getting this
error:
TypeError in UploadFilesController#create
app/controllers/upload_files_controller.rb:28:in `new''
2005 Dec 05
1
Scriptaculous conflict with TinyMCE
I''m using TinyMCE[1], a popular javascript WYSIWYG html editor. The
editor fails to work when I load Scriptaculous before it -- well
depending on the browser.
I can make my application load the javascript in a different order,
but just in case it''s an issue in scriptaculous I thought I''d report.
I have a few pages up -- I''d like to find out if anyone else
2011 Sep 15
2
Dragonfly and Zip uploads
I''m poring through the Dragonfly source code right now, trying to get a handle on how to apply the following technique there:
Client uploads a Zip archive containing N images, PDF files, text files, etc. When that file arrives at the server, but before it is stored as an attachment to the current object, the Zip is burst open, contents are iterated over, and each contained file is saved
2013 Apr 18
1
Missing :bucket option (S3), while it is defined in production initializers.
I got my S3 credentials defined in my production.rb, linkwise to this
heroku post <https://devcenter.heroku.com/articles/paperclip-s3>. However
when I''m testing it on Heroku, I get this error in my logs: "ArgumentError
(missing required :bucket option)". What could be wrong?
--
You received this message because you are subscribed to the Google Groups "Ruby on
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
2007 May 01
3
How to get TinyMCE editor value( text content)
Hi everybody !
I included one tinymce editor in my rails application. But I cant get
the textarea content from the tiny editor. I dont know how to include
the submit button .
And also I wrote a javascript for getting the textarea content when the
user press the enter button. Its also not working. Why it is.
tinyMCE.init({
mode : "textareas",
});
<textarea name="msg"
2012 Nov 30
1
q@ request.request_method=='OPTIONS', ajax, post json
hi
im reading through the topic above and trying to apply it to my app.
as reference i found:http://leopard.in.ua/2012/07/08/using-cors-with-rails/
my prob is that i dont see the ''preflight'', meaning the first request
prior the actual post, which should(?) deliver this:
request.request_method==''OPTIONS''
the js code look like this:
$.ajax
({
type: