Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7772891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:59:10+00:00 2026-06-01T16:59:10+00:00

Having some odd issues with paperclip, s3 and imagemagick. The normal sized image will

  • 0

Having some odd issues with paperclip, s3 and imagemagick.

The normal sized image will force an image download.

http://ads_honours_development.s3.amazonaws.com/assets/adverts/10/normal.jpg?1333899985

Meanwhile the original image is blank.

http://ads_honours_development.s3.amazonaws.com/assets/adverts/10/original.jpg?1333899985

Here is the model.

class Advert < ActiveRecord::Base

belongs_to :group

 #paperclip

 has_attached_file :photo, {
:styles => { :large => "512x512", :normal => "360x360", :small => "200x200", :tiny => "64x64", :thumbnail => "32x32" },
:convert_options => { :large => "-quality 86" },
:default_url => "/images/thumbnail/blank-recipe.png",
:url => ':s3_domain_url',
:path => 'assets/:class/:id/:style.:extension',
:storage => :s3,
:s3_credentials => "#{Rails.root}/config/s3.yml",
:s3_permissions => 'public-read',
:s3_protocol => 'http'}

validates_attachment_presence :photo
end

Gem file is like:

gem 'aws-sdk'
gem 'paperclip', '~> 2.0'

I can’t work out what I’m doing wrong here. Any help/suggestions?

UPDATE I’ve got this running on heroku as well and the exact same issue occurs, so it’s not down to my development machines settings. I’m guessing the problem lies within Paperclip itself, my bucket setup or the amazon aws-sdk gem.

SECOND UPDATE Ok so all of these images load in IE, but not Chrome. What gives?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:59:11+00:00Added an answer on June 1, 2026 at 4:59 pm

    Maybe you have an extension running on chrome which is blocking the images? The link shows for me in Chrome only with adblock disabled.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having an odd issue and need some help determining the cause. So
Having some issues getting my head around the differences between UTF-8, UTF-16, ASCII and
Having some issues with the ... in ObjectiveC. I'm basically wrapping a method and
I am trying to debug a web app, and am having some rather odd
I am having some issues creating a setup file for my Outlook 2007 add-in.
I'm having a really odd issue and maybe one of you can shed some
I've been having an issue getting .getScript to work in some odd cases. For
I've been having some odd problems with permission in Android. I am trying to
I have audio constantly playing during my application. I am having some odd behavior
I'm having issues serving out static (image) files from an Azure + MVC 3

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.