I have an application which stores and retrieves images from Amazons
<div class="col-md-6 col-md-offset-3 shopHeader">
<img class="img-responsive center-block" widith="150px" height="100px" src=<%= @shop.image.url(:original, timestamp:false) %>>
Mixed Content: The page at 'https://cardapioalfenas.com.br/' was loaded over HTTPS, but requested an insecure image 'http://cardapiopsbrasil.s3.amazonaws.com/original/shop/221'. This content should also be served over HTTPS.
theres an option for
has_attached_file in your model that specifies the protocol to use
# app/models/shop.rb has_attached_file :image, storage: :s3, s3_protocol: :https #specify the protocol as https
the documentation explains the various options