fixed compiling of modules
added image function without scale