I have implemented a form with image upload using paperclip on rails 3.0.1 on linux (same problem below on rails 3.0.0 on windows)
I\'m using Paperclip 2.3.5 within a Rails app to store PDF documents on Amazon S3. For every PDF a JPG thumbnail is generated by ImageMagick. Im\' using this configuration in the model:
So I ran a regular generate scaffold and used a stock form to handle uploads. All uploads work nicely and the image is attached perfectly. The issue I get is when I go to \'Edit\' and try to change t
I have a model called Graphic, each graphic belongs_to one model c开发者_如何学编程alled Book, the graphic model has 1 style and I want to add a 2nd one called \"dealer_logo\":
I\'ve been trying to get paperclip to upload images to amazon s3, but all I get is the original file being uploaded. No thumbnails are generated. My model has this in it:
I have two scenarios for using Paperclip, but I\'m unsure of how to tweak the settings or if it\'s possible or even necessary. Need the advice of more seasoned professionals on this one.
Client request a task: All开发者_JAVA百科ow the Admin to change the site background image Problem: I don\'t want create new table for store only one image. now I want upload image with paperclip bu
based on the needs of my app, I need to make a modification to paperclip, it\'s only one line but it makes all t开发者_运维百科he difference for my apps needs.
I\'m using paperclip which has a /config/s3.yml file with the following: common: &common access_key_id: XXXXXXXXXX
In paperclip.rb (lib/paperclip.rb), in a block of comments regarding the has_attached_file method, on line 251 (in version 2.3.3), it reads regarding the :convert_options hash: