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

  • SEARCH
  • Home
  • 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 6170213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:59:23+00:00 2026-05-23T22:59:23+00:00

my model: has_attached_file :avatar, :styles => { :thumb => 65×65> }, :storage => :s3,

  • 0

my model:

  has_attached_file :avatar, :styles => { :thumb => "65x65>" },
  :storage => :s3,
  :s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
  :bucket => "doweet-image", 
  :path => ":attachment/:id/:style.:extension"

when i’m uploading an image to amazon s3, and putting this on the view:

<%= image_tag(current_user.avatar.url(:small))%>

the photo does not show up, and when i’m copy the link the src photo this is:

http://s3.amazonaws.com/doweet-image/avatars/1/small.jpg?1311356386

and when i going to the link i’m getting there this error:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>152EBFC9033E6633</RequestId>
<HostId>
Iw3zWXuCC6JjPAJig+pBVqQbLilN4dmTY4VooVO5CVKCH3O/MN3VDawXbI6Zd5NP
</HostId>
</Error>
  • 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-05-23T22:59:25+00:00Added an answer on May 23, 2026 at 10:59 pm

    Go into your s3 bucket and make sure that your folder has read access to all. Looks like it is finding the image, but doesn’t have read access.

    If you are using a Mac, I’d suggest Transmit, but I’m sure going through the web interface would suffice.

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

Sidebar

Related Questions

I have the following code on my model: has_attached_file :photo, :styles => { :small
in my users model I have a paperclip setup like this: has_attached_file :profile_pic, :styles
This is the code in my model: has_attached_file :photo, :styles => { :tiny =>
I've done the migration I have has_attached_file :avatar, :styles => { :medium => 300x300>,
in Rails 2.3.6 I have a User model: class User < ActiveRecord::Base has_attached_file :avatar,
I have the following in my user model attr_accessible :avatar, :email validates_presence_of :email has_attached_file
I have a Product model which validates multiple attributes (including a Paperclip image attachment)
I have a model Idea which has_attached_file :file1 and has_attached_file :file2 . For development
My Invoice model has an address_id attribute, and I don't want this address_id to
The GoDiagram object model has a GoDocument. GoViews have a reference to a GoDocument.

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.