A friend of mine (Alexis Mejia “the master”) helped me to find the solution, before you have to include this
require_once(‘/../../../wp-load.php’);
$file = “img.jpg”
$path = TEMPLATEPATH.”/../admin/images/”.$file;
obviously everything depends on your project structure!
SOLVED!