Hi, I'm currently building an RSS feed for my Rails application using Builder (the wealth of tutorials out there for doing it this way helped), but become a little bit stuck when it comes to adding an image alongside it (which has been uploaded via Paperclip), like a lot of the top publications do.
I'm currently using this to make the t...
Not sure if I've done everything right here. I added the Paperclip gem to my Gemfile and did bundle install. I followed along with the readme instructions on Paperclips Github page.
I wasn't sure if I needed to install ImageMagick. But, I found a script on Github for installation on Snow Leopard, so I ran:
rails plugin install http:/...
Hi... Just started learning how to use paper_clip. I installed everything according the instructions and tried to upload an image (profile_pic)...
I got the error that I can't mass assign profile_pic...
so I added attr_accessible: :profile_pic
And that stopped that error. What I'm curious about is I don't have a 'profile_pic' column i...
I have a Rail3 app with paper_clip, with the intent to store data on S3.
In the app, Users belong to an instance.
I would like the data stored across all the models per instance. And would like to prevent a user for Instance A from accessing, or being able to load data from Instance B.
What's the best way to handle this? thanks
...
How can i make my photo rails app to receive images (and handling them with paperclip) through the built in API using paperclip plugin. My app works fine when upload from browser..How can i test the API with curl command? How can specify the end-point url?
thanks.
...
I have a web app in which users can upload an avatar under 700kb. That's the only part of the application dealing with uploading images (so I won't be dealing with an exceptionally heavy load). I was wondering what the best way is to go about this. Currently I'm using Paperclip and I wan't to store all of the images on Amazon's S3.
Opti...
Rails3 on passenger. I have imagemagick installed and working correctly however I receive the following error when trying to add an image via paperclip. This works fine on in development, but not in production on passenger.
[paperclip] An error was received while processing: #<Paperclip::PaperclipError: There was an error processing the...
Hello,
I'm using paperclip, and have several styles:
:styles => {:large => "300x300>", :medium => "150x150>", :small => "50x50>", :thumb => "30x30>" }
The issue is default_stype, only applies to one of the sizes...
:default_style => :thumb,
:default_url => url here....
How can I set default_stypes for each style type? so if I call:...
I'm very new to Rails. Basically, I have a Sound model that uploads an audio file(wav) and store it somewhere on the local machine (for testing). How to set it up using Paperclip? I googled but unfortunately most of the tutorials are about image uploading:-(
Any inputs are greatly appreciated.
...
now i am trying to upload a pdf file to the server ,but i get nothing,when i try
to get the url of the attached file,i got some missing.png file name.
Is there some where i can set to tell the paperclip that i just want to upload pdf files but
not pictures?
great thanks... here is my class settings
=====================================...
I'm very confused here as to why paperclip isn't working for me.
When accessing a previously saved file on s3 for processing this method of the paperclip s3 storage class causes an error:
def to_file style = default_style
return @queued_for_write[style] if @queued_for_write[style]
filename = path(style).split(".")
extname...
I'm currently using Paperclip to upload an image and automatically generate a thumbnail. Now I would also like to add a second style that generates a one-pixel-wide image using the left-most column of pixels in the uploaded image (it should also have the same height as the original image). I'll be using the one-pixel-wide image as a repe...
I am using Paperclip to upload image on Rails3. Now I want to use valums's file-uploader to do multiple image upload. I have already set the multiple image upload correctly.
Each Product(a particular model) has_many photos.
each photo has_one item. (FROM: rails g paperclip photo item)
My question is how to use valums's file-uploader?
And...
I am using the Paperclip gem to resize upload photos and store them on amazon S3. I need access to the resized photo to also pass along to another web service, during the lifecycle of the upload request.
I suspect there is a temp file created somewhere the imagemagik uses before the photo is uploaded to s3. How can I get access to it....
I have a photo rails app using paperclip. My model called photo and the request parameter also photo.So when i am trying to upload via curl i use : curl -F "photo[photo]=@/pics/pic.jpg" http://something/photos.xml .
That's works fine! How can i change the photo[photo] parameter to "photo" or "media" or something else? How can i change th...
Hi guys,
I am building a Rails application that works with videos. I am using an encoding service that encodes my video and places the encoded file along with some thumbnails in a specified location on my s3. I am able to access the video via AWS:S3 like so:
AWS::S3::S3Object.find 'videos/36/base/video.mp4', 'my-bucket-name'
-- or -...
I have installed image magick on my mac os x computer and now I want to deploy it to heroku. I've installed the the paperclip plugin on heroku but I get this error when uploading an image:
Paperclip::CommandNotFoundError
I had this error before when I didn't have imagemagick instaledl on my computer before but now that I want to deplo...
Hi,
I'm seeing the following error when trying to upload a photo for cropping on heroku with the paperclip plugin.
Paperclip::CommandNotFoundError
I believe I've successfully install rmagick on a rails 3 instance with bamboo as the stack. Why am i seeing this error?
has_attached_file :avatar, :styles => {:large => "600x600>",:small ...
Hi, I'm currently setting up a new server, and started off with an Ubuntu 8.04 image with a version of Ruby and Rails already preinstalled (I thought it would be easier), and after getting my app running (with a few gems installed), the command line is throwing a wobbly, and trying to install the "Paperclip" gem, is giving the following ...
I got this some kind of permission error in my log. Everything was working fine previously, I have tested the photos controller of mine, and it worked well. So I started working on other controllers. Then somehow I found this error happening. Appreciate if someone could help.
Processing PhotosController#create (for 115.164.151.52 at 2...