chriseppstein/compass — Issue #660: replace-text() image not found
Author: ijy
Created: 2011-12-31 18:42:28+00:00
State: open

#The Problem

When using the replace-text() mixin:

@include replace-text("logo");

the image is not being found with the message:

WARNING: 'logo' was not found (or cannot be read) in /Users/user/path/to/templates/assets/images

# The Test

When analysing with Firebug I can see the location of the image is correct: http://cl.ly/CyxW but the extension is not being added. As a test if I write the background rule out manually pointing to the same location with the image extension (.png) added the image is found and displayed correctly. The only difference when looking in firebug is the image extension: http://cl.ly/Cyf4

I have also confirmed that the image itself is readable.

# The Setup

I'm using this as a plain standalone project. No Rails/Ruby integration.

* **Ruby:** ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]
* **Sass :** Sass 3.1.10 (Brainy Betty)
* **Compass: ** Compass 0.11.5 (Antares)