I Can upload images but cannot view them.(Paperclip S3 )amazon s3+paperclip - AWS::S3::NoSuchBucketPaperclip S3 - Can upload images but cannot view themRails, Paperclip, Direct Upload to S3 - Authenticated URL returns SignatureDoesNotMatch responsePaperclip Only Showing Default ImageCan't get Paperclip to set my S3 URLs properlyamazon s3 give image path with additional query stringRails4.2 : Images not showing up using Aws S3/Paperclip GemPaperClip gem Paperclip::Errors::NotIdentifiedByImageMagickErrorUnable to render images in view (paperclip/AWS)Getting Paperclip to upload to S3 in development and production

Is there reliable evidence that depleted uranium from the 1999 NATO bombing is causing cancer in Serbia?

Can the UK Prime Minister immediately withdraw the country from the EU without backing from parliament?

I'm reinstalling my Linux desktop, how do I keep SSH logins working?

Can the passive "être + verbe" sometimes mean the past?

How should I behave to assure my friends that I am not after their money?

How can a valley surrounded by mountains be fertile and rainy?

Making an Email Address Validator

Can I ask to speak to my future colleagues before accepting an offer?

Can a police officer film me on their personal device in my own home?

Does the Pi 4 resolve the Ethernet+USB bottleneck issue of past versions?

Mean Value Theorem: Continuous or Defined?

Can a Federation colony become a member world?

What are good ways to spray paint a QR code on a footpath?

Why are there so many religions and gods?

Can you sign using a digital signature itself?

How to fix a dry solder pin in BGA package?

Details of video memory access arbitration in Space Invaders

Generate and graph the Recamán Sequence

What does grep -v "grep" mean and do?

What's the safest way to inform a new user of their password on my web site?

What is "oversubscription" in Networking?

Could human civilization live 150 years in a nuclear-powered aircraft carrier colony without resorting to mass killing/ cannibalism?

Why was Mal so quick to drop Bester in favour of Kaylee?

How can my story take place on Earth without referring to our existing cities and countries?



I Can upload images but cannot view them.(Paperclip S3 )


amazon s3+paperclip - AWS::S3::NoSuchBucketPaperclip S3 - Can upload images but cannot view themRails, Paperclip, Direct Upload to S3 - Authenticated URL returns SignatureDoesNotMatch responsePaperclip Only Showing Default ImageCan't get Paperclip to set my S3 URLs properlyamazon s3 give image path with additional query stringRails4.2 : Images not showing up using Aws S3/Paperclip GemPaperClip gem Paperclip::Errors::NotIdentifiedByImageMagickErrorUnable to render images in view (paperclip/AWS)Getting Paperclip to upload to S3 in development and production






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I uploaded images to Amazon S3, but they're not displaying.
Image can upload but cannot view them.
I am using rails5.2 , ruby 2.4



where i get the solution for this ?



Model.rb
has_attached_file :avatar,
styles: medium: '400x400#' ,
storage: :s3,
s3_credentials: "#Rails.root/config/s3.yml",
url: ":s3_domain_url",
path: "/uploaded_data/:class/:id/:basename.:extension",
s3_protocol: 'https'


view 
<%= image_tag @product.avatar.url %>









share|improve this question






















  • which URL you are getting can you please share?

    – Vishal
    Mar 26 at 7:18











  • xxxxxx.s3.amazonaws.com/uploaded_data/sales_items/421036/…

    – Vishu Kolekar
    Mar 28 at 7:52











  • Did you tried to fetch URL from console? do image exist on s3 as per path?

    – Vishal
    Mar 28 at 11:00











  • sorry ... not try yet

    – Vishu Kolekar
    Mar 28 at 15:36











  • please check and acknowledge here :)

    – Vishal
    Mar 29 at 6:19

















1















I uploaded images to Amazon S3, but they're not displaying.
Image can upload but cannot view them.
I am using rails5.2 , ruby 2.4



where i get the solution for this ?



Model.rb
has_attached_file :avatar,
styles: medium: '400x400#' ,
storage: :s3,
s3_credentials: "#Rails.root/config/s3.yml",
url: ":s3_domain_url",
path: "/uploaded_data/:class/:id/:basename.:extension",
s3_protocol: 'https'


view 
<%= image_tag @product.avatar.url %>









share|improve this question






















  • which URL you are getting can you please share?

    – Vishal
    Mar 26 at 7:18











  • xxxxxx.s3.amazonaws.com/uploaded_data/sales_items/421036/…

    – Vishu Kolekar
    Mar 28 at 7:52











  • Did you tried to fetch URL from console? do image exist on s3 as per path?

    – Vishal
    Mar 28 at 11:00











  • sorry ... not try yet

    – Vishu Kolekar
    Mar 28 at 15:36











  • please check and acknowledge here :)

    – Vishal
    Mar 29 at 6:19













1












1








1








I uploaded images to Amazon S3, but they're not displaying.
Image can upload but cannot view them.
I am using rails5.2 , ruby 2.4



where i get the solution for this ?



Model.rb
has_attached_file :avatar,
styles: medium: '400x400#' ,
storage: :s3,
s3_credentials: "#Rails.root/config/s3.yml",
url: ":s3_domain_url",
path: "/uploaded_data/:class/:id/:basename.:extension",
s3_protocol: 'https'


view 
<%= image_tag @product.avatar.url %>









share|improve this question














I uploaded images to Amazon S3, but they're not displaying.
Image can upload but cannot view them.
I am using rails5.2 , ruby 2.4



where i get the solution for this ?



Model.rb
has_attached_file :avatar,
styles: medium: '400x400#' ,
storage: :s3,
s3_credentials: "#Rails.root/config/s3.yml",
url: ":s3_domain_url",
path: "/uploaded_data/:class/:id/:basename.:extension",
s3_protocol: 'https'


view 
<%= image_tag @product.avatar.url %>






ruby-on-rails amazon-s3 paperclip






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 25 at 12:16









Vishu KolekarVishu Kolekar

114 bronze badges




114 bronze badges












  • which URL you are getting can you please share?

    – Vishal
    Mar 26 at 7:18











  • xxxxxx.s3.amazonaws.com/uploaded_data/sales_items/421036/…

    – Vishu Kolekar
    Mar 28 at 7:52











  • Did you tried to fetch URL from console? do image exist on s3 as per path?

    – Vishal
    Mar 28 at 11:00











  • sorry ... not try yet

    – Vishu Kolekar
    Mar 28 at 15:36











  • please check and acknowledge here :)

    – Vishal
    Mar 29 at 6:19

















  • which URL you are getting can you please share?

    – Vishal
    Mar 26 at 7:18











  • xxxxxx.s3.amazonaws.com/uploaded_data/sales_items/421036/…

    – Vishu Kolekar
    Mar 28 at 7:52











  • Did you tried to fetch URL from console? do image exist on s3 as per path?

    – Vishal
    Mar 28 at 11:00











  • sorry ... not try yet

    – Vishu Kolekar
    Mar 28 at 15:36











  • please check and acknowledge here :)

    – Vishal
    Mar 29 at 6:19
















which URL you are getting can you please share?

– Vishal
Mar 26 at 7:18





which URL you are getting can you please share?

– Vishal
Mar 26 at 7:18













xxxxxx.s3.amazonaws.com/uploaded_data/sales_items/421036/…

– Vishu Kolekar
Mar 28 at 7:52





xxxxxx.s3.amazonaws.com/uploaded_data/sales_items/421036/…

– Vishu Kolekar
Mar 28 at 7:52













Did you tried to fetch URL from console? do image exist on s3 as per path?

– Vishal
Mar 28 at 11:00





Did you tried to fetch URL from console? do image exist on s3 as per path?

– Vishal
Mar 28 at 11:00













sorry ... not try yet

– Vishu Kolekar
Mar 28 at 15:36





sorry ... not try yet

– Vishu Kolekar
Mar 28 at 15:36













please check and acknowledge here :)

– Vishal
Mar 29 at 6:19





please check and acknowledge here :)

– Vishal
Mar 29 at 6:19












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337605%2fi-can-upload-images-but-cannot-view-them-paperclip-s3%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.








Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.




















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337605%2fi-can-upload-images-but-cannot-view-them-paperclip-s3%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript