On Friday, January 8, 2016 at 4:15:15 AM UTC, Ruby-Forum.com User wrote:
>
> I tried changing the image tag, no luck with that. I reviewed other post
> here and tried those solutions none work. I also use amazon cloudfront.
>
>
Assuming your image is in app/assets/images, read up on the asset pipeline
- the url for your image isn't zoom1028.jpg in production, as rails will be
adding a fingerprint to the filename. If you don't want to deal with the
asset pipeline you can also add it to public/. In the first instances I
would get everything working without bringing cloudfron into the mix.
Fred
> <div id="signup" class="container-fluid">
> </div>
>
> signup{
> text-align: center;
> background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)),
> url("zoom1028.jpg");
> }
>
> --
> Posted via http://www.ruby-forum.com/.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/4ae5d0fb-f821-46a3-b887-c23756e0d65e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.