Warning with PNG image assets #51

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

Comments

Projects
None yet
2 participants

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?

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