Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning with PNG image assets #51

Open
bzerangue opened this issue Apr 2, 2012 · 1 comment
Open

Warning with PNG image assets #51

bzerangue opened this issue Apr 2, 2012 · 1 comment

Comments

@bzerangue
Copy link

When I run stasis -d 3000 on my stasis site directory, I'm getting the following warnings on some existing images in my project...

WARNING: 'input-bg.png' was not found (or cannot be read) in /Users/username/Sites/ruby-projects/stasis-test/public/workspace/images/misc

But, those images do exist. It seems to only have a warning on PNG images, not JPG or GIF. Any thoughts?

@hughbien
Copy link
Contributor

I think this may be a Compass issue. I got similar warning messages while using the image-url helper or while spriting. Setting Compass's image directory fixed it for me:

# in controller.rb
require 'compass'
Compass.configuration do |config|
  config.images_dir = '../images'
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants