ncuesta / dropzonejs-rails

Spice your Rails apps with some Dropzone sugar!
http://rubygems.org/gems/dropzonejs-rails
MIT License
311 stars 56 forks source link

background-image not working correctly in css #12

Closed alaarab closed 10 years ago

alaarab commented 10 years ago

.dropzone .dz-default.dz-message { background-image: "/assets/dropzone/spritemap-82e181cf9db0563178952adb97cbad6c.png"; }

is generated in my css/javascript. This is giving me an invalid property value, and anything that uses the spritemap does not show.

I can fix it in the inspector but don't know how to fix it so the images show by changing it to

background-image: url("../dropzone/spritemap.png");

Does anyone know why this is happening?

alaarab commented 10 years ago

For now I will just manually put dropzone.css in my assets/stylesheets

ncuesta commented 10 years ago

I haven't been able to reproduce this issue. Please ping me if you are still getting this.

BlazPerus commented 7 years ago

I still have problems with this one.. Doesn't work in production straight out of the box, but works localy.

ncuesta commented 7 years ago

Maybe it's missing from Rails.application.config.assets.precompile?

Are you using Rails? If so, which version?