fixing image location for rails.