winton / stasis

Static sites made powerful
http://stasis.me
MIT License
679 stars 56 forks source link

Warning with PNG image assets #51

Open bzerangue opened 12 years ago

bzerangue commented 12 years ago

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 commented 9 years ago

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