Glad to help. :)
What version are you using?
It should be the same for images.
http://www.sfml-dev.org/logo/sfml-big.png (http://www.sfml-dev.org/logo/sfml-big.png)
Try this in 2.0
int main()
{
sf::RenderWindow window(sf::VideoMode(300, 200), "SFML works!");
// Create a graphical text to display
sf::Texture texture;
if (!texture.loadFromFile("sfml-big.png"))
return EXIT_FAILURE;
sf::Sprite sprite(texture);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(sprite);
window.display();
}
return EXIT_SUCCESS;
}