How do you get http://github.com/galetahub/rails-ckeditor working so you can upload image files? I don't think I'll use the s3 storage...
any help would be appreciated.
...
I'm working on a rails app where the user will be uploading large quantities of images.
My current setup: Using SWFUpload to upload multiple files at once using the Paperclip plugin with S3 storage. After the original image is uploaded to S3, Delayed_Job is used for the post processing (thumbnails, etc).
The problem I have is that the...
I have a Rails application where people can use an in browser sound editor to create wav files and upload them to the server.
I use Paperclip for handling the sound file upload.
I would like to be able to convert the wav file to an mp3, but keep both files.
I have read about Paperclip processors, but I'm not sure how to use them to ge...
Stupid question?
<img alt="Phone_large" src="/system/photos/1/small/phone_large.jpg?1238845838" />
Why ist "?1238845838" added to the image path?
How can I get my path/url without it?
...
I am getting a AWS::S3::NoConnectionEstablished exception when trying to download a file using paperclip + s3. I can fire up s3sh and create a connection just fine with the s3 credentials in my config. What is the best next step I can take to debug this issue? This is what my model looks like:
has_attached_file :file,
...
Hi,
I've been breaking the DRY principle a bit in a project built with Paperclip for media storage. I've added assets to certain models, such as AlbumPhotoFile, AlbumSoundFile and so on, using the following code :
# Asset is a regular < ActiveRecord::Base class
class AlbumPhotoFile < Asset
has_attached_file :pic, :url => "foo", :pat...
Rails 3.0.0, paperclip 2.3.3, simplystored 0.3.6.
I'm using simplystored so i can use couchdb, but i am thinking that simplystored doesn't work with paperclip.
I've tried using paperclip as a gem [via bundler] as well as a plugin, and I get the same error regardless:
undefined method `has_attached_file' for Video:Class.
Any way to g...
I have an application which uploads images to an S3 bucket using Paperclip. It's been working fine for months, but suddenly my files are not being uploaded to the S3 bucket. Unfortunately, I've been doing a refactoring in a number of unrelated areas, and it's possible that something I changed broke my upload.
I'm using paperclip 2.3.1. ...
I'm trying to find the best way to make paperclip urls secure, but only for secure pages.
For instance, the homepage, which shows images stored in S3, is http://mydomain.com and the image url is http://s3.amazonaws.com/mydomainphotos/89/thisimage.JPG?1284314856.
I have secure pages like https://mydomain.com/users/my_stuff/49 that has i...
Any decent paperclip-like Ruby gems that also read EXIF data? It would be a huge bonus if the gem was Windows-friendly.
...
The question is just above the last code snippet. Thank you.
(environment details are the end )
posts_controller.rb
class PostsController < ApplicationController
def create
@post = Post.new(params[:post])
respond_to do |format|
format.xml { render :xml => @post.to_xml(:include => [ :assets])}
end
end
posts.rb
class P...
I have just set up file uploads to Amazon S3 using Rails 3 and Paperclip. All this works amazingly well and is up and running. There is just one small detail that I would like to sort out. At the moment, the urls are the amazon urls (ie start http://s3.amazonaws.com) and I would like them to begin with my domain.
I have already added...
I'm trying to make an image of a graph using ruby-graphviz by
@graph.output(:output => "png", :file => "public/images/graph.png")
Since I'm using heroku, how can I save the image locally and send it to an s3 bucket, or just send it straight to the s3 bucket? I'd appreciate any help.
...
I have set up Paperclip and ImageMagick successfully on my system, and files are uploading correctly, being resized, and and being saved into the right folders.
I try to display those images in my view:
<%= image_tag @customer.logo.url(:medium) %>
No image is displayed. When I go to the image's direct url I get:
Routing Error
No rou...
I want to run Paperclip on all files in a directory on the server. Basically, I would like to allow users to FTP some files to my webserver, then I can manually run a rake task to have Paperclip process all of the files (resize the images, update the database, etc).
How can I do this?
...
Hi guys!
I'm having a ton of trouble with uploading multiple attachments with paperclip and processing them with a watermark.
I have 2 models, Ad and Photo.
The Ad has_many :photos and the Photo belongs_to :ad.
To be more exact in /models/ad.rb I have:
class Ad < ActiveRecord::Base
has_many :photos, :dependent => :destroy
accep...
I was following this tutorial here: [link] about getting a webcam image into rails using paperclip and jpegcam. I followed the tutorial through and through yet I can't seem to get the image uploaded. I'm getting this error when I go to photo/show:
NoMethodError in Photo#show
Showing app/views/photo/show.html.erb where line #3 raised:
...
The Error :
2010-10-06T04:40:41-0700: * [Worker(delayed_job host:domU-12-31-39-0C-CC-64 pid:21517)] acquired lock on PhotoJob
2010-10-06T04:40:41-0700: * [JOB] delayed_job host:domU-12-31-39-0C-CC-64 pid:21517 failed with AWS::S3::NoSuchKey: The specified key does not exist. - 1 failed attempts
Paperclip matches the ID, but the ID sud...
I have a model that handles all my uploads of different filetypes.
How do I create a style with the same name as the :basename so that the url will be the same for images and non-image files?
...
Hey,
I've just installed paperclip 2.3.3 and paperclipftp 0.1.0.
Paperclip was working fine, the attachments were saving and everything was great.
Enter paperclipftp.
I've included both gems in my Gemfile, installed it with bundle and made sure all dependencies were satisfied. I've also double checked that all my ftp info is correct ...